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

How to tell the robot to go to a location on the map

asked 2017-08-08 12:20:29 -0600

rozoalex gravatar image

http://wiki.ros.org/navigation/Tutori...

This tutorial shows how to tell the robot to move forward. However, if I want to let this robot move to a certain coordinate on the map what should I do? I tried to minus the target location (hardcore it) with the current location(got from /odom) and send this to navigation stack, but it for reason unknown to me does work well.

Thanks!

edit retag flag offensive close merge delete

Comments

This would be easier to answer if you posted your attempted solution (code).

jayess gravatar image jayess  ( 2017-08-08 14:49:55 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2017-08-09 00:40:16 -0600

marine0131 gravatar image

I think sendingSimpleGoals would help, you can add your goals with certain coordiante and send the goal after one is complete

edit flag offensive delete link more
0

answered 2017-08-08 13:55:22 -0600

Timo1804 gravatar image

Couldn't you send the certain coordinates of the map to move_base with changing the goal.target_pose.header.frame_id from "base_link" to "map" ?

edit flag offensive delete link more

Question Tools

Stats

Asked: 2017-08-08 12:20:29 -0600

Seen: 2,569 times

Last updated: Aug 09 '17