Skip to content
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 center of mass #110

Closed
chapulina opened this issue Apr 29, 2020 · 2 comments
Closed

Visualize center of mass #110

chapulina opened this issue Apr 29, 2020 · 2 comments
Labels
close the gap Features from Gazebo-classic enhancement New feature or request GUI Gazebo's graphical interface (not pure Ignition GUI) rendering Involves Ignition Rendering

Comments

@chapulina
Copy link
Contributor

chapulina commented Apr 29, 2020

Like on Gazebo-classic, it should be possible to visualize links' CoMs so users can debug their models and simulations.

On classic, CoM visuals consist of a sphere scaled proportionally to the link's mass, and lines stretching to the link's bounding box. The sphere represents a uniform ball of lead with the same mass, so if it is as big as your model, your model is as dense as lead!

CoM visualization could be toggled from:

  • A world's right-click context menu: toggles all CoMs in the world
  • A model's right-click context menu: toggles all CoMs in the model
  • A link's right-click context menu

We could also consider adding toggle buttons to an entity's component inspector.

Here's classic's CoMVisual implementation as a reference.

And here's the PR where the visuals were added to Gazebo-classic.

Related to #111 and ros-visualization/rviz#1204.

image

@chapulina chapulina added enhancement New feature or request GUI Gazebo's graphical interface (not pure Ignition GUI) rendering Involves Ignition Rendering labels Apr 29, 2020
@chapulina chapulina added the close the gap Features from Gazebo-classic label May 29, 2020
@ahcorde
Copy link
Contributor

ahcorde commented Jul 5, 2021

Ign-rendering6 adds this feature gazebosim/gz-rendering#345

next step create a PR on ign-gazebo

FYI @atharva-18

@atharva-18 atharva-18 mentioned this issue Jul 5, 2021
8 tasks
@chapulina
Copy link
Contributor Author

#903

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
close the gap Features from Gazebo-classic enhancement New feature or request GUI Gazebo's graphical interface (not pure Ignition GUI) rendering Involves Ignition Rendering
Projects
None yet
Development

No branches or pull requests

2 participants