forked from gazebosim/gz-sensors
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set custom projection matrix based on intrinsics params from SDF (gaz…
…ebosim#293) Closes gazebosim#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]>
- Loading branch information
Showing
3 changed files
with
382 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.