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

Move base to absolute coordinates?

asked 2013-09-24 05:44:44 -0500

Hendrik Wiese gravatar image

Hi again,

I'm playing around with actionlib and smach trying to make my robot move to four specific absolute points on the map. I'm using MoveBaseGoal to drive the robot, however, it seems to accept only cordinates (i.e. the target pose) relative to the current pose (/base_link frame).

How do I make my robot move to an absolute point on the map (relative to the /map frame that is) without having to translate it from /map to /base_link everytime?

Thank you!

Cheers, Hendrik

edit retag flag offensive close merge delete


Not /map but /odom which in this case is basically the same as /map (statically the same position/orientation). I'll try using /map instead.

Hendrik Wiese gravatar image Hendrik Wiese  ( 2013-09-24 06:34:25 -0500 )edit

Oh, wait, you said the target_pose... nope, that's set to /base_link. I'll try that with /map as well. Totally overlooked that... //edit: works! Thanks a lot! Sometimes it's the smallest things that have greatest influence...

Hendrik Wiese gravatar image Hendrik Wiese  ( 2013-09-24 06:35:42 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-09-24 06:11:58 -0500

dornhege gravatar image

Are you setting the frame_id of the requested target pose to /map?

edit flag offensive delete link more


I didn't... my bad!

Hendrik Wiese gravatar image Hendrik Wiese  ( 2013-09-25 06:02:16 -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


Asked: 2013-09-24 05:44:44 -0500

Seen: 1,420 times

Last updated: Sep 24 '13