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.
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
andcam_1.yaml
with the parameters of the left camera, andcam_0.yaml
andcam_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.