Ask Your Question

Revision history [back]

Ok. This could be a couple things. You didn't finish a bag file, so fix the bag:

rosbag reindex 2012-07-06-11-13-31.bag.active

To take the bag file and make it record to a different name, try this:

rosbag record /camera/depth/points -O Camera.bag

The first command makes the bag file playable (the laptop probably shut down in the middle of a run).

The second one tells rosbag to record to a different file name.

This could also be a problem with your version of rosbag. Which rosbag are you using? Which OS? Ros version?

Or, you could be recording your bag file in a place you don't have write permissions. Try recording it in the home directory.

Hope this helps!