gazebosim / gz-sensors

Provides numerous sensor models designed to generate realistic data from simulation environments.
https://gazebosim.org
Apache License 2.0
64 stars 58 forks source link

Check camera sensors have non-zero width or height (backport #480) #483

Closed mergify[bot] closed 2 weeks ago

mergify[bot] commented 2 weeks ago

🦟 Bug fix

Summary

Check to verify that camera sensors have non-zero width / height before creating the rendering cameras. The check prevents gz-sim from crashing and will output a more meaningful msg.

Checklist

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.


This is an automatic backport of pull request #480 done by Mergify.