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

minimal_scene.sdf example: add camera_clip params #1166

Merged
merged 3 commits into from
Nov 5, 2021

Conversation

scpeters
Copy link
Member

@scpeters scpeters commented Nov 4, 2021

🎉 New feature

Small follow-up to gazebosim/gz-gui#309 and #1162

Summary

This adds example camera_clip parameters to the MinimalScene plugin in the example world file minimal_scene.sdf. These parameters were added in gazebosim/gz-gui#309.

Test it

If you build against ign-gui6 from souce, then when you open minimal_scene.sdf and expand the View Angle widget, you should see the values 0.25 and 25000 in the "Camera's clipping plane distance" section.

ign gazebo examples/worlds/minimal_scene.sdf

Screenshot from 2021-11-04 16-53-30

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

This adds example camera_clip parameters to the
MinimalScene plugin in the example world file
minimal_scene.sdf

These parameters were added in gazebosim/gz-gui#309

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters scpeters requested a review from jennuine November 4, 2021 23:56
@scpeters scpeters requested a review from chapulina as a code owner November 4, 2021 23:56
@github-actions github-actions bot added 🌱 garden Ignition Garden 🏯 fortress Ignition Fortress labels Nov 4, 2021
Copy link
Contributor

@jennuine jennuine left a comment

Choose a reason for hiding this comment

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

LGTM but should we make an ign-gui6 release before merging?

@codecov
Copy link

codecov bot commented Nov 5, 2021

Codecov Report

Merging #1166 (7c56305) into ign-gazebo6 (3f5706e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           ign-gazebo6    #1166   +/-   ##
============================================
  Coverage        62.18%   62.18%           
============================================
  Files              256      256           
  Lines            20355    20355           
============================================
  Hits             12657    12657           
  Misses            7698     7698           

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 3f5706e...7c56305. Read the comment docs.

@scpeters
Copy link
Member Author

scpeters commented Nov 5, 2021

LGTM but should we make an ign-gui6 release before merging?

I tested with the current release of ign-gazebo6 and ign-gui6, and it didn't give any error messages. I think the parameters are just ignored, so I would be fine with merging now, but can also wait if needed

@scpeters
Copy link
Member Author

scpeters commented Nov 5, 2021

I noticed INTEGRATION_examples_build timed out on homebrew and the Focal GitHub action. I've inceased the timeout duration from 240 seconds to 320 in fb7bbd5

@scpeters scpeters merged commit a90bf42 into gazebosim:ign-gazebo6 Nov 5, 2021
@scpeters scpeters deleted the camera_clip_example_params branch November 5, 2021 16:48
WilliamLewww pushed a commit to WilliamLewww/ign-gazebo that referenced this pull request Dec 7, 2021
This adds example camera_clip parameters to the
MinimalScene plugin in the example world file
minimal_scene.sdf

These parameters were added in gazebosim/gz-gui#309

Also increase timeout for examples build test

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: William Lew <WilliamMilesLew@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏯 fortress Ignition Fortress 🌱 garden Ignition Garden
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants