ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The map
frame is special. It is a frame which should be constant in time regardless of sensors, fixed to the world. Frame T
which has a transform map->T
should be things which are equally fixed to the world. Off the top of my head, the starting location of the robot (ie the odom
frame) is one such thing. Another might be a navigation goal.
A detected object which sources information from the camera is not one such frame. It is clearly reliant on where the camera is, and so it should be specified in the camera frame. Any node which needs the object can get the position in any frame which has a connection to the object anyway, thanks to the power of the transform tree.
You can read more about the frame convention here https://www.ros.org/reps/rep-0105.html#map