rosbag reindex / fix result in empty bag file.
Hi to all,
I'm facing with a problem in recovering one bag file marked as *.active
. I have tried to execute the sequence reindex / fix, none of them fails, but the resulting .bag
file is empty.
Can someone give me some hints?
Asked by d.fenucci on 2017-09-27 08:42:26 UTC
Answers
Question was asked again recently. And in that specific case the recording was disrupted before anything was written to disk. If the amount of data in the "would be bag" is smaller than the "chunksize" attribute of the bag then all the data would have been lost and there would be nothing to recover.
--chunksize=SIZE
Advanced. Record to chunks of SIZE KB (Default: 768). This is a buffer within the bag file object. Lowering this value will result in more writes to disk.
This question is quite old and the answer might not apply to this specific case, but it has quite a bit of views so I thought I would share my answer here.
Asked by Reamees on 2018-09-03 07:01:31 UTC
Comments
Seeing the same issue myself.
Asked by nckswt on 2018-03-30 14:17:10 UTC