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

fmeccanici's profile - activity

2022-10-12 04:45:40 -0500 marked best answer Where does "rosmsg md5" get the md5sum from?

I am trying to get my robot to work with my pc, which have two different ROS versions (due to circumstances I am not able to upgrade the robot). Therefore in a message I use, the md5sum is different and it gives the following error:

Client [/move_group] wants topic /move_group/goal to have datatype/md5sum [moveit_msgs/MoveGroupActionGoal/af242119c3633849fe07bc300952a4c0], but our version has [moveit_msgs/MoveGroupActionGoal/df11ac1a643d87b6e6a6fe5af1823709]. Dropping connection.

I figured out that the .msg file on the robot has one line missing, which is present on the .msg file on my pc. This results in the md5 hash to be different. So I tried deleting the line in the .msg file on my pc and "catkin build" my package. Now running:

rosmsg show moveit_msgs/MoveGroupActionGoal | grep max_acceleration_scaling_factor

Gives me nothing, which means that this line is correctly deleted in the message. However when I now run:

rosmsg md5 moveit_msgs/MoveGroupActionGoal

It still gives me:

df11ac1a643d87b6e6a6fe5af1823709

Which means that it gets the md5sum from somewhere else. What I found is that in the "MoveGroupActionGoal.h" header file the md5sum is hard coded. Here I changed the return value in the MD5Sum from "df11ac1a643d87b6e6a6fe5af1823709" to "af242119c3633849fe07bc300952a4c0".

However after using "catkin build" in my package and again running:

rosmsg md5 moveit_msgs/MoveGroupActionGoal

Still gives me the wrong md5sum, hence my question is where does "rosmsg md5 moveit_msgs/MoveGroupActionGoal" gets its md5sum from? Apparently not from the .msg file and not from the header file. Thanks a lot in advance for answering.

2021-06-11 06:57:28 -0500 received badge  Nice Question (source)
2020-05-10 16:47:24 -0500 received badge  Student (source)
2019-06-24 13:15:39 -0500 received badge  Famous Question (source)
2019-06-24 13:15:39 -0500 received badge  Notable Question (source)
2019-06-24 13:15:39 -0500 received badge  Popular Question (source)
2019-03-28 04:21:54 -0500 received badge  Enthusiast
2019-03-20 11:08:47 -0500 asked a question Where does "rosmsg md5" get the md5sum from?

Where does "rosmsg md5" get the md5sum from? I am trying to get my robot to work with my pc, which have two different RO