主要看教程:https://blog.csdn.net/weixin_47074246/article/details/108691189 里面的第三部分
作者提供的例子是rosbag play --pause V1_02_medium.bag /cam0/image_raw:=/camera/left/image_raw /cam1/image_raw:=/camera/right/image_raw /imu0:=/imu 。
具体参考:https://github.com/UZ-SLAMLab/ORB_SLAM3,里面的Running ROS example 讲得挺清楚的。