Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 475

Does rosbag record --split guarantee data continuity in any way?

$
0
0
I've created a system that records sensor data from a few sensors. I use a python script to call a launchfile with rosbag record on the topics I want. Two of these topics are images from cameras. To record for an extended amount of time, I call `self.process_rosbag=subprocess.Popen(roslaunch record.launch)` to start the process. Then when I'm done I call `self.process_rosbag.send_signal(subprocess.signal.SIGINT)` - it's my understanding that this should allow the bags to close cleanly, on their own time. However, I still see bags remaining active when I look at my data folder. To try and remedy this, I added "--split --size=200" to my record call, in the recording launch file.However, I still get bags closing ungracefully, and worse, I seem to be missing 15 seconds of data between every split bag part. Is there any way to ensure bags are keep recording while files are split and closed? I can't find much documentation on the split parameter and any mention of it not recording contiguous bag files. Has anyone seen this before?

Viewing all articles
Browse latest Browse all 475

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>