Re: Rtabmap error in process rtabmap/rgbd_odometry-1 - ubuntu on raspberry pi

Posted by matlabbe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Rtabmap-error-in-process-rtabmap-rgbd-odometry-1-ubuntu-on-raspberry-pi-tp444p456.html

Hi,

I've seen something like this on a laptop once. The workaround was to build rtabmap library in DEBUG mode.

But before, you can test if "rtabmap" alone works (if yes, the problem is on the rtabmap_ros package):
$ rtabmap

So how to build in Debug. First, cleanup your workspace:
$ cd catkin_ws
$ rm -r build devel

Build the library in Debug (and reinstall in the devel workspace):
$ cd rtabmap/build
$ cmake -DCMAKE_BUILD_TYPE=Debug ..
$ make
$ make install

I don't know if it is required that the package is in Debug too, but there how you can do that:
$ cd catkin_ws
$ catkin_make -DCMAKE_BUILD_TYPE=Debug

Hope it will help,
cheers