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

Added drop event #282

Merged
merged 4 commits into from
Sep 21, 2021
Merged

Added drop event #282

merged 4 commits into from
Sep 21, 2021

Conversation

ahcorde
Copy link
Contributor

@ahcorde ahcorde commented Sep 14, 2021

Signed-off-by: ahcorde ahcorde@gmail.com

🎉 Enhacenment

Summary

This event will allow to check something is dropped in the scene3D. This will allow to create independent plugin in ign-gazebo to spawn fuel models or .stl models in the scene.

NOTE: This PR is related with the Scene3D consolidation

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde self-assigned this Sep 14, 2021
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Sep 14, 2021
@codecov
Copy link

codecov bot commented Sep 14, 2021

Codecov Report

Merging #282 (d7c5b4e) into main (0221c3a) will increase coverage by 0.17%.
The diff coverage is 79.51%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #282      +/-   ##
==========================================
+ Coverage   65.20%   65.37%   +0.17%     
==========================================
  Files          32       32              
  Lines        4532     4604      +72     
==========================================
+ Hits         2955     3010      +55     
- Misses       1577     1594      +17     
Impacted Files Coverage Δ
include/ignition/gui/GuiEvents.hh 100.00% <ø> (ø)
src/plugins/minimal_scene/MinimalScene.cc 60.84% <76.71%> (+1.76%) ⬆️
src/GuiEvents.cc 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 254cc34...d7c5b4e. Read the comment docs.

@chapulina chapulina added the beta Targeting beta release of upcoming collection label Sep 21, 2021
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.

LGTM, I just have a suggestion about a function name


/// \brief Get the text of the dropped thing on the scene
/// \return The name of the dropped thing on the scene
public: const std::string &DropName() const;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think "text" would be more generic than "name", how about using that?

@ahcorde ahcorde merged commit ddf6aee into main Sep 21, 2021
@ahcorde ahcorde deleted the ahcorde/event/drop branch September 21, 2021 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta Targeting beta release of upcoming collection 🏯 fortress Ignition Fortress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants