-
Notifications
You must be signed in to change notification settings - Fork 276
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
Added transform control and select entities GUI plugins #854
Added transform control and select entities GUI plugins #854
Conversation
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: ahcorde <[email protected]>
…tities_transformControl
Signed-off-by: ahcorde <[email protected]>
…s://github.com/ignitionrobotics/ign-gazebo into ahcorde/plugin/selectEntities_transformControl
Signed-off-by: Louise Poubel <[email protected]>
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 wasn't able to compile this branch because I think I have the wrong combination of ign-gui
branches.
The main high-level comment I have is whether it would be better to combine these 2 with the existing TransformControl
plugin. I think all this logic should originally have been contained in that plugin, but we didn't have a mechanism for manipulating the 3D scene, so part of it ended up in Scene3D
.
src/gui/plugins/transform_control_logic/TransformControlLogic.hh
Outdated
Show resolved
Hide resolved
src/gui/plugins/transform_control_logic/TransformControlLogic.cc
Outdated
Show resolved
Hide resolved
src/gui/plugins/transform_control_logic/TransformControlLogic.cc
Outdated
Show resolved
Hide resolved
src/gui/plugins/transform_control_logic/TransformControlLogic.cc
Outdated
Show resolved
Hide resolved
…ahcorde/plugin/selectEntities_transformControl
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
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]>
Signed-off-by: Louise Poubel <[email protected]>
@ahcorde . I started reviewing this and making some changes in ahcorde/plugin/selectEntities_transformControl...chapulina/select_transform. I thought they would be mainly trivial changes, updating style, namespaces and whatnot, as well as combining
|
Requires gazebosim/gz-gui#268 |
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: Louise Poubel <[email protected]>
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 pushed some documentation and style updates in caf08a9.
I noticed a change in behaviour. Pressing Shift
is toggling between world and local frames, but the correct behaviour is to use the world frame while the Shift
key is being held, and going back to local when the key is released, as explained in the tutorial:
https://ignitionrobotics.org/docs/edifice/manipulating_models#align-to-world-frame
Signed-off-by: ahcorde <[email protected]>
I was using the old KeyEvent. Solved e6e3e16 |
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Signed-off-by: ahcorde <[email protected]>
Everything seems to be working well for me now, thanks! I just have this final question: e6e3e16#commitcomment-54864874 |
Signed-off-by: ahcorde <[email protected]>
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.
Works for me! We just need some fresh ign-gui
nightlies to go with this. I'm on it.
Triggered: https://build.osrfoundation.org/job/ign-gui6-debbuilder/
Codecov Report
@@ Coverage Diff @@
## main #854 +/- ##
==========================================
- Coverage 65.43% 64.53% -0.91%
==========================================
Files 246 246
Lines 19433 19729 +296
==========================================
+ Hits 12716 12732 +16
- Misses 6717 6997 +280
Continue to review full report at Codecov.
|
Signed-off-by: Louise Poubel <[email protected]>
…//github.com/ignitionrobotics/ign-gazebo into ahcorde/plugin/selectEntities_transformControl Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: ahcorde [email protected]
🎉 New feature
Summary
This PR is part of the consolidation between Scene 3D in ign-gazebo and ign-gui. This PR adds two independent plugin to select entities and transform control.
It builds on top of #813
Test it
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge