Message MD5 generation
Hi all,
for my ROS project I need to get MD5 checksum of messages from their .msg files. Following documentation this should be quite simple. I just get the .msg file with:
- comments and whitespace removed;
- package names of dependencies removed;
- constants reordered ahead of other declarations;
- MD5 text of dependency concatenated,
and calculate MD5 on it.
So, for std_msgs/String, the MD5 should be calculated on:
stringdata
and the MD5 be:
cb6d1e784571bbf6f218efb801675fb6
Instead the generated message in my Hydro installation has MD5 (rosmsg md5 std_msgs/String):
992ce8a1687cec8c8bd883ec73ca41d1
Can one help me to understand what is wrong?
Thanks a lot Alessandro
EDITED
See https://github.com/ros/genmsg/blob/in... and https://github.com/ros/genmsg/blob/in...
Thanks to gvdhorn!