ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
To sum up my understanding of what happened: You started rosbag record
in /home/data
, and while rosbag was recording, you deleted that directory. The question is whether rosbag should print an error message if you do that. (Please correct me if I misunderstood your question.)
That's not a bug in rosbag, but a general design decision in Unix. As long as rosbag is still running, you can try to recover the file from /proc/pid/fd
, otherwise maybe this will help (more information here).
BTW: If you delete /home/data
before starting rosbag, you'll get an error saying that the file is not writable; only if you delete it while rosbag is recording, you'll lose the data.