ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

where do I get a gazebo diff drive plugin?

asked 2011-02-28 11:04:22 -0500

updated 2011-04-26 06:28:08 -0500

So I was previously using the erratic diff drive plugin here:

but it looks like it moved. bummer.

So I see that there seems to be code that does something similar in gazebo_plugins/src/gazebo_ros_diffdrive.cpp

however, it doesn't get built as a .so for some reason, instead it's a binary in /bin that doesn't seem to do anything. Any idea how to get a basic diff drive robot running in gazebo?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-02-28 13:45:15 -0500

arebgun gravatar image


You can still get the plug-in from ua-ros-pkg repository, it moved here:

The whole erratic_robot stack is now available for download from your Ubuntu package manager (if you use Ubuntu that is).

edit flag offensive delete link more


Thanks! This will get me running again. Still, I wonder what's up with the diffdrive binary in gazebo_plungins...
JeffRousseau gravatar image JeffRousseau  ( 2011-02-28 22:27:53 -0500 )edit
Diffdrive plugin that comes with gazebo_plugins package is written as a standalone ROS node, you have to launch it the way you launch any other regular ROS node, e.g. add this to your launch file: <node name="diffdrive" pkg="gazebo_plugins" type="gazebo_ros_diffdrive" respawn="true" output="screen"/>
arebgun gravatar image arebgun  ( 2011-03-01 00:13:33 -0500 )edit
Is the binary in gazebo_plugins the recommended way of implementing diff drive in a new robot? I had previously used the ua-ros-pkg one because it was the first thing I found...
JeffRousseau gravatar image JeffRousseau  ( 2011-03-01 00:32:32 -0500 )edit
I am not exactly sure why it's implemented as a node and not a proper gazebo plugin that you add to your urdf file, that's what our implementation in ua-ros-pkg is. As far as I remember we had some trouble deleting and respawning robot on the fly in simulation, so we implemented diffdrive as a proper gazebo plugin. I think they both should work equally well for you.
arebgun gravatar image arebgun  ( 2011-03-01 00:47:05 -0500 )edit
that is misleading, I've ticketed it ( Thanks.
hsu gravatar image hsu  ( 2011-05-23 11:41:00 -0500 )edit

Question Tools



Asked: 2011-02-28 11:04:22 -0500

Seen: 2,185 times

Last updated: Feb 28 '11