Skip to content

Drop the leading slashes from the rover odometry frame names (fixes #45) - #49

Open
asimonov wants to merge 1 commit into
space-ros:mainfrom
asimonov:odometry_frame_names
Open

Drop the leading slashes from the rover odometry frame names (fixes #45)#49
asimonov wants to merge 1 commit into
space-ros:mainfrom
asimonov:odometry_frame_names

Conversation

@asimonov

@asimonov asimonov commented Sep 4, 2026

Copy link
Copy Markdown
Member

Fixes #45.

/odomodom and /base_footprintbase_footprint in the odometry publisher configuration of the lunar pole and curiosity models. ROS 2 tf2 frame ids must not start with a slash; the demos' odom_tf_publisher nodes copy the names from the odometry message into /tf, so the transform went out as /odom/base_footprint and only resolved because tf2 strips the slashes on the way in.

Nothing consumes the slashed names on purpose: the demos' odom_tf_publisher nodes copy whatever the message carries, and the demo READMEs refer to odom and base_footprint. The Jazzy curiosity_rover and nav2_demo demos ship their own copy of the curiosity model in the demos repository, so they are unaffected either way.

Verified on the lunar pole rover (Harmonic, Jazzy demo, GUI run): the odometry message and /tf carry odombase_footprint, and ros2 run tf2_ros tf2_echo odom base_link resolves without the earlier warning.

…os#45).

ROS 2 tf2 frame ids must not start with a slash. The demos' odom_tf_publisher
nodes copy the frame names from the odometry message into /tf, so the transform
went out as /odom -> /base_footprint and only resolved because tf2 strips the
slashes on the way in. Both the lunar pole and curiosity models are changed;
nothing consumes the slashed names on purpose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rover odometry frame names start with a slash (/odom, /base_footprint)

1 participant