Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

how to stop the joint motion( clear the force)

I have set a force on the shoulder of simple_arm and it seems that It is going to move forever until I stop it somehow.

How can I clear/stop the force that I have set by Joint::SetForce() on a joint? In general how can we stop the motion of a model in programming. Is there any function to stop the model?