ros-perception / image_common

Common code for working with images in ROS
http://www.ros.org/wiki/image_common
124 stars 219 forks source link

ros2 fixed camera_info service #291

Open dariodenardi opened 10 months ago

dariodenardi commented 10 months ago

I use two stereo cameras. When I calibrated the cameras with the ROS calibrator, after clicking on commit, the tool wrote four files simultaneously: cam_0.yaml and cam_1.yaml with the parameters of the left camera, and cam_0.yaml and cam_1.yaml with the parameters of the right camera. This caused me to lose the configuration of one camera.

The issue arises from both cameras using the same service: /camera_info. I resolved this problem by adding the camera's name in the constructor.