unindexed bag using RQT

asked 2019-03-21 06:07:29 -0500

gpicardi gravatar image

Dear all,

I recorded a big bag file (around 240MB) using the RQT logging GUI. The publisher nodes are on a robot and the rqt is running on my PC. Due to un emergency I had to close RQT when the record was still ongoing. The bag file was created on my PC anyways, however it is unidexed (i.e. I get the following error when I try to play it rosbag.bag.ROSBagUnindexedException: Unindexed bag). So I followed the trobleshooting and did rosbag reindex which created another bagfile with same dimensions but apparently empty.

Is there any way of fixing this problem , the data would be very useful for my research. Please let me now if you need more information from me. Many thanks in advance,

Giacomo

edit retag flag offensive close merge delete

Comments

Give us the output messages of the rosbag reindex command

VictorLamoine gravatar imageVictorLamoine ( 2019-03-22 06:28:20 -0500 )edit

Output of rosbag play on mydata.bag: giacomo@giacomo-SVF1521C4E:~/Scrivania$ rosbag play mydata.bag Output of rosbag reindex on mydata.bag: giacomo@giacomo-SVF1521C4E:~/Scrivania$ rosbag reindex mydata.bag mydata.bag 100% 229.3 MB 00:00

Output of rosbag play on mydata_reindexed.bag: giacomo@giacomo-SVF1521C4E:~/Scrivania$ rosbag play mydata_reindexed.bag No messages to play on specified topics. Exiting.

Note that mydata.bag and mydata_reindexed.bag have the exact same dimension

Thanks!!!

gpicardi gravatar imagegpicardi ( 2019-03-22 07:03:02 -0500 )edit