Closed
Description
I am trying to run rosbag_kitti.launch on a rosbag which contains sensor::PointCloud2
message. Using Ubuntu 20.04, ROS Noetic.
On running rosbag, I am getting --
[ERROR] [1645128512.247642039]: Client [/ros_kitti_bhooshan_Legion] wants topic /os_cloud_node/points to have
datatype/md5sum [patchwork/node/8ffdb3dcfd475161209f2ce2c04a5bcc], but our version has
[sensor_msgs/PointCloud2/1158d486dd51d683ce2f1be655c3c181]. Dropping connection.
According to internet there is a mismatch in what the subscriber is asking for and what my rosbag is publishing. The same rosbag works well on pub_for_legoloam.launch
. I compared the two files and found out the difference being line 150 in rosbag_kitti.cpp
:
ros::Subscriber NodeSubscriber = nh.subscribe<patchwork::node>("/node", 5000, callbackNode);
and line 90 on pub_for_legloam.cpp
:
ros::Subscriber NodeSubscriber = nh.subscribe<sensor_msgs::PointCloud2>("/node", 5000, callbackNode);
That's what I think on a primary check. Can you help? You can try running any rosbag with PointCloud2 msgs and try running it with rosbag_kitti.launch
. Could it be due to ROS Noetic??
Metadata
Metadata
Assignees
Labels
No labels