Open maxpolzin opened 1 year ago
That was a tough one. When the orientation_reference_frame tag is not provided, see https://github.com/art-e-fact/navigation2_ignition_gazebo_example/commit/7f4121bae5b37d1c4e53510422463a24ca8aa5ad, the simulated IMU returns measurements relative to its first measurement.
When the IMU is rotated, e.g. 90 degrees yawed, the robot_localization is not working. When commanded to move forward, the robot_localization output does indicate that the robot is moving sideways.
Screencast from 09-04-2023 03:34:54 PM.webm