[ros-users] Gazebo_plugins mod to have diffdrive publishing odom tf as a child

Ricardo Tellez ricardo.tellez at pal-robotics.com
Tue May 17 10:12:47 UTC 2011


Hi everyone,
I am working with the simulation of my robot in ROS-Gazebo. The situation is
that I need different sources of localization, so I made them all childs of
'base_footprint' (as can be seen in the picture attached, two localization
sources are depicted, 'odom' and 'los_pos' as well as 'base_link' where the
rest of the robot tf is described).

The problem is that, in order to achieve that situation, I had to modify the
gazebo_plugin diffdrive, indicating the tf transform to be a child of the
base_footprint, instead of been the parent of 'base_link'.

Now, I don't know if modifying the diffdrive plugin code is the best way of
doing it, since it means that I will have to keep this mod in mind everytime
there is an update from Willow Garage of the diffdrive code.

My question is, is there a better way to change the tf transform of the
odometry from parent to child, without having to go to the code and modify
it?.

In case there is no other way, as I suspect from what I have seen in other
related messages posted in the list, is there a plan about changing the
diffdrive plugin to a version where the odom is a child instead of a parent
of base_footprint.

In case required I can provide the patch for this mod.

Best

-- 
-- 
__________________________
Ricardo A. Tellez

AI Research Engineer
Pal Robotics

phone:  +34 93 414 53 47
email: ricardo.tellez at pal-robotics.com
web: http://www.pal-robotics.com
__________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20110517/b1046569/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tf.png
Type: image/png
Size: 94131 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20110517/b1046569/attachment-0003.png>


More information about the ros-users mailing list