RTABMAP launch is not detecting kinnect (Ubuntu)

classic Classic list List threaded Threaded
21 messages Options
12
Reply | Threaded
Open this post in threaded view
|

RTABMAP launch is not detecting kinnect (Ubuntu)

brunoeducsantos
This post was updated on .
 Hey,
When I launch Rtabmap the kinect camera is not found despite of it is listed on lsusb.
I did the cmake and make install smoothly.
Any reason why is happening ?

PS:
cmake log:
 Found Freenect: /usr/include
-- Found freenect2: /home/brunoeducsantos/freenect2/include
CMake Warning at cmake_modules/FindKinectSDK2.cmake:71 (message):
  Directory "" not found.
Call Stack (most recent call first):
  cmake_modules/FindKinectSDK2.cmake:119 (check_dir)
  CMakeLists.txt:270 (FIND_PACKAGE)


-- KinectSDK2_FOUND : FALSE
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

matlabbe
Administrator
Which driver do you use?
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

brunoeducsantos
freenect2
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

matlabbe
Administrator
Is Protonect working?
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

brunoeducsantos
In reply to this post by brunoeducsantos
BTW, I test protonec and it is working
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

matlabbe
Administrator
Can you copy/paste the error from the terminal here?
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

brunoeducsantos
In reply to this post by brunoeducsantos
do you think RTabMap is not finding the freenect2 ?
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

matlabbe
Administrator
If Freenect2 option is available under menu Detection->Select Source->RGB-D Camera->Kinect v2, it should open it. If not, there should be an error in the terminal.
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

brunoeducsantos
In reply to this post by matlabbe
Which error are you mentioning ? the log of rtab launching?
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

brunoeducsantos
The option is available .
The log is the following :

[ WARN] (2017-12-21 14:52:04.682) Parameters.cpp:817::readINI() Section "Core" in /home/brunoeducsantos/.rtabmap/rtabmap.ini doesn't exist... Ignore this warning if the ini file does not exist yet. The ini file will be automatically created when rtabmap will close.
[ INFO] (2017-12-21 14:52:05.118) PreferencesDialog.cpp:2136::writeSettings() modified Stereo/MaxDisparity = 128.0->99.99
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

matlabbe
Administrator
Something similar to this?
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

brunoeducsantos
It doesn't show any similar error. :(
I can understand why it isn't making the initialization :(
The only option is wrong installation or any freenect2 configuration.
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

brunoeducsantos
And I can't see the integrate console on Rtabmap
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

matlabbe
Administrator
So what happens when you click the Play/Start button?
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

brunoeducsantos
In reply to this post by brunoeducsantos
Should I be using the following path on freenect2:

/home/brunoeducsantos/freenect2/include
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

brunoeducsantos
In reply to this post by matlabbe
The play button is not available to click.
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

matlabbe
Administrator
Are you using rtabmap_ros?
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

matlabbe
Administrator
In reply to this post by brunoeducsantos
Sorry, didn't saw the screenshot in the email, you should do New database before.
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

matlabbe
Administrator
See https://github.com/introlab/rtabmap/wiki/Kinect-mapping tutorial. At the driver step, use Kinect v2->Freenect2 driver instead.
Reply | Threaded
Open this post in threaded view
|

Re: RTABMAP launch is not detecting kinnect (Ubuntu)

brunoeducsantos
It is working now. I didn't know about the database step.
Thanks a lot!
12