How do I publish the message to /odom to change the position?

asked 2017-11-01 09:05:11 -0500

Liuche gravatar image

updated 2017-11-02 10:45:15 -0500

Hi! Thank you for taking time to watch.

I found some similar answer on website:

$rosservice call /turtle1/teleport_absolute “x: 0.0 y: 0.0 theta: 0.0”

It can send x,y to the turtle and change the position

So i want to do this on turtlebot , but i can’t find the rosservice about /odom

Is there have a way to do the same on Turtlebot2?

edit retag flag offensive close merge delete


Why don't you write your own odometry publisher using nav_msgs/Odometry message documented here?

l4ncelot gravatar image l4ncelot  ( 2017-11-03 03:49:02 -0500 )edit

Ok ~~!! I'm a beginner but I'll try it Thank you!

Liuche gravatar image Liuche  ( 2017-11-04 23:18:30 -0500 )edit