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

Update default camera instrinsics skew to 0, which matches spec #1423

Merged
merged 2 commits into from
May 28, 2024

Conversation

shameekganguly
Copy link
Contributor

@shameekganguly shameekganguly commented May 23, 2024

🦟 Bug fix

Summary

Default camera lens intrinsics skew is 0 in the camera sdf spec: https://github.com/gazebosim/sdformat/blob/sdf14/sdf/1.11/camera.sdf
But the default value in sdf::Camera class was set to 1. I've fixed this value to match the spec in this PR and updated the associated tests.

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.

@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label May 23, 2024
Signed-off-by: Shameek Ganguly <[email protected]>
@shameekganguly shameekganguly marked this pull request as ready for review May 24, 2024 05:34
@ahcorde ahcorde merged commit 835d0d8 into gazebosim:sdf14 May 28, 2024
11 checks passed
@azeey
Copy link
Collaborator

azeey commented May 28, 2024

Is this change worth announcing on discourse? It could be a breaking change for some folks, but I don't have a sense of how many people will be affected.

@iche033
Copy link
Contributor

iche033 commented May 28, 2024

I think it's a bugfix that we can mention the change in Migration guide? I imagine most people will be setting skew to 0.

@azeey
Copy link
Collaborator

azeey commented May 28, 2024

Okay. Adding to the migration guide sounds good. @shameekganguly/@iche033 mind doing that now so we don't forget next time we make a release?

@iche033
Copy link
Contributor

iche033 commented May 28, 2024

yep I'll take care of it

aagrawal05 pushed a commit to aagrawal05/sdformat that referenced this pull request Aug 16, 2024
aagrawal05 pushed a commit to aagrawal05/sdformat that referenced this pull request Aug 16, 2024
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.

4 participants