I recorded a bag file using ROS 2 Jazzy and was able to play it back on the Jazzy machine without any issues. However, after copying the bag file to a machine running ROS 2 Humble, I encountered an error when trying to play it. The error message is: Exception on parsing info file: yaml-cpp: error at line 15, column 11: bad conversion The metadata.yaml file is as follows:
rosbag2_bagfile_information:
version: 9
storage_identifier: mcap
duration:
nanoseconds: 33682218527
starting_time:
nanoseconds_since_epoch: 1740716266541547131
message_count: 2688
topics_with_message_count:
- topic_metadata:
name: /ultrasound
type: sensor_msgs/msg/Range
serialization_format: cdr
offered_qos_profiles:
- history: unknown
depth: 0
reliability: reliable
durability: volatile
deadline:
sec: 9223372036
nsec: 854775807
lifespan:
sec: 9223372036
nsec: 854775807
liveliness: automatic
liveliness_lease_duration:
sec: 9223372036
nsec: 854775807
avoid_ros_namespace_conventions: false
type_description_hash: RIHS01_b42b62562e93cbfe9d42b82fe5994dfa3d63d7d5c90a317981703f7388adff3a
message_count: 2688
compression_format: ""
compression_mode: ""
relative_file_paths:
- rosbag2_2025_02_28-12_17_46_0.mcap
files:
- path: rosbag2_2025_02_28-12_17_46_0.mcap
starting_time:
nanoseconds_since_epoch: 1740716266541547131
duration:
nanoseconds: 33682218527
message_count: 2688
custom_data: ~
ros_distro: jazzy
Could you please advise on how to resolve this issue? Should I update the Humble system to Jazzy?
Thanks a lot. yazou
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745044181a4607992.html
评论列表(0条)