I am encountering a strange error when working with a ROS bag record. Here are the commands and output I used:
user:~/catkin_ws/src$ rosbag record -O laser.bag laser_scan
[ INFO] [1687335860.352101640]: Subscribing to laser_scan
[ INFO] [1687335860.552138606, 3893.622000000]: Recording to ‘laser.bag’.
user:~/catkin_ws/src$ rosbag info laser.bag
start: Jan 01 1970 01:04:53.64 (3893.64)
user:~$ rosbag play -l laser.bag
[ INFO] [1687335953.655513254]: Opening laser.bag
[FATAL] [1687335953.737220156]: Error opening file: laser.bag
I’m not sure why I’m getting the “Error opening file” message when trying to play the bag file. Any ideas on what might be happening?
Thank you in advance for your help.