I am getting rosbag error?

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

prajyot gravatar image

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

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

1

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 imageahendrix ( 2019-07-02 10:31:12 -0600 )edit

I updated function which writes the bag file.

prajyot gravatar imageprajyot ( 2019-07-03 00:26:23 -0600 )edit

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 imagejayess ( 2019-07-03 01:23:23 -0600 )edit