-
Notifications
You must be signed in to change notification settings - Fork 275
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
New scene manager GUI plugin that works with ign-gui's MinimalScene #813
Conversation
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
I was reviewing some of the plugin in ign-gazebo that you mentioned to move them to a independent plugin (inside ign-gazebo). In particular these 3:
All of them require the renderUtil class which means that we need to create a renderUtil object and in each one of them we should update it (I think these calls are very costly). Anyhow I will prototype something |
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
we should add to the <plugin filename="MarkerManager" name="Marker manager">
<ignition-gui>
<title>Marker Manager</title>
<property type="bool" key="showTitleBar">false</property>
<property type="string" key="state">docked</property>
<property key="resizable" type="bool">false</property>
<property key="width" type="double">5</property>
<property key="height" type="double">5</property>
<property key="state" type="string">floating</property>
<property key="showTitleBar" type="bool">false</property>
</ignition-gui>
</plugin> |
I was having a look to the @chapulina, is this assumption correct ? or am i missing something ? |
Good point, Ignition GUI doesn't have the concept of time, so it would take some extra efforts if we wanted to move that plugin there. I'm fine keeping it in Ignition Gazebo 👍 |
Signed-off-by: Louise Poubel <[email protected]>
…robotics/ign-gazebo into chapulina/6/scene_manager Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
@ahcorde , I'm opening this PR for review. I reverted the changes to The new scene manager can be tested with the One suggestion for testing is to:
Then use the 2nd window to insert, delete and move shapes, and verify that they move on the new plugin too. |
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.
Two minor style issues. Otherwise LGTM
Signed-off-by: Louise Poubel <[email protected]>
…azebosim#813) Signed-off-by: Louise Poubel <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: William Lew <[email protected]>
🎉 New feature
Closes gazebosim/gz-gui#137
Requires gazebosim/gz-gui#221
Summary
This is a proof of concept for how an
ign-gazebo
GuiSystem
can work withign-gui
'sMinimalScene
. The idea is to split the concerns:ign-gui
'sMinimalScene
instantiates a 3D scene and paints to the windowign-gazebo
'sGzSceneManager
adds, removes and updates visuals on that scene, based on Gazebo's entities and components.The two plugins synchronize through the
Render
event, that's called byMinimalScene
within the rendering thread.This initial implementation supports adding entities to the scene and updating their poses. There's lots still to be figured out:
ign-gui
'sMinimalScene
before it creates a scene.)ign-gui
'sMinimalScene
will always create a scene. That plugin needs to be updated so it can be attached to the sensor system's scene if that exists, when running on the same process (related to Support running server and client in the same process #556) PR Run server and client in the same process #793Missing features that could possibly be moved to independent
ign-gui
plugins:Missing features that could possibly be moved to independent
ign-gazebo
plugins:Test it
To try it out, run:
ign gazebo --gui-config src/ign-gazebo/src/gui/gui.config rolling_shapes.sdf -v 4
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge
🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸