Achllle / rosbag_recording_services

ROS package to allow starting and stopping of rosbag recordings via service calls.
0 stars 1 forks source link

rosbag compression automation #10

Open Achllle opened 6 years ago

Achllle commented 6 years ago

After saving a bag, the bag should be compressed. When replaying, the bag should be decompressed.

Achllle commented 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.

Achllle commented 6 years ago

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.

Achllle commented 6 years ago

need to retest how long compression takes when recording for less than 10 seconds