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

Frame's definition (/odom and /map)

asked 2012-09-25 20:38:06 -0500

moyashi gravatar image

updated 2012-09-25 20:38:51 -0500

Hi, I cannot understand the difference between the frame "/odom" and "/map".
I've already read here -> http://ros.org/reps/rep-0105.html#map
however, I couldn't understand.
It seems like the same frame.
Could you explain the difference?

And one more thing.
When I published a transform from "/map" to "/base_link" and launched rviz,
"/map" was shown in a strange position(very far from base_link's origin).
If possible, I'd like to set the position and orientation to a Grid Marker's corner.
How is the position defined?
I don't need to mind it?

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
9

answered 2012-09-25 22:28:55 -0500

michikarg gravatar image

The /odom frame is the place where your robot is initialized, while the /map frame is the origin of your map. Those are usually NOT the same (except your robot is standing at the exact origin of your map when beeing initialized).

edit flag offensive delete link more

Comments

1

See REP 105 for the details: http://www.ros.org/reps/rep-0105.html

joq gravatar image joq  ( 2012-09-26 06:06:29 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2012-09-25 20:38:06 -0500

Seen: 9,261 times

Last updated: Sep 25 '12