Skip to content

ROS2 foxy version_Convert ROS2 bag files to CSV, JSON, etc.

License

Notifications You must be signed in to change notification settings

lidarmansiwon/ros2bag_convert_foxy

 
 

Repository files navigation

ros2bag_convert

中文 | English

将ROS2的Bag文件转换为CSV、JSON等。

一、安装

命令行安装:

sudo pip install ros2bag_convert

下载安装:

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

二、使用

目前仅支持将数据转换为csv格式,结果将输出到xxx.db3同级目录。

ros2bag-convert xxxx.db3

测试指令

手动发布Pose数据

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}}'

记录

ros2 bag record test

转换

ros2bag-convert xxxx.db3

作者

版本记录

  • 20210830-V0.1.0
    • 完成基础转换功能
    • 已知bug:数据未按层级展开输出

About

ROS2 foxy version_Convert ROS2 bag files to CSV, JSON, etc.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Shell 0.6%