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

md5 error for follow_joint_trajectory/result topic between matlab and ros indigo

asked 2016-11-14 21:43:59 -0500

TyrionZK gravatar image

Hi, I have a 7-dof manipulator being simulated in the gazebo. Now I am trying to move it through follow_joint_trajectory action interface in matlab. When I send the goal after creating the actionclient, seven_dof_arm/seven_dof_arm_joint_controller/follow_joint_trajectory, the model in the gazebo succeeds in moving to the desired pose. But then some error appears in the terminal. It is shown as follow.

[ERROR] [1479176827.080220708, 3.214000000]: Client [/matlab_global_node_16201] wants topic /seven_dof_arm/seven_dof_arm_joint_controller/follow_joint_trajectory/result to have datatype/md5sum [control_msgs/FollowJointTrajectoryActionResult/bce83d50f7bb28226801436caf0e2043], but our version has [control_msgs/FollowJointTrajectoryActionResult/c4fb3b000dc9da4fd99699380efcc5d9]. Dropping connection.

As it shows, the md5sum of message control_msgs/FollowJointTrajectoryActionResult in matlab and ros indigo are different. How to fix this error? Thanks very much.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-11-15 01:09:20 -0500

mgruhler gravatar image

This is a question that has been asked quite often: http://answers.ros.org/questions/scop...

Long story short, either the message/service/action definition on the different PCs (I'm assuming you are running this on different PCs) is different (note that they need to be exactly the same) or you are mixing ROS distributions whicht could lead to md5 differences due to changes to the code generation.

Make sure you are using the same ROS distro, make sure you have the same message/service/action definition and recompile if you change them

edit flag offensive delete link more

Comments

Thanks for your time. I see your point. While I can update my packages by executing the command "sudo apt-get install ros-indigo-control-msgs --reinstall", how can I update the message definition in the matlab2016b? I am not able to find the message/service/action definition in the matlab.

TyrionZK gravatar image TyrionZK  ( 2016-11-15 04:27:50 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2016-11-14 21:03:05 -0500

Seen: 748 times

Last updated: Nov 15 '16