Open Achllle opened 6 years ago
compress_process = subprocess.call(['rosrun', 'rosbag', 'compress', '--output-dir=', self.output_directory]) in stop_recording() decompress_process = subprocess.call(['rosrun', 'rosbag', 'decompress', '--output-dir=', self.output_directory]) in replay.
Compression is ready, but it takes a while before it finishes. Probably want to spin this off instead of waiting for subprocess.call to finish.
need to retest how long compression takes when recording for less than 10 seconds
After saving a bag, the bag should be compressed. When replaying, the bag should be decompressed.