Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.04 KB

README_EN.md

File metadata and controls

60 lines (39 loc) · 1.04 KB

ros2bag_convert

Chinese | English

**Convert ROS2 Bag files to CSV, JSON, etc. **

I. Installation

Command line installation.

sudo pip install git+https://github.com/fishros/ros2bag_convert.git

Download and install.

git clone [email protected]:fishros/ros2bag_convert.git
cd ros2_convert
python3 setup.py bdist_wheel
sudo pip install dist/ros2bag_convert-0.1.0-py3-none-any.whl

II. Use

Currently only support converting data to csv format, the result will be output to xxx.db3 sibling directory.

ros2bag-convert xxxx.db3

Test command

Manually publish Pose data

ros2 topic pub test geometry_msgs/msg/Pose '{position:{x: 0.0,y: 0.0,z: 0.0}, orientation: {x: 0.0,y: 0.0,z: 0.0,w: 1.0}}'

record

ros2 bag record test

convert

ros2bag-convert xxxx.db3

Author.

Version Record

  • 20210830-V0.1.0
    • Completed basic conversion function
    • Known bug: Data is not exported by hierarchical expansion