ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You are correct, the resolution does affect calibration.
I would recommend calibrating the camera for each resolution you intend to use. Store them in separate files, including resolution in the name, like this:
package://my_cameras/calibrations/${NAME}_640x480.yaml
package://my_cameras/calibrations/${NAME}_1280x1024.yaml
Here is a detailed description of the camera info URL.
Since the calibrated width and height are included in the calibration file, the camera driver should complain if you accidentally use the wrong one.