Note: This tutorial assumes that you have completed the previous tutorials: ROS tutorials, Writing a Simple Image Publisher (C++). |
Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags. |
Using camera_info_manager in a Camera Driver (C++)
Description: This tutorial shows how to provide calibration information while publishing images.Keywords: camera_calibration, image_transport, image_pipeline
Tutorial Level: BEGINNER
Contents
Example code
Until I have time to write up a good tutorial, here is an example of a driver using camera_info_manager. Search for cinfo_ in the source code to see where the CameraInfoManager class is used. Note the handling of Header time stamps and transform frame IDs.