Gazebo | Ignition | Community
Ask Your Question
0

SetForce() method Joint vs Link

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

AlexandreB gravatar image

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

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
0

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

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

Comments

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 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 691 times

Last updated: Jul 20 '17