Can't play rosbag with rosbag play, only with rqt_bag
I have multiple rosbags recorded from zed2i and intel d435 cameras.
When I try to publish rosbag topics with $ rosbag play recorded1.bag recorded2.bag it shows it is playing the rosbags:
[ INFO] [1669886119.539113920]: Opening 2022-11-10-11-27-31_23.bag Waiting 0.2 seconds after advertising topics... done. Hit space to toggle paused, or 's' to step. [RUNNING] Bag Time: 1668047252.545102 Duration: 0.936190 / 9.974145
However, when I try to publish the topics, I get this:
subscribed to [/camera/color/image_raw] no new messages no new messages no new messages
It is not publishing anything. However, if I open up rqt_bag and play the rosbag from there, it publishes without any problem. What could be the problem here? Thanks