This is a Python project that utilizes the ROS (Robot Operating System) and Pandas libraries to process data from bag files and save the data on .csv files.
- Clone this repository.
git clone https://github.com/parisChatz/rosbag_parser.git
- Navigate into the project directory.
- Install the required Python packages using pip.
pip install -r requirements.txt
- Place your bag file(s) in a folder.
- Run the script using the following command:
python3 rosbag_parser.py /path/to/rosbag/folder
- This creates csvs for each rosbag, with the same name and will be saved in the rosbag directory.
This script allows you to convert rosbag files to csv format with a GUI. It uses rosbag_parser module to parse the rosbags.
- Run the script using the following command:
python3 rosbagconverter.py
- Use "Choose folder" button to select folder with rosbag files.
- Click on "Get Topics" button to get common topics on all rosbags inside the selected folder.
- Click on "Convert" button to start the conversion process.
- Converted CSV files will be saved in the same folder where rosbag files are present with the same name as the bags.