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 checkbox in view angle plugin for toggling view control reference visual #1788

Merged
merged 2 commits into from
Nov 17, 2022

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Nov 10, 2022

🎉 New feature

Depends on gazebosim/gz-gui#500

Summary

Adds check box for toggling the view control reference visual added in gazebosim/gz-gui#500.

Test it

Enable the View Angle plugin by going to the top right 3 dots menu and select View Angle

Click on the Display View Control Reference Visual check box to enable / disable view control anchor visualization. Use mouse to move camera and see the effect. When disabled, the yellow ellipsoid should not be drawn in the 3d render window.

ref_visual_toggle

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • 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.

@iche033 iche033 requested a review from mjcarroll as a code owner November 10, 2022 01:04
@github-actions github-actions bot added the 🏯 fortress Ignition Fortress label Nov 10, 2022
@codecov
Copy link

codecov bot commented Nov 10, 2022

Codecov Report

Merging #1788 (d82b32a) into ign-gazebo6 (3c06d74) will increase coverage by 0.06%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           ign-gazebo6    #1788      +/-   ##
===============================================
+ Coverage        64.61%   64.68%   +0.06%     
===============================================
  Files              321      321              
  Lines            26290    26358      +68     
===============================================
+ Hits             16988    17049      +61     
- Misses            9302     9309       +7     
Impacted Files Coverage Δ
src/systems/rf_comms/RFComms.cc 89.58% <0.00%> (+0.06%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -60,6 +60,9 @@ namespace ignition::gazebo
/// \brief View Control service name
public: std::string viewControlService;

/// \brief View Control service name
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/// \brief View Control service name
/// \brief View Control reference visual service name

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed. d82b32a

Signed-off-by: Ian Chen <[email protected]>
@iche033 iche033 merged commit 6bc33a2 into ign-gazebo6 Nov 17, 2022
@iche033 iche033 deleted the ref_visual_toggle branch November 17, 2022 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏯 fortress Ignition Fortress
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants