ros2 / ros1_bridge

ROS 2 package that provides bidirectional communication between ROS 1 and ROS 2
Apache License 2.0
421 stars 274 forks source link

ros1_brigde cannot convert ros1bag data into ros2bag because of Qos mismatch #432

Open Junjie-Luo opened 3 months ago

Junjie-Luo commented 3 months ago

Bug report

The following warning appeared in shell C: [WARN] [1712315463.273040201] [rosbag2_transport]: A new publisher for susbcribed topic /rosout was found offering RMW_QOS_POLICY_DURABILITY_VOLATILE, but rosbag2 already subscribed requesting RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL. Messages from this new publisher will not be recorded.

shell D: rosbag play kitti_2011_09_26_drive_0002_synced.bag #the kitti bag is a package that converts kitti stereo dataset raw through

kitti2bag and can be used normally in ros1

Steps to reproduce issue

< shell A: source /opt/rps/noetic/setup.bash roscore

shell B: source /opt/rps/noetic/setup.bash source /opt/rps/foxy/setup.bash export ROS_MASTER_URI=http://localhost:11311 ros2 run ros1_bridge dynamic_bridge –bridge-all-1to2-topics

shell C: source /opt/rps/foxy/setup.bash ros2 bag record -a -->