Ask Your Question
1

conversion of rosbag file format to rosbag2 file format.

asked 2019-01-31 06:52:13 -0500

kishornaik10 gravatar image

I have multiple rosbag (.bag) files stored, I want to use those files in ROS2 (.db3).
Is any tool available to convert the files directly compatible to ROS2?

Currently, I am using ros1bridge, but it will be good if tool is there to help.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-02-01 13:51:14 -0500

Karsten gravatar image

there is currently no explicit command line tool which converts from ros1 to ros2. however, the current rosbag2 cli allows to replay ros1 bag files and can thus be used to record a new ros2 bag file based on the replay of ros1.

you can find a bit of documentation here on how to replay ros1 bag files: https://github.com/ros2/rosbag2/tree/...

that being said, the api is functional enough to replay ros1 bag files and i believe it shouldn't be too hard to develop a real conversion tool for it based on that API.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2019-01-31 06:52:13 -0500

Seen: 157 times

Last updated: Feb 01