I am getting rosbag error?

asked 2019-07-02 05:27:25 -0500

prajyot gravatar image

updated 2019-07-03 08:13:54 -0500

While writing rosbag I getting following error?

terminate called after throwing an instance of 'rosbag::BagIOException'
 what():  Error reading version line
Aborted (core dumped)
edit retag flag offensive close merge delete

Comments

2

This is probably a bug in your code. Unfortunately, you haven't provided enough information for me to give a useful answer. Please refer to the support guidelines and consider updating your question with the code that writes the bag file, or a minimal code example that reproduces the same problem.

ahendrix gravatar image ahendrix  ( 2019-07-02 10:31:12 -0500 )edit

I updated function which writes the bag file.

prajyot gravatar image prajyot  ( 2019-07-03 00:26:23 -0500 )edit
1

Can you please update your question with formatted code using the preformatted text (101010) button? As it is, the code is not readable

jayess gravatar image jayess  ( 2019-07-03 01:23:23 -0500 )edit