Gazebo | Ignition | Community
Ask Your Question

How does gazebo handle damping in Joint::SetForce ?

asked 2014-12-05 16:39:25 -0500

Eduardo Albuquerque gravatar image

updated 2014-12-05 16:39:46 -0500

I'm using gazebo's API to apply force to a joint with a non-null damping coeficient (Defined in the SDF). Is it necessary to include the damping effect when I call the method SetForce() ?

e.g joint -> SetForce ( 0, effort - joint->GetDamping(0) * joint->GetVelocity(0))

Or does Gazebo handle the damping automatically and I don't have to include it?

e.g joint -> SetForce ( 0, effort )


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-05 20:09:26 -0500

scpeters gravatar image

No, you don't have to include the damping effect when you call SetForce. You shouldn't at least. If it's not working like this then submit a bug report and we'll fix it.


edit flag offensive delete link more

Question Tools


Asked: 2014-12-05 16:39:25 -0500

Seen: 1,133 times

Last updated: Dec 05 '14