-
Notifications
You must be signed in to change notification settings - Fork 58
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
[backport fortress] camera info topic published with the right data #383
Conversation
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Aditya <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
Closes #288 This PR extends the camera sensor functionality to support custom projection matrix based on input instrinics values. Specifically, it reads the lens <instrinsics> params from SDF, builds the projection matrix from the input values using code ported from Gazebo-classic, and set the camera to use this custom projection matrix. Expanded the camera intrinsics integration test to compare image output from cameras with different intrinsics values. Signed-off-by: Ian Chen <[email protected]>
Is this depending on another in gz-rendering? Some methods seem to be not defined in CI. |
Yes, this one gazebosim/gz-rendering#905 |
cameraSdf->SetLensProjectionFy(intrinsicMatrix(1, 1)); | ||
cameraSdf->SetLensProjectionCx(intrinsicMatrix(0, 2)); | ||
cameraSdf->SetLensProjectionCy(intrinsicMatrix(1, 2)); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also port this else block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
@iche033 can we make a |
yep on it. While preparing for release, I ran into some warnings and like to clean it up: gazebosim/gz-rendering#929 |
@osrf-jenkins run tests please! |
@iche033 thank you for the release |
Signed-off-by: Ian Chen <[email protected]>
the |
🦟 Bug fix
Summary
In Garden some PR were included to fix the camera topic info. This PR backport some of the relevant PRs
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.