feat(controls): Compass heading node — magnetometer fusion for absolute yaw #235

Closed
opened 2026-03-02 12:09:39 -05:00 by sl-jetson · 0 comments
Collaborator

Single ROS2 node. Subscribe to /saltybot/imu (IMU with magnetometer). Extract magnetic heading, apply declination correction (configurable, default 1.5deg for France). Publish /saltybot/heading (Float64 in degrees 0-360) and /saltybot/heading_quaternion at 10Hz. Tilt-compensated using accelerometer. Include unit tests.

Single ROS2 node. Subscribe to /saltybot/imu (IMU with magnetometer). Extract magnetic heading, apply declination correction (configurable, default 1.5deg for France). Publish /saltybot/heading (Float64 in degrees 0-360) and /saltybot/heading_quaternion at 10Hz. Tilt-compensated using accelerometer. Include unit tests.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seb/saltylab-firmware#235
No description provided.