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

rosbag reindex only ignores the last 90% of the bag file

asked 2020-12-12 09:50:16 -0500

bjajo gravatar image

updated 2020-12-12 12:06:57 -0500

Hi,

I have a really important bagfile, which is not easy to redo and has unique data. It has a size of 29GB. However the recording seem to not finished correctly, so I tried to run rosbag reindex. However it only restores the first 3.5GB and all the rest is missing.

Do you have any help how to get the whole bag fixed?

Thanks for your help! :)

edit retag flag offensive close merge delete

Comments

1

This sounds similar to #q360520.

rosbag has limited repair functionality, but @iiton was able to recover almost all of the .bag the OP in #q360520 had problems with.

Perhaps he can add something here.

gvdhoorn gravatar image gvdhoorn  ( 2020-12-12 12:53:00 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-12-13 04:51:17 -0500

iiton gravatar image

updated 2020-12-13 05:01:39 -0500

gvdhoorn gravatar image

@bjajo, our recovery tool is not yet publicly available. But if you are in a hurry, get in touch (info at spectx.com) and if possible we can do the recovery for you.

If the bag is very messed then the recovery requires one more sample bag (small but with the same message types). This is needed in a situation where both the header and the footer (index) are very broken.

edit flag offensive delete link more

Comments

Thanks, you got a mail. :)

bjajo gravatar image bjajo  ( 2020-12-13 21:06:18 -0500 )edit
1

Result: 99.9712% of messages recovered.

iiton gravatar image iiton  ( 2020-12-14 13:45:15 -0500 )edit

You're the best! :)

bjajo gravatar image bjajo  ( 2020-12-14 16:22:50 -0500 )edit

I am facing the same issue. Can you help to recover my data bag file.

kunalparihar gravatar image kunalparihar  ( 2021-07-31 08:12:57 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-12-12 09:50:16 -0500

Seen: 536 times

Last updated: Dec 13 '20