-
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
Set custom projection matrix based on intrinsics params from SDF #293
Conversation
Signed-off-by: Ian Chen <[email protected]>
Signed-off-by: Ian Chen <[email protected]>
Codecov Report
@@ Coverage Diff @@
## gz-sensors7 #293 +/- ##
===============================================
+ Coverage 71.66% 71.85% +0.19%
===============================================
Files 37 37
Lines 4665 4690 +25
===============================================
+ Hits 3343 3370 +27
+ Misses 1322 1320 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
note that we've also added |
yeah I saw that. I can add that in once #289 is merged. |
sounds great; thanks |
Signed-off-by: Ian Chen <[email protected]>
This PR allows users to specify custom camera projection using the <projection> values from SDF (in addition to <instrinscs>, see #293). Also bumped sdformat dep version as it need gazebosim/sdformat#1203 --------- Signed-off-by: Ian Chen <[email protected]> Co-authored-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]>
🎉 New feature
Closes #288
Summary
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.
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.