-
Notifications
You must be signed in to change notification settings - Fork 295
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
Update collision visualization to support nested models #823
Update collision visualization to support nested models #823
Conversation
Signed-off-by: Atharva Pusalkar <atharvapusalkar18@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, waiting for @jennuine review
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for tackling this @atharva-18 and great work so far!
Unfortunately, this does not work for deeply nested models. In the gif, only 2 objects in the scene show collisions but all 5 should be shown when viewing all collisions for M1
:
Assuming you are using an Edifice workspace, to run this example:
export IGN_GAZEBO_RESOURCE_PATH=<path to Edifice workspace>/src/ign-gazebo/test/worlds/models
ign gazebo <path to workspace>/src/ign-gazebo/test/worlds/model_nested_include.sdf
Signed-off-by: Atharva Pusalkar <atharvapusalkar18@gmail.com>
@atharva-18 is this bug also affecting your wireframe PR? |
@ahcorde Yes, this bug is present in the wireframe visualization. I'll open a PR addressing it once this one gets approved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! A few minor comments
Also, I think we should |
Signed-off-by: Atharva Pusalkar <atharvapusalkar18@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for iterating! LGTM, I believe the failing tests are flaky. @ahcorde can you confirm?
@osrf-jenkins retest this please |
…-gazebo into collisions_nested_model
@osrf-jenkins retest this please |
Signed-off-by: Atharva Pusalkar atharvapusalkar18@gmail.com
🦟 Bug fix
Fixes #767
Summary
Updates collision visualization to support SDFormat 1.8.

Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge
🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸