Robotics StackExchange | Archived questions

SetForce() method Joint vs Link

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?

Asked by AlexandreB on 2017-06-28 14:29:33 UTC

Comments

Answers

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.

Asked by alpha on 2017-06-28 20:19:51 UTC

Comments

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

Asked by AlexandreB on 2017-07-20 16:38:24 UTC