Skip to content

[Garden] Fix issue #563 and inertias#566

Merged
caguero merged 1 commit into
gazebosimfrom
caguero/issue_563
Jan 5, 2023
Merged

[Garden] Fix issue #563 and inertias#566
caguero merged 1 commit into
gazebosimfrom
caguero/issue_563

Conversation

@caguero
Copy link
Copy Markdown
Collaborator

@caguero caguero commented Jan 4, 2023

Fix issue #563.

The problem was in the wamv_pinger.xacro. We were creating a visual with an offset equals to the position of the pinger in world coordinates. This is wrong as the visual (if any) should represent the acoustic sensor and it should be inside the wam-v.

I removed the visual and its collision as it's not very useful.

Bonus: I added some missing inertias, otherwise the default inertia values were incorrect. The inertias look good now:

Screenshot from 2023-01-04 17-20-04

How to test it?

  • Recheck the instructions described in [Garden] Port AcousticPinger plugin #531 to confirm that the pinger is still working correctly.
  • Click on the WAM-V. Verify that the bounding box is now correct.
  • Right click and select View->Inertia to confirm that the inertias are reasonable. Note that the inertia visualization is very slow the first time that you request it. This is a Gazebo issue.

Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
@caguero caguero requested a review from M1chaelM January 4, 2023 16:29
@caguero caguero changed the title Fix issue #563 and inertias [Garden] Fix issue #563 and inertias Jan 4, 2023
Copy link
Copy Markdown
Collaborator

@M1chaelM M1chaelM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • The bounding box looks good.
  • Inertia looks good (and makes a big difference in the behavior of the wam-v!).
  • The pinger appears to still be working as expected

@caguero caguero merged commit c2a4767 into gazebosim Jan 5, 2023
@caguero caguero deleted the caguero/issue_563 branch January 5, 2023 10:43
exordor pushed a commit to exordor/vrx_tunnel that referenced this pull request Oct 26, 2025
Signed-off-by: Carlos Agüero <caguero@osrfoundation.org>
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