Error advertising topic from rosbag play
I want to run a python node (classifier) and am subscribing to rosbag play xxx.bag. But running rosbag play xxx.bag throws the error down under. I can find the topic (Kombi_01) in rostopic list, but with rostopic echo there is no output.
[ERROR] [1688725419.716714188]: Client [/classifier_node] wants topic /X/Kombi_01 to have datatype/md5sum [package/Kombi_01_Msg/f7c9bb551c715aadf6a8b1242f150d4b], but our version has [package/Kombi_01_Msg/68b5200de69bb6bca25e6edcba0fc1fc]. Dropping connection.
Asked by chaco on 2023-07-07 05:39:22 UTC
Answers
Your bag file was likely generated with an older version of ros, for example kinetic.
One way to handle this is to install docker, then do your work inside the appropriate docker container. You can download a pre-built ros docker container, but you'll need to figure out which version of ros that you need.
Asked by Mike Scheutzow on 2023-07-09 10:07:28 UTC
Comments