Skip to content

Instantly share code, notes, and snippets.

@marc-hanheide
marc-hanheide / bag2csv.py
Last active May 30, 2024 06:37
convert ROS bag to cvs files
'''
This script saves each topic in a bagfile as a csv.
Accepts a filename as an optional argument. Operates on all bagfiles in current directory if no argument provided
Usage1 (for one bag file):
python bag2csv.py filename.bag
Usage 2 (for all bag files in current directory):
python bag2csv.py