Robotics StackExchange | Archived questions

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

Hi! Thank you for taking time to watch.

I found some similar answer on website:

https://answers.ros.org/question/227588/how-do-i-publish-the-message-to-the-rostopic-turtlesimpose-so-that-the-turtle-goes-to-the-origin/1

$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?

Asked by Liuche on 2017-11-01 09:05:11 UTC

Comments

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

Asked by l4ncelot on 2017-11-03 03:49:02 UTC

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

Asked by Liuche on 2017-11-04 23:18:30 UTC

Answers