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

Add gazebo gui events #148

Merged
merged 3 commits into from
Dec 10, 2020
Merged

Add gazebo gui events #148

merged 3 commits into from
Dec 10, 2020

Conversation

JShep1
Copy link

@JShep1 JShep1 commented Nov 20, 2020

Signed-off-by: John Shepherd john@openrobotics.org

Signed-off-by: John Shepherd <john@openrobotics.org>
@github-actions github-actions bot added the 🏰 citadel Ignition Citadel label Nov 20, 2020
include/ignition/gui/GuiEvents.hh Outdated Show resolved Hide resolved
include/ignition/gui/GuiEvents.hh Outdated Show resolved Hide resolved
include/ignition/gui/GuiEvents.hh Outdated Show resolved Hide resolved
include/ignition/gui/GuiEvents.hh Show resolved Hide resolved
Signed-off-by: John Shepherd <john@openrobotics.org>
Copy link
Contributor

@chapulina chapulina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code checker is not happy:

https://github.com/ignitionrobotics/ign-gui/pull/148/checks?check_run_id=1433264752


This looks good to me. Just to add more context for future readers, the idea here is to define events in ign-gui so they can be reused by multiple downstream projects like ign-gazebo and ign-rviz. This is also related to #68.

We should deprecate ignition::gazebo::gui::GuiEvents in favor of these events.

I also just realized we don't have unit tests for the events. This is especially important in this case, because there aren't plugins using these events that can be tested. @JShep1, sorry to increase the scope of this PR, but do you think you could add some tests? Let me know how I can help.

chapulina added a commit that referenced this pull request Dec 10, 2020
Signed-off-by: Louise Poubel <louise@openrobotics.org>
@chapulina
Copy link
Contributor

I opened #150 with some suggestions.

* Suggestions to #148

* more codecheck

Signed-off-by: Louise Poubel <louise@openrobotics.org>
@JShep1
Copy link
Author

JShep1 commented Dec 10, 2020

I opened #150 with some suggestions.

Thank you! I just merged your changes in

@codecov
Copy link

codecov bot commented Dec 10, 2020

Codecov Report

Merging #148 (e4e6012) into ign-gui3 (d440a56) will increase coverage by 0.58%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##           ign-gui3     #148      +/-   ##
============================================
+ Coverage     59.57%   60.16%   +0.58%     
============================================
  Files            20       20              
  Lines          2471     2500      +29     
============================================
+ Hits           1472     1504      +32     
+ Misses          999      996       -3     
Impacted Files Coverage Δ
include/ignition/gui/GuiEvents.hh 100.00% <100.00%> (+100.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d440a56...e4e6012. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏰 citadel Ignition Citadel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants