HomeGyro Odometer
Core Modules

Gyro Odometer

Gyro Odometer

Gyro Odometer fuses IMU angular velocity (high-precision rotation measurement) with wheel odometry linear velocity (high-precision translation measurement) into a complete Twist estimate, providing high-frequency (typically 100 Hz) motion input for the EKF.

Fusion Logic
text
twist.linear.x  = v_x (from wheel odometry)
twist.angular.z = w_z (from IMU, bias-corrected)

Covariance matrix:
cov[0][0] = velocity_stddev_xx²
cov[5][5] = angular_velocity_stddev_zz²

ROS 2 Interfaces

DirectionTopicMessage TypeDescription
Subimusensor_msgs/ImuIMU data
Subvehicle_twistTwistWithCovarianceStampedWheel speed
Pubtwist_with_covarianceTwistWithCovarianceStampedFused Twist
Tip

Port scenario note: Increase velocity_stddev_xx for tire slippage on wet surfaces; increase angular_velocity_stddev_zz for diesel engine vibration impact on IMU.