Home | Tutorials | Wiki | Issues
Ask Your Question

Youbot Gazebo Torque Control

asked 2018-02-06 21:36:48 -0600

lakehanne gravatar image

updated 2018-02-06 21:37:09 -0600

Hi there,

I am using youbot's mobile robot in gazebo to test a dynamic programming algorithm that I wrote up.

I am sending torques to each of the four wheels via the service call /gazebo/apply_joint_effort. For a force as little as 40 Newtons, I found that instead of the youbot driving forward/backward/sideways, it keeps somersaulting about the z-axis (see video at this link).

I am taken aback by this. Has anyone worked with the youbot urdf before in siumulation using torque control that had a similar experience to mine?

If so, how did you fix this problem?

Looking forward to your answers.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-02-08 00:17:49 -0600

lakehanne gravatar image

It seems the torque we give to the robot via the /gazebo/apply_joint_effort only causes an upward/downward acceleration of the whole robot body. Instead of giving it torques, we can give it force from gave it force though the wrench structure available in /gazebo/apply_body_wrench and set the torque fields to 0.

This would cause the robot to move in the x-y plane only.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-02-06 21:36:48 -0600

Seen: 39 times

Last updated: Feb 08