Skip to content

Fixed imu joint missing (for jazzy) #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

Jabee7531
Copy link
Contributor

Hello!

While testing the EKF with the simulation, I noticed that the IMU sensor data was behaving abnormally. Upon closer inspection, I found that in Gazebo, the IMU was falling infinitely.

스크린샷 2025-05-27 오전 12 27 44

After checking the model, I discovered that the imu_joint was missing in the gz_waffle.sdf.xacro file.

To fix this, I added a fixed joint between base_link and imu_link:

      <joint name="imu_joint" type="fixed">
        <parent>base_link</parent>
        <child>imu_link</child>
        <pose>0.0 0 0.068 0 0 0</pose>
      </joint>

After applying this fix, the IMU remains correctly attached to the robot, and the EKF output is stable.

스크린샷 2025-05-27 오후 8 48 25

Please let me know if any adjustments are needed. Thank you!

Signed-off-by: Jabee7531 <jabee7531@gmail.com>
@SteveMacenski
Copy link
Member

@Jabee7531 can you open this for main too and I'll merge both?

@Jabee7531 Jabee7531 closed this May 28, 2025
@Jabee7531 Jabee7531 deleted the fix/imu-joint-missing branch May 28, 2025 15:18
@Jabee7531
Copy link
Contributor Author

I'm very sorry — I mistakenly deleted the source branch for this PR, which caused it to close.

I'll reapply the fix and submit a new PR by tomorrow.
Thank you for your patience and understanding.

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