-
Notifications
You must be signed in to change notification settings - Fork 59
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 Camera Intrinsics in camera_info topic #256
Conversation
Signed-off-by: deepanshu <[email protected]>
Signed-off-by: deepanshu <[email protected]>
Signed-off-by: deepanshu <[email protected]>
Signed-off-by: deepanshu <[email protected]>
Signed-off-by: deepanshu <[email protected]>
Signed-off-by: deepanshu <[email protected]>
Signed-off-by: deepanshu <[email protected]>
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.
Changes LGTM, I'll leave it up to @iche033 for final review.
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.
In the analogous PR in gazebo classic, we have 3 instances of the camera : One with no intrinsics tag (which uses gazebo defaults), one with intrinsics with the same values as gazebo defaults, and one which has some custom values. It would be nice to keep the tests consistent here as well, though not a necessity.
Signed-off-by: Aditya <[email protected]>
Closing this in favour of #265 with the merge conflicts and signoff errors resolved. |
🦟 Bug fix
Fixes gazebosim/gz-sim#705
Summary
This PR solves the camera intrinsics not being reflected properly in
/camera_info
topic when the<intrinsics>
tag is not provided. The PR uses theCameraIntrinsicMatrix()
fromgz-rendering
package to get the camera intrinsics and update the sdf DOM object and/camera_info
topic.Depends on
gazebosim/gz-rendering#700
Checklist
codecheck
passed (See contributing)🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸