Optimal record settings for large rosbags with camera inputs
Hi all, I was wondering what are the best settings to record a rosbag with the dense data at low frequency (e.g. camera images from a RealSense camera at 20-30 Hz ) plus smaller data at high frequency (e.g. IMU messages at 400 Hz) for 30-60 min rosbags.
To reduce the size to a reasonable amount (~20-50 GB), I compress the images with PNG image transport (cannot use lossy compression because I need to process the original images afterwards). However, I notice message drops because the disk can't keep up in writing (it's an SSD).
Would rosbag record
with compression option be better than compressing the images alone?
I guess compressing both wouldn't add any benefit because the algorithm is very similar.
Would increasing the chunk file have a benefit on the writing on the disk?
https://answers.ros.org/question/9861...
this has some useful information. check the provided launch file. it is really useful