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

Light entity match SDF boolean for UserCommands. #2295

Merged
merged 5 commits into from
Jan 31, 2024

Conversation

bperseghetti
Copy link
Member

@bperseghetti bperseghetti commented Jan 22, 2024

🦟 Bug fix

Summary

Unable to set multiple matching light entities like what is done in MaterialColor.
Adding an SDF boolean element <set_all_light_entities> to usercommands plugin allows for controlling matching light entities.

Waiting first on merge of #2286 for MaterialColor change.

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • 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 and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Jan 22, 2024
@bperseghetti
Copy link
Member Author

Will rebase this soon as #2286 gets merged in.

@bperseghetti bperseghetti changed the title Pr lights match all Light entity match SDF boolean for UserCommands. Jan 22, 2024
Allow for setting all matching light entities by setting
<set_all_light_entities> boolean in usercommands plugin's sdf.

Signed-off-by: Benjamin Perseghetti <[email protected]>
@bperseghetti
Copy link
Member Author

Test just added, should have full coverage now.

@bperseghetti
Copy link
Member Author

@osrf-jenkins run tests please

@gazebosim gazebosim deleted a comment from codecov bot Jan 30, 2024
Signed-off-by: Benjamin Perseghetti <[email protected]>
Copy link

codecov bot commented Jan 30, 2024

Codecov Report

Attention: 22 lines in your changes are missing coverage. Please review.

Comparison is base (08b5cfe) 65.92% compared to head (b6171df) 65.95%.
Report is 2 commits behind head on gz-sim8.

Files Patch % Lines
src/systems/user_commands/UserCommands.cc 69.44% 22 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           gz-sim8    #2295      +/-   ##
===========================================
+ Coverage    65.92%   65.95%   +0.02%     
===========================================
  Files          327      327              
  Lines        31286    31323      +37     
===========================================
+ Hits         20626    20658      +32     
- Misses       10660    10665       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bperseghetti bperseghetti requested review from azeey and ahcorde January 30, 2024 13:55
Signed-off-by: Benjamin Perseghetti <[email protected]>
@bperseghetti bperseghetti requested a review from ahcorde January 30, 2024 18:08
Signed-off-by: Benjamin Perseghetti <[email protected]>
@mjcarroll mjcarroll merged commit a4dc7c4 into gazebosim:gz-sim8 Jan 31, 2024
10 checks passed
@bperseghetti bperseghetti deleted the pr-lights-match-all branch January 31, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎵 harmonic Gazebo Harmonic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants