Gazebo | Ignition | Community
Ask Your Question

What unit is "SetForce" on a revolute joint?

asked 2018-08-06 16:07:20 -0600

JakobWelner gravatar image

I have not been able to determine the unit used for applying force to a joint with SetForce(). I assume that its argument is Torque [Nm] but I didn't find it in the documentation and must admit that the name of the method confuses me a bit?

Is there a reason why there is no SetTorque() method on joints?

Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-08-07 08:43:46 -0600

updated 2018-08-07 09:15:08 -0600

From experiments, I can confirm that, for rotational joints, SetForce()'s effort argument is in N/m - at least with the ODE backend.

As to why it's SetForce() instead of SetTorque(), the devs wanted to cover both rotational and prismatic joints.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-08-06 16:07:20 -0600

Seen: 379 times

Last updated: Aug 07 '18