-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A way to convert ros2 bags from one distribution to another #1895
Comments
Do you mean converting rosbag with different file formats? Like converting a SQLite3 formatted bag from older ROS2 distributions to an MCAP formatted bag using the ros2 bag cli ? |
Probably No. I think @chesterrc wants to ask if the bag recorded by Rolling can be played by Humble or vice versa. Because I got a similar request recently. Do you have any suggestions? |
1 similar comment
Probably No. I think @chesterrc wants to ask if the bag recorded by Rolling can be played by Humble or vice versa. Because I got a similar request recently. Do you have any suggestions? |
Currently, the bag recorded by Humble can be replayed by all of its successor's distros up to the latest Rolling. We keep backward compatibility. One can see differences in a different version of metadata in unit tests https://github.com/ros2/rosbag2/blob/rolling/rosbag2_storage/test/rosbag2_storage/test_metadata_serialization.cpp |
Oh,thank you for your quick reply!I will try this solution later! Cheers 🍻 |
Hi MichaelOrlov, after I followed your method, but it still doesn't work. This is the printing of the operation process.
Now I have an idea, take the ros2bag of version |
@jin3qin Can you share some example bag recorded on |
@MichaelOrlov Thank you for your reply, I can provide you with the |
@jin3qin The best way to share a bag file is to upload it somewhere with public access and put a link here in the thread. |
@MichaelOrlov Hi, The recorded bag access link is as follows |
@jin3qin Quick fix. try to manually edit metadata.yaml file by clearing |
@MichaelOrlov Thank you very much, I made it ! I delete the I express my gratitude once again.🍻🍻 |
@jin3qin The reason why it was failing on However, It could be possible to partially backport #1476 to support a new QoS format on a Humble. Needs to spend some effort and time on it. |
Why is this? Isn't the bag standardized? Or is it just the translation that is missing? |
The main reason is the absence of a backport of #1476 in the Humble. |
Description
A ros2 CLI tool to convert bag files to different distributions would be really helpful for collaborating with other users who have different ros2 distributions.
Related Issues
N/A
Completion Criteria
Argument in the CLI that would allow the conversion between different ROS2 distributions.
Implementation Notes / Suggestions
I would think that we want example metadata.yaml files of how different ROS2 distributions store their data as some sort of boilerplate.
The text was updated successfully, but these errors were encountered: