-
Notifications
You must be signed in to change notification settings - Fork 44
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
Emit key events from Scene3D #224
Conversation
60be577
to
9d42483
Compare
Codecov Report
@@ Coverage Diff @@
## main #224 +/- ##
==========================================
+ Coverage 65.56% 67.14% +1.58%
==========================================
Files 25 25
Lines 3104 3138 +34
==========================================
+ Hits 2035 2107 +72
+ Misses 1069 1031 -38
Continue to review full report at Codecov.
|
Do not merge this PR yet, i will add key modifiers such us control, shift or alt. |
I think we should add the same modifiers to the Mouse clicks, what do you think @scpeters ? |
@scpeters and @mjcarroll this is ready for another pass |
Looks like something has changed on
|
@mjcarroll I think it's flaky... |
I think adding the copy constructor messed with all of the derived classes here as well. |
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.
The idea of the PR is good, we just need to fix the build:
In file included from /github/workspace/src/GuiEvents_TEST.cc:21:
/github/workspace/include/ignition/gui/GuiEvents.hh: In constructor 'ignition::gui::events::KeyRelease::KeyRelease(const ignition::common::KeyEvent&)':
/github/workspace/include/ignition/gui/GuiEvents.hh:269:38: error: use of deleted function 'ignition::common::KeyEvent::KeyEvent(const ignition::common::KeyEvent&)'
: QEvent(kType), key(_key)
@chapulina PR is in gazebosim/gz-common#224 We need a |
Signed-off-by: ahcorde <ahcorde@gmail.com>
df861fa
to
d708418
Compare
@chapulina retargeted to |
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: Louise Poubel <louise@openrobotics.org>
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.
Pushed tweaks on cdcf459.
LGTM with happy CI.
Signed-off-by: Louise Poubel <louise@openrobotics.org>
Merging, some know tests are failing: |
@osrf-jenkins retest this please |
1 similar comment
@osrf-jenkins retest this please |
Signed-off-by: ahcorde <ahcorde@gmail.com>
Signed-off-by: ahcorde ahcorde@gmail.com
🎉 New feature
Summary
This PR builds on top of this other PR #213. This PR makes the 3D scene emit key events (press and release), that can be used by other plugins.
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge