第 14.7 節

Coordinate System and Topic Relationship

0瀏覽次數0訪問次數--跳出率--平均停留

The odom coordinate frame is not fixed; its origin is the robot's initial position.

The base_link coordinate system is attached to the robot's body, fixed at its center (such as the chassis). As the robot moves, the /odom topic publishes the robot's motion data, and the base_link coordinate system moves relative to the odom coordinate system.

The coordinate frames like laser_link and imu_link are static relative to base_link, so when base_link moves, all sub-coordinate frames move along with it.

The odom coordinate system estimates the robot's position relative to its starting point based on feedback from the robot's motor encoders or odometry, and it typically drifts over time.

The map coordinate system is the robot's starting position estimated by algorithms using sensors such as LiDAR.

However, since a tree-structured TF is recommended, we typically set the map coordinate frame as the root coordinate frame. As a result, map remains stationary in rviz2, while odom serves as a child coordinate frame under map. (You can listen to Teacher Zhao's ROS1 course — this is explained very well there.)

音乐页