Standalone RTABMAP not finding freenect2 driver :(
Posted by
dify1492 on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Standalone-RTABMAP-not-finding-freenect2-driver-tp8182.html
Hi,
So I have libfreenect2 driver installed on ~/ on Ubuntu18.04 and Protonect on ~/libfreenect2/build/bin works fine with my kinect v2. At this point I only have rtabmap built from source on my ~/rtabmap directory.
However, when I launch ~/rtabmap/bin/rtabmap and go under detection -> select source -> rgbd -> kinect v2 freenect2 driver is unavailable to use (colored in gray).
I am not sure how to specify cmake -Dfreenect2_DIR=$HOME/freenect2/lib/cmake/freenect2 for CMake based third-party application to find libfreenect2. I think that is my current problem I'm stuck at.
Can someone guide me how to get that correctly done so that when i build rtabmap from ~/rtabmap/build it'll find the correct freenect2 driver?
Right now here is what running cmake .. on ~/rtabmap/build shows about the Freenect2 location. And it shows With Freenect2 = YES.

Thanks!