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

Location of robot

asked 2013-12-05 05:12:56 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Sorry for the noob question but im kind of lost and confused. When i have a robot, pioneer 3dx, and im using navigation and gmapping to make it navigate a environment, when i want to know where am i or my position and orientation how can i accomplish this? I am confused to which topic gives me this information, and also how can i obtain that information. I really appreciate some help thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-12-05 23:03:25 -0600

dornhege gravatar image

If the robot is using a standard setup, the robot's location is defined to some/multiple frames. It's position in the map is usually given by the /map -> /base_link tf transform.

edit flag offensive delete link more

Comments

@dornhege How can i subscribe to this topic??

ctguell gravatar image ctguell  ( 2013-12-12 04:05:15 -0600 )edit

Use a TFListener. Check out the tf tutorials for an example.

dornhege gravatar image dornhege  ( 2013-12-12 22:47:48 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2013-12-05 05:12:56 -0600

Seen: 282 times

Last updated: Dec 05 '13