Skip to content
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

Add distortion model and distortion params to ros wrapper #3023

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

m1baldwin
Copy link

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
Author

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

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

stale bot commented Apr 16, 2022

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 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