Ask Your Question
0

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

asked 2020-02-25 22:45:55 -0500

harrynick gravatar image

updated 2020-02-25 22:46:20 -0500

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-02-26 04:52:43 -0500

Delb gravatar image

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.

edit flag offensive delete link more

Comments

1

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.

gvdhoorn gravatar image gvdhoorn  ( 2020-02-26 06:40:23 -0500 )edit

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

harrynick gravatar image harrynick  ( 2020-02-28 00:15:55 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-02-25 22:45:55 -0500

Seen: 43 times

Last updated: Feb 26