How do I check that rosbag message is correct version?

asked 2023-01-08 14:39:54 -0500

guiltySpark85 gravatar image

updated 2023-01-08 14:45:24 -0500

I have a program that reads in a rosbag and does something with a custom ROS message. Occasionally the ROS message definition changes and can produce unexpected results if the code was compiled with an older definition of that message. How can I implement error checking to verify that the ROS messages in the rosbag match the ROS message definition that my code was compiled with? Can I do this by checking md5sums? I am working with a pcl::Pointcloud template if that makes any difference.

edit retag flag offensive close merge delete

Comments

Please edit your description to show us the exact ros .msg file you are using. As far as I know, pcl::PointCloud<T> is not a ros message. You edit using the "edit" button near the end of the description.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2023-01-10 07:32:46 -0500 )edit