Gazebo | Ignition | Community
Ask Your Question

SetForce() method Joint vs Link

asked 2017-06-28 14:29:33 -0600

AlexandreB gravatar image

updated 2017-07-20 16:37:51 -0600

I am trying to clarify the behaviour of joint::SetForce, as I understand the description, rather acts like the link::AddForce? As I understand it, link::SetForce will overwrite the force applied to the link regardless of physics. link::addforce add a force to what is already applied to the model. How does joint::setforce behaves?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-06-28 20:19:51 -0600

alpha gravatar image

as for joint, SetForce() used to set a torque to the joint.

But in fact, torque is the result of force, so set a torque to the joint is equal to add extra forces on the links of the joint.

edit flag offensive delete link more


Sorry I have referring to something else. I've edited my question to be more clear

AlexandreB gravatar imageAlexandreB ( 2017-07-20 16:38:24 -0600 )edit

Question Tools

1 follower


Asked: 2017-06-28 14:29:33 -0600

Seen: 678 times

Last updated: Jul 20 '17