Gazebo | Ignition | Community
Ask Your Question

Robot twitches in simulation

asked 2013-10-07 12:00:55 -0500

mortonjt gravatar image

updated 2013-12-14 14:26:03 -0500

I'm been trying to simulate differential drive on my robot and I'm having trouble making the robot move smoothly. I've put in all of the friction coefficients and tried to apply torque to the wheels, but my robot just twitches. If I apply commands to one wheel, the robot will turn in a 360, but it'll take several minutes to do so.

I specified the motors as follows

  <transmission name="wheel_left_tran">
    <joint name="to_wheel_left"/>
    <actuator name="motor1">

  <transmission name="wheel_right_tran">
    <joint name="to_wheel_right"/>
    <actuator name="motor2">

I haven't built the differiential drive plugin, so I'm using the following plugin to validate the physical characteristic of my robot

    <plugin name="gazebo_ros_control" filename="">

Has anyone seen this problem before? Any thoughts would be greatly appreciated!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-10-10 11:11:54 -0500

nkoenig gravatar image

Your inertia values seem strange, everything has a mass of 1Kg and 1 for each of the diagonal elements in inertia matrix.

There are also many links that have visuals, inertia, but no collision. That may be what you want, but it's not very common.

edit flag offensive delete link more


Okay. That makes makes complete sense. I modelled the inertia matrix for the wheels as a cylinders and it seems to have fixed the motion problem. Thank you so much for taking the time to look at my code and help me fix this problem!

mortonjt gravatar imagemortonjt ( 2013-10-10 16:54:07 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-10-07 12:00:55 -0500

Seen: 479 times

Last updated: Dec 14 '13