Skip to content

1/2 Use odom topic with velocity - #3

Open
vincenttumminello wants to merge 6 commits into
mainfrom
tumminello/use-odom-topic-with-velocity
Open

vincenttumminello wants to merge 6 commits into
mainfrom
tumminello/use-odom-topic-with-velocity

Conversation

@vincenttumminello

Copy link
Copy Markdown
Collaborator

Needed for SRIF localisation. Tested with tumminello/nusim-localisation-test unsure if it breaks anything else.

vincenttumminello and others added 6 commits September 12, 2026 16:49
The real K1 publishes nav_msgs/Odometry on rt/odom (kTopicRosOdometer,
1.7.0 firmware): rt/odometer_state's planar pose plus the velocity,
which NUbots_K1 now reads for Sensors.vTw. Publish it from the base
state at the LowState cadence, following the ROS convention since
Booster does not document the frames: pose in "odom", twist in the body
frame "base_link".

Adds the nav_msgs, std_msgs and builtin_interfaces types and the
geometry_msgs twist and covariance types, with every package's msg/ on
the fastddsgen include path so an .idl can include across packages;
the existing generated code is unchanged. The synthetic state source
now reports the velocity of its commanded walk, and the SDK contract
test checks rt/odom.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014yZBRrPMFAxdS4A93XWANS
@vincenttumminello vincenttumminello changed the title Use odom topic with velocity 1/2 Use odom topic with velocity Sep 13, 2026
@jpptm

jpptm commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

import the formatter from nubots first, make a different pr for that then run it for this

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.

2 participants