-
Notifications
You must be signed in to change notification settings - Fork 53
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
Expose camera intrinsic matrix API #700
Conversation
Signed-off-by: deepanshu <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #700 +/- ##
==========================================
+ Coverage 74.16% 74.18% +0.01%
==========================================
Files 159 159
Lines 14370 14381 +11
==========================================
+ Hits 10657 10668 +11
Misses 3713 3713
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
Could you add some tests for this one ?
yes working on them:) |
Signed-off-by: deepanshu <[email protected]>
Signed-off-by: deepanshu <[email protected]>
Signed-off-by: deepanshu <[email protected]>
Looks good to me overall, with the math simplified and the calculation documented ! |
Signed-off-by: Aditya <[email protected]>
Signed-off-by: Aditya <[email protected]>
This is to be reverted in favour of #755 |
This reverts commit 581aaab.
This reverts commit 581aaab. Signed-off-by: Aditya <[email protected]>
* Added free function to get camera intrinsics Signed-off-by: Aditya <[email protected]>
This reverts commit 581aaab. Signed-off-by: Aditya <[email protected]>
* Added free function to get camera intrinsics Signed-off-by: Aditya <[email protected]>
* Calculate camera intrinsics : Refactor #700 (#755) Signed-off-by: Alejandro Hernández Cordero <[email protected]> --------- Signed-off-by: Alejandro Hernández Cordero <[email protected]> Co-authored-by: Aditya Pande <[email protected]>
Signed-off-by: deepanshu [email protected]
🦟 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 exposes theCameraIntrinsicMatrix()
which can be used by downstream packagesgz-sensors
to update the DOM object and also the/camera_info
topic with correct intrinsics.Depends on
gazebosim/gz-sensors#256
Checklist
codecheck
passed (See contributing)🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸