Robotics StackExchange | Archived questions

Bag parser cannot find 'op' field

I get the following error sometimes when opening ROS bags with rxbag or parsing ROS bags via the API:

"expected "op" field in record".

This error is from line 1364 in http://ros.org/rosdoclite/groovy/api/rosbag/html/python/rosbag.bag-pysrc.html: raise ROSBagFormatException('expected "%s" field in record' % field).

I'm not sure what is causing the problem. I have noticed that it happens more frequently with large bag files (say, around 150mb), however it could be a coincidence.

Any thoughts appreciated.

Asked by amittleider on 2013-06-06 05:34:28 UTC

Comments

Can you find a bagfile where you can consistently reproduce the error? If yes, it would probably be good if you could upload the bagfile somewhere and file a bug report.

Asked by Martin Günther on 2013-06-08 00:01:28 UTC

Answers