Robotics StackExchange | Archived questions

How to make a turtlebot move to a position without mapping/ How we can convert x,y coordinates values to velocity values?

If it is possible to convert x,y values to velocity value then it will be easy to move robot inside gazebo .

Asked by harrynick on 2020-02-25 23:45:55 UTC

Comments

Answers

Why do you want to use coordinates if you don't have a map ?

To move a robot you just need to send velocity commands to it. Since you are using a turtlebot you should have a topic /cmd_vel available. Publishing to this topic will allow you to control the robot.

Asked by Delb on 2020-02-26 05:52:43 UTC

Comments

Why do you want to use coordinates if you don't have a map ?

if the OP feels looking at relative displacement suffices, then using Odom and closing the loop with a position controller using the Twist interface would be an OK approach.

There are many topics about this already on this site though. @harrynick: I'd recommend you search using Google. Append site:answers.ros.org to your query.

Asked by gvdhoorn on 2020-02-26 07:40:23 UTC

Actually my scenario is like this, i have tracked the path followed by human in an environment which is basically in (x,y) co-ordinate form. I want my robot to move in this path, for that i have to convert this (x,y) co-ordinates to cmd_vel values. How it will be possible?any ideas??

Asked by harrynick on 2020-02-28 01:15:55 UTC