Temporary lock multiple parts relatively to a robot body #4327
ShuffleWire
announced in
Q&A
Replies: 1 comment 2 replies
-
You could also simply have a special PROTO of the arm with a boolean "physics" parameter. If that parameter is TRUE, it would be like a normal arm. If it is FALSE, it would generate a plain solid node with no joints inside instead of a multi-join structure. Changing this parameter from TRUE to FALSE from a supervisor process would remove the physics of your robot by regenerating the PROTO. Changing this parameter from FALSE to TRUE would re-enable the physics. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a mobile robot with a complex arm, and the simulation of the set of joint of full arm cost a lot in term of performance. Mainly during phases during which the robot drive itself from two location, during which the arm don't move relatively to the main body of the robot.
It would be nice if we could temporary "disable" the ODE computation on (the joint between) those part to save time, and reactivate them only when the arm actually move. The idea is to kinda transform a complex arm into an object that behave like a simple solid (with updated CoM, inertia...)
I do think I'm able to achieve it with a lot of Connector, that, as far as my experience with them goes, disable constraints between the connected part. But that would make me use a lot of connectors that would be very artificial and not pretty...
Is there any possibility that I could have missed to achieve that ?
Beta Was this translation helpful? Give feedback.
All reactions