-
Notifications
You must be signed in to change notification settings - Fork 0
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
Ouster-ROS ROS1-ROS2 bag files conversion scripts #2
base: ros2
Are you sure you want to change the base?
Conversation
Seem --output is not used: Perform all type registration and subsequent serialization and from rosbags.typesys import Stores, get_typestore typestore = get_typestore(Stores.ROS2_FOXY) Perform all type registration and subsequent serialization and from rosbags.typesys import Stores, get_typestore typestore = get_typestore(Stores.ROS2_FOXY) |
Yaml:
|
I update the code for the rosbag1 to 2 convertor. It now saves a db3 file and a yaml file. Whic appear correct. Define the message structure for Ousteridl_text = """ msg_text = """ Create a Typestore for ROS2 Humble and register custom message typestypestore = get_typestore(Stores.ROS2_HUMBLE) Register message types for Oustertypestore.register(get_types_from_idl(idl_text)) Register message types for ROS1ros1_msg_text = msg_text def convert(file_in, file_out):
if name == "main": I now get the following when trying to run the replay.launch.xml
|
The rosbag seems valid but does not play: and here is the yaml: `rosbag2_bagfile_information:
|
My bad i should have used the json file not the metadata.yaml for the metadata. ros2 topic list |
Summary of Changes
TODO(s)
Validation
OR