Basically I was testing recording data to a rosbag using a timestamp.
I noticed that every time I open and close the file it just rewrites the data, so I just leave the file open when the program starts and close it when it ends. However if I want to write to that same file it just overwrites all of the data.
How can I just append/add onto the same bag file?
Originally posted by newbsaibot on ROS Answers with karma: 1 on 2016-05-19
Post score: 0
Original comments
Comment by sai krishna on 2019-03-14:
I use rosbag to open a new bag file in append mode and it throws an ROSBagException : empty file any inputs how to solve this ?