ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Bug in rosbag with compressed files?

asked 2015-08-31 14:54:46 -0600

updated 2015-08-31 19:53:14 -0600

tfoote gravatar image

Hello all,

I have recorded a fairly long rosbag file (~8.5Mb).

However, when I try to play it I get:

[FATAL] [1441050519.918179421]: size of the compressed data exceeds *destLen

Here is rosbag info:

path:         M200-0211.bag
version:      2.0
duration:     10hr 47:10s (38830s)
start:        Aug 28 2015 14:28:56.45 (1440786536.45)
end:          Aug 29 2015 01:16:06.82 (1440825366.82)
size:         8.1 MB
messages:     175484
compression:  bz2 [26/26 chunks; 30.41%]
uncompressed: 19.3 MB @ 0.5 KB/s
compressed:    5.9 MB @ 0.2 KB/s (30.41%)
types:        batmon/bat_data   [bdfbbcf4c50a2392913c2601912adfc3]
              rosgraph_msgs/Log [acffd30cd6b6de30f120938c17c593fb]
              std_msgs/UInt8    [7c8164229e7d2c17eb95e9231617fdee]
topics:       /B1                5 msgs    : std_msgs/UInt8   
              /B2             6569 msgs    : std_msgs/UInt8   
              /BATMON       155755 msgs    : batmon/bat_data  
              /rosout         6583 msgs    : rosgraph_msgs/Log (6 connections)
              /rosout_agg     6572 msgs    : rosgraph_msgs/Log

The file itself is here , though it needs custom message type from: https://github.com/ibaranov-cp/batmon

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-08-31 20:02:01 -0600

tfoote gravatar image

It looks like it's throwing here: https://github.com/ros/ros_comm/blob/...

My guess is that there's a maximum number of supported elements in the bag which this is violating since this is a lot of small messages the 2Gb chunking sizes doesn't keep the number of messages low.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-08-31 14:54:46 -0600

Seen: 577 times

Last updated: Aug 31 '15