Re: [ros-users] working with compressed bag files?

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Jack O'Quin
Dato:  
Til: ros-users
Emne: Re: [ros-users] working with compressed bag files?
On Sat, Apr 10, 2010 at 8:46 PM, Tim Field <> wrote:
> The problem with gzipping an entire bag file is you lose the ability to do
> random access.  We're working on a new bag format for rosbag which
> internally uses compression and permits random access.  This is slated for
> ROS 1.1.3.
>
> For images, one option to consider is storing CompressedImage messages in
> your bag files (see compressed_image_transport).  A domain specific
> compression algorithm is always going to beat a generic one such as gzip.
>
> Tim
>
> On Sat, Apr 10, 2010 at 5:22 PM, Jack O'Quin <> wrote:
>>
>> Is there a rosbag option to read and write gzipped bag files?
>>
>> That would be useful. With images and point clouds bags can get really
>> large, and gzip can compress them quite a lot.


True, but I've been gzipping random bag files and getting files 6 or 8
times smaller. There's a lot of repeated data in them.
--
joq