Home | Tutorials | Wiki | Issues
Ask Your Question
0

What are the units for Joint::SetVelocity

asked 2014-05-05 00:17:44 -0500

smcardle gravatar image

updated 2014-05-05 16:26:54 -0500

Hi There,

As i understand it Gazebo uses SI units for everything but im confused as to what exactly the unit is for the number given to Joint::SetVelocity.

Im making a robot that has a single steer/drive wheel and im taking inspiration from VehiclePlugin to write my own plugin to control the robot.

What i don't understand is to get my robot to move at 2m/s i set the joint velocity to (2/wheelRadius). as far as i can tell that has units of just second?

I guess i don't really understand what the velocity of the revolute joint is.

If anyone is able to help me out or point me to the right documentation (I can only find the API reference) that would be much appreciated.

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-05-05 19:13:04 -0500

scpeters gravatar image

SetVelocity should return SI units (rad/s for revolute joints, m/s for prismatic joints, etc.).

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-05-05 00:17:44 -0500

Seen: 1,554 times

Last updated: May 05 '14