-
Notifications
You must be signed in to change notification settings - Fork 302
Visualize inertia #861
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
Visualize inertia #861
Conversation
Signed-off-by: Atharva Pusalkar <[email protected]>
Signed-off-by: Atharva Pusalkar <[email protected]>
Signed-off-by: Atharva Pusalkar <[email protected]>
Signed-off-by: Atharva Pusalkar <[email protected]>
…into visualize_inertia
Signed-off-by: Atharva Pusalkar <[email protected]>
Signed-off-by: Atharva Pusalkar <[email protected]>
Currently |
{ | ||
ignerr << "Entity with Id: [" << _id << "] already exists in the scene" | ||
<< std::endl; | ||
return rendering::VisualPtr(); |
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.
Return the inertia found if exists
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.
I think it's just returning an empty visual since the entity id is already being used by another visual, similar to the LightVisual
Signed-off-by: Atharva Pusalkar <[email protected]>
…into visualize_inertia
…into visualize_inertia
@osrf-jenkins retest this please |
When this PR is in #888, it should fix the issue with the linter |
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.
Some conflicts
…into visualize_inertia
Signed-off-by: Atharva Pusalkar <[email protected]>
This pull request has been mentioned on Gazebo Community. There might be relevant details there: |
🎉 New feature
Closes #111
Summary
Adds the ability to visualize the inertia of models, similar to Gazebo Classic.

Test it
Test it by right-clicking on an entity and selecting
View -> Inertia
.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge