Re: Mapping performance and hallway problems with Kinect 2

Posted by Wezza on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Mapping-performance-and-hallway-problems-with-Kinect-2-tp3956p4165.html

Hi Mathieu

i changed everything as you said and it worked just fine.

Yesterday I had to update (apt-get update and apt-get upgrade) the remote system after a Ubuntu boot loop error. Now, when i start rviz on my remote computer, the following error occurred:

[ERROR] [1516105333.833028903]: PluginlibFactory: The plugin for class 'rtabmap_ros/MapCloud' failed to load.  Error: Failed to load library /home/bjorn/catkin_ws/devel/lib//librtabmap_ros.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libopencv_core3.so.3.2: Cannot open the shared object file: file or directory not found)

I think the error occurs because there is an additional slash in the path (catkin_ws/devel/lib//librtabmap_ros.so), so the path is incorrect. I don't know what caused the error, because I haven't changed anything. Could it have been caused by the ROS update from yesterday? Do you know how to fix it?

Best regards, Wezza

---------------------------------------------
Edit:

Oh god, sorry.
I just rerun catkin_make and it fixed the problem.

Best regards, Wezza