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

Fix boundingbox_camera integration test #443

Closed iche033 closed 4 months ago

iche033 commented 4 months ago

🦟 Bug fix

Fixes #440

Summary

test was broken by #432. The call to UpdateLensIntrinsicsAndProjection makes changes to camera sdf which causes the second call to think that the bounding box camera needs to use a custom projection matrix. So the fix is to use a copy for the first call instead.

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.