'md5sum' object is changed automatically.
Hi, I have a trouble with md5sum
issue.
I have built two packages in roscpp and rosjave and both are connected with rossrv
.
In order to implement, I defined made a new package for defining .srv
file for a new message types.
When I added another message file in the same package, the problem comes to .
Suppose my .srv
file name is perception.srv
,
when I comment like $rossrv md5 perception
in console, it shows md5sum as 9d5d0f603573839f746e2437bd9a65b9
.
If I added another message file in the same package and compiled it, however, the md5sum of perception.srv
is changed and shows c628b5aaf5972bd40247658d5e46eebf
.
I want to know why it is changed like this and how to recover its original md5sum.
(p.s) Both packages, rosjava and roscpp, are in the same machine and also the message pacakage either. Even I have tried to remove devel
,build
files and rebuild catkin_ws
, nothing helpful.
isn't the command line
rossrv md5 package/service_type
?Hi,
rossrv md5 <service_type>
also works if the service_type is identity :).Well, I cannot reproduce this. The md5-sum gets calculated even when making a change to a srv, compiling, reverting, and compiling again. So the same content in the same package creates the same md5sum. Are you sure you haven't changed anything else? Can you share the srv files that cause the problem, or better yet, the full package, as well as the packages where you have problems with?
What the OP describes could happen if
perception.srv
actually includes another message, and changes are made to the included message. It would appear the hash ofperception.srv
changes "without changingperception.srv
itself". But that would expected.I don't read that in the question text though.