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

where do I get a gazebo diff drive plugin?

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

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

So I was previously using the erratic diff drive plugin here: http://ua-ros-pkg.googlecode.com/svn/...

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
3

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

arebgun gravatar image

Jeff,

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

http://ua-ros-pkg.googlecode.com/svn/stacks/erratic_robot/trunk/erratic_gazebo_plugins/

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

Comments

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 -0600 )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 -0600 )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 -0600 )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 -0600 )edit
that is misleading, I've ticketed it (https://code.ros.org/trac/ros-pkg/ticket/4967). Thanks.
hsu gravatar image hsu  ( 2011-05-23 11:41:00 -0600 )edit

Question Tools

3 followers

Stats

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

Seen: 2,231 times

Last updated: Feb 28 '11