ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

How does rosmsg md5 calculate the md5sum?

asked 2016-05-04 18:52:10 -0600

cardoso gravatar image

updated 2018-01-30 23:07:06 -0600

tfoote gravatar image

Hello!

I need to communicate through ros topics between two different ros versions. One of the msgs depends on trajectory_msgs which has changed between versions so it gives a md5sum error. To overcome this I tried to add the old version of trajectory_msgs to my catkin workspace and recompile. The output of rosmsg shows that after I source my workspace, the msg changes but the md5 does not, any ideas?

$~/indigo_ws$ rosmsg show trajectory_msgs/JointTrajectoryPoint 
    float64[] positions
    float64[] velocities
    float64[] accelerations
    float64[] effort
    duration time_from_start

$~/indigo_ws$ rosmsg md5 trajectory_msgs/JointTrajectoryPoint 
f3cd1e1c4d320c79d6985c904ae5dcd3
$~/indigo_ws$ source devel/setup.bash 
$~/indigo_ws$ rosmsg md5 trajectory_msgs/JointTrajectoryPoint 
f3cd1e1c4d320c79d6985c904ae5dcd3
$~/indigo_ws$ rosmsg show trajectory_msgs/JointTrajectoryPoint 
    float64[] positions
    float64[] velocities
    float64[] accelerations
    duration time_from_start

$~/indigo_ws$ rosmsg md5 trajectory_msgs/JointTrajectoryPoint 
f3cd1e1c4d320c79d6985c904ae5dcd3
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-01-31 01:07:56 -0600

tfoote gravatar image

The name is not included in the md5sum only the content.

See the overview of how to compute the difference here: http://wiki.ros.org/ROS/Technical%20O...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-05-04 18:52:10 -0600

Seen: 3,996 times

Last updated: Jan 31 '18