terminate called after throwing an instance of 'rosbag::BagIOException' what(): Error opening file: [closed]
I would like to run ORB_SLAM with my own drone.
when typing roslaunch SLAM SLAM.launch
in the terminal, I got an error that has never seen before as follows:
process[SLAM-1]: started with pid [13284]
terminate called after throwing an instance of 'rosbag::BagIOException'
what(): Error opening file:
[SLAM-1] process has died [pid 13284, exit code -6, cmd /home/htf/orb_ws/src/SLAM/bin/SLAM /home/htf/orb_ws/src/SLAM/Data/ORBvoc.txt /home/htf/orb_ws/src/SLAM/Data/Drone.yaml __name:=SLAM __log:=/home/htf/.ros/log/b3cdf97a-c6ef-11e8-bd1c-80a589d234a5/SLAM-1.log].
log file: /home/htf/.ros/log/b3cdf97a-c6ef-11e8-bd1c-80a589d234a5/SLAM-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
here is the launch file:
<launch>
<node name="SLAM" pkg="SLAM" type="SLAM" args="/home/htf/orb_ws/src/SLAM/Data/ORBvoc.txt /home/htf/orb_ws/src/SLAM/Data/Drone.yaml"/>
</launch>
does anyone know how to fix it? thanks a lot.