Add distortion model and distortion params to ros wrapper by m1baldwin · Pull Request #3023 · microsoft/AirSim · GitHub
Skip to content

Add distortion model and distortion params to ros wrapper#3023

Draft
m1baldwin wants to merge 1 commit into
microsoft:mainfrom
m1baldwin:PR/default_distortion_params_in_ros_wrapper_camInfo
Draft

Add distortion model and distortion params to ros wrapper#3023
m1baldwin wants to merge 1 commit into
microsoft:mainfrom
m1baldwin:PR/default_distortion_params_in_ros_wrapper_camInfo

Conversation

@m1baldwin

Copy link
Copy Markdown

CameraInfo ros messages have a "distortion_model" field, along with a "D" vector. Currently, there does not seem to be a way to specify this in the capture settings. Also, this is not filled out when generating a camera Info message for a given camera in the airsim_ros_wrapper.cpp.

This PR adds default distortion fields in the camera info message generated in airsim_ros_wrappers.cpp. It is assuming the camera is ideal and using a plumb_bob model with zero distortion. This allows the video from a camera with a "Scene" image type to be used by software which requires distortion params, like aurco_detect

@jonyMarino jonyMarino added the ros label Oct 5, 2020
@m1baldwin

Copy link
Copy Markdown
Author

@m1baldwin m1baldwin marked this pull request as draft October 7, 2020 19:27
@stale

stale Bot commented Apr 16, 2022

Copy link
Copy Markdown

@stale stale Bot added the wontfix label Apr 16, 2022
@jonyMarino jonyMarino changed the base branch from master to main July 17, 2022 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants