Can't get an image from a rosbag file in rviz
Hello. I have two mashines. One has a started roscore and iai_kinect2 package. I recorded a rosbag file with one topic (/kinect2/qhd/image_color/compressed) on another PC. But when I tried to look at it in rviz, I have the warning message "No image received". Though when I started rviz with iai node it show images. What happened with images in bag files? How can I record the data properly? Thanks
Can you run
rosbag info <bag file>
as described here and verify that the bag file contains images.