This fixes the bug that published undistorted iamges in the color topic when undistortion was enabled.
The correct behavior is that the /camera/color/image topic should have the distorted color-corrected image, while /camera/color_rect/image should have the undistorted one.
This makes the camera_info topics /camera/color/camera_info and /camera/color_rect/camera_info consistent now.
This fixes the bug that published undistorted iamges in the color topic when undistortion was enabled. The correct behavior is that the
/camera/color/image
topic should have the distorted color-corrected image, while/camera/color_rect/image
should have the undistorted one.This makes the camera_info topics
/camera/color/camera_info
and/camera/color_rect/camera_info
consistent now.