Hi, and thanks for providing this useful script!
I'm using your convert-ros1-to-ros2.py script on ROS2 Humble with the rosbags package version 0.9.23. My ROS1 bag file contains the topic /ouster/lidar_packets of type ouster_sensor_msgs/msg/PacketMsg.
However, when I run the script, I get this error:
rosbags.typesys.base.TypesysError: Type 'ouster_sensor_msgs/msg/PacketMsg' is unknown.
Even though the message is correctly installed and visible via:
ros2 interface list | grep ouster_sensor_msgs
I believe the issue is that the message type is not registered to the typestore, but your script doesn’t include this step.
Any suggestions or plans to update the script for ROS2 Humble and new rosbags versions that require explicit typestore usage?
Hi, and thanks for providing this useful script!
I'm using your convert-ros1-to-ros2.py script on ROS2 Humble with the rosbags package version 0.9.23. My ROS1 bag file contains the topic /ouster/lidar_packets of type ouster_sensor_msgs/msg/PacketMsg.
However, when I run the script, I get this error:
rosbags.typesys.base.TypesysError: Type 'ouster_sensor_msgs/msg/PacketMsg' is unknown.
Even though the message is correctly installed and visible via:
ros2 interface list | grep ouster_sensor_msgs
I believe the issue is that the message type is not registered to the typestore, but your script doesn’t include this step.
Any suggestions or plans to update the script for ROS2 Humble and new rosbags versions that require explicit typestore usage?