-
Notifications
You must be signed in to change notification settings - Fork 277
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
Allow to change camera user hfov in camera_view plugin #1807
Conversation
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Codecov Report
@@ Coverage Diff @@
## ign-gazebo6 #1807 +/- ##
===============================================
- Coverage 64.99% 64.97% -0.03%
===============================================
Files 324 324
Lines 26562 26562
===============================================
- Hits 17264 17258 -6
- Misses 9298 9304 +6
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
I think the previous PR was closed due to crashes on the gz-rendering side.
|
Correct, we closed the original PR because it was exposing this bug gazebosim/gz-rendering#710 |
here's more info about the crash from debugging: gazebosim/gz-rendering#710 (comment). I think the short term workaround is to set some bounds on the camera pos. |
We discussed adding a limit in the |
yeah in gz-rendering, we can just limit pose of nodes in Ogre2Node: https://github.com/gazebosim/gz-rendering/blob/gz-rendering7/ogre2/src/Ogre2Node.cc#L107-L113. We just need to figure out a reasonable max value to limit the pos to. |
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
limit max FOV to PI in 948d28f. Together with gazebosim/gz-rendering#827, gz-sim should no longer crash |
Thank you for the fix @iche033 |
Signed-off-by: Alejandro Hernández Cordero [email protected]
🎉 New feature
Set the user camera's horizontal fov through the
View Angle
plugin.Checklist
codecheck
passed (See contributing)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.