ros-perception / image_pipeline

An image processing pipeline for ROS.
Other
762 stars 715 forks source link

[jazzy] image_publisher: add field of view parameter (backport #985) #992

Closed mergify[bot] closed 3 weeks ago

mergify[bot] commented 1 month ago

Currently, the default value for focal length when no camera info is provided defaults to 1.0 rendering whole approximate intrinsics and projection matrices useless. Based on this article, I propose a better approximation of the focal length based on the field of view of the camera.

For most of the use cases, users will either know the field of view of the camera the used, or they already calibrated it ahead of time.

If there is some documentation to fill. please let me know.

This PR should be straightforward to port it to Humble, Iron and Jazzy.


This is an automatic backport of pull request #985 done by Mergify.