unindexed bag using RQT
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
Asked by gpicardi on 2019-03-21 06:07:29 UTC
Comments
Give us the output messages of the rosbag reindex command
Asked by VictorLamoine on 2019-03-22 06:28:20 UTC
Output of rosbag play on mydata.bag: giacomo@giacomo-SVF1521C4E:~/Scrivania$ rosbag play mydata.bag [ INFO] [1553255785.497971210]: Opening mydata.bag [FATAL] [1553255785.498384713]: Error reading from file: wanted 1630680120 bytes, read 111212 bytes
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 [ INFO] [1553255795.689745521]: Opening 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!!!
Asked by gpicardi on 2019-03-22 07:03:02 UTC
I have the same problem. Did you record
/rosout
and/rosout_agg
? I only recorded some of the active topics.Asked by zweistein on 2019-11-07 10:07:18 UTC
did you find a solution for it?
Asked by azerila on 2020-09-26 11:25:11 UTC