ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

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

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

rozoalex gravatar image

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.


edit retag flag offensive close merge delete


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

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

2 Answers

Sort by ยป oldest newest most voted

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

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

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

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

Your Answer

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

Add Answer

Question Tools


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

Seen: 2,167 times

Last updated: Aug 09 '17