Re: RTABMAP on a robot with client side visualization

Posted by mwolf on
URL: http://official-rtab-map-forum.206.s1.nabble.com/RTABMAP-on-a-robot-with-client-side-visualization-tp3843p3849.html

Thanks for your fast answer Mathieu!

You are right. What I tried did not make any sense as the datatypes are different.

I launched your launchfile but I got the error as well?

[ERROR] [1510149649.835704749]: Client [/rtabmap/rtabmapviz] wants topic /rtabmap/mapData to have datatype/md5sum [rtabmap_ros/MapData/150da8e574f437839a50106f27c0e364], but our version has [rtabmap_ros/MapData/e04ef599b004428f358363f9dff993b8]. Dropping connection.

Also if I do
rostopic echo /rtabmap/mapData

on my client it produces the error again:

[ERROR] [1510149889.426732158]: Client [/rostopic_4028_1510149835094] wants topic /rtabmap/mapData to have datatype/md5sum [rtabmap_ros/MapData/150da8e574f437839a50106f27c0e364], but our version has [rtabmap_ros/MapData/e04ef599b004428f358363f9dff993b8]. Dropping connection.

I guess this is caused by some the different machines is using s different definitions for the same message type. Very likely this is because the message was modified but not compiled on one of the machines. So I am going to recompile the rtabmap binaries again. Will post if I get any results.

EDIT: I guess I found my problem! I did had two different rtabmap versions installed...

So I need to downgrade the rtabmap version I built from source.  I am now trying to build the correct version (indigo 11.8.) but it fails when I try to build rtabmap_ros in my catkin workspace after I built the standalone libraries.

Thanks for your help! I go it working. Was totally my bad!

Cheers, Moritz