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

How to repair a rosbag file download missing some parts

asked 2018-07-31 10:10:24 -0500

I have a big size (few gigas) rosbag file , I download earlier, and then find out it is missing some info like the image ( form rqt_bag) shows:

https://drive.google.com/open?id=1Jmm...

the problem is my Internet connection will take (forever) time to download it form start ,

Is there any way to download only the missing parts?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-07-31 10:20:03 -0500

ahendrix gravatar image

Missing parts within a file is never a problem with modern download tools (wget, web browsers, etc). They all use multiple levels of checksums and hashes to ensure that files are downloaded correctly.

The ROS bag format also includes internal checksums that and you would be unable to open the bag file at all if part of it was missing.

In your case, it actually looks like there we no messages published on those topics for a short period of time. rqt_bag draws a vertical blue line on each topic for each message that is published. For most bag files these lines blend together, but in some cases you can see gaps where the publisher did not send any messages (or where messages were dropped because the bag recorder was overloaded).

edit flag offensive delete link more

Comments

ok , that's interesting, I like the recorder overloading theory, because the camera always send images (why stop in the middle?), I will contact the the people that set these rosbag to make sure, .. if the error from rosbag downlaod , I will leave the question unanswered

engyasin gravatar image engyasin  ( 2018-07-31 10:27:34 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2018-07-31 10:10:24 -0500

Seen: 400 times

Last updated: Jul 31 '18