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

Convert gps_common/GPSFix to sensor_msgs/NavsatFix ERROR

asked 2018-04-09 09:52:53 -0500

haysgh gravatar image

updated 2018-04-09 09:54:25 -0500


I am trying to convert datas wich have the type gps_common/GPSFixpublished to sensor_msgs/NavsatFix using gps_common but I get this error [ERROR] [1523278560.370485801]: Client [/fix_translator] wants topic /gps_fix to have datatype/md5sum [gps_common/GPSFix/3db3d0a7bc53054c67c528af84710b70], but our version has [gps_common/GPSFix/4018f638cb28b3222ad792aeab48f1b5]. Dropping connection. note that the datas are published by a bag file.


edit retag flag offensive close merge delete


Is the version of gps_common that you have installed locally the same as the version of gps_common which was installed on whatever device was used to collect the bagged data?

stevejp gravatar image stevejp  ( 2018-04-09 11:35:52 -0500 )edit

I don't have an idea about the version of gps_common used to collect the data. Assuming the two versions are different, is there a solution to overcome this problem like using another tool to do the conversion or creating my own node.

haysgh gravatar image haysgh  ( 2018-04-10 02:19:28 -0500 )edit

There's some info here on fixing md5sums in bag files. You could also upload a piece of the bag file so others can test.

stevejp gravatar image stevejp  ( 2018-04-10 11:20:23 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-04-11 02:02:06 -0500

haysgh gravatar image

Thank you stevejp for your answer. I managed to solve the problem by getting an old version of the package and add the fix_translator node because it was not included in the first releases. Also I think for others who might encounter the same problem and who don't want to waste their time in adding fix_translator node manually maybe a small change in the .xml file will solve the issue just change this line <version>0.1.7</version> and put the right version used in your bag file.

edit flag offensive delete link more

Question Tools


Asked: 2018-04-09 09:52:53 -0500

Seen: 1,080 times

Last updated: Apr 11 '18