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

Replacing /odom topic for turtlebot

asked 2014-10-06 01:52:30 -0500

nckswt gravatar image

I'm using a vicon system rather than a gyro and encoders to track my Turtlebot's pose. Only problem is, I'm not sure how to modify the /odom topic to take only my vicon data (it currently takes both the vicon data output from my custom node as well as the encoder/gyro data from a turtlebot_navigation node).

Does anyone have experience with this? I'm not sure how to replace the /odom topic properly!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-10-07 04:03:17 -0500

tfoote gravatar image

You will want to copy and modify the appropriate turtlebot_navigation launch files and remap the /odom topic of the standard publisher to an unused or alternative topic such as /odom_unused so that it won't conflict with your other odom measurements.

Note, there are probably cleaner ways to build the integration than publishing odom from the vicon system, such as replacing the localization instead of the odometry.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-10-06 01:52:30 -0500

Seen: 625 times

Last updated: Oct 07 '14