I am getting rosbag error?
While writing rosbag I getting following error?
terminate called after throwing an instance of 'rosbag::BagIOException'
what(): Error reading version line
Aborted (core dumped)
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Asked: 2019-07-02 05:27:25 -0500
Seen: 1,030 times
Last updated: Jul 03 '19
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.
I updated function which writes the bag file.
Can you please update your question with formatted code using the preformatted text (
101010
) button? As it is, the code is not readable