AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

Add distortion model and distortion params to ros wrapper

Open m1baldwin opened this issue 4 years ago • 2 comments

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

m1baldwin avatar Sep 16 '20 13:09 m1baldwin

Needs to use updated getDistortion() api from PR #3039 .

m1baldwin avatar Oct 06 '20 12:10 m1baldwin

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Apr 16 '22 10:04 stale[bot]