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

Fix boundingbox_camera integration test #443

Merged
merged 2 commits into from
Jul 4, 2024

Conversation

iche033
Copy link
Contributor

@iche033 iche033 commented Jul 3, 2024

🦟 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

  • Signed all commits for DCO
  • Added tests
  • 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 added 2 commits July 3, 2024 21:39
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Jul 3, 2024
@ahcorde ahcorde merged commit ad95288 into gz-sensors8 Jul 4, 2024
10 checks passed
@ahcorde ahcorde deleted the iche033/bbox_camera_test_fix branch July 4, 2024 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎵 harmonic Gazebo Harmonic
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

🧑‍🌾 INTEGRATION_boundingbox_camera BoundingBoxCameraSensor test failing on Linux + main
2 participants