ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

how to use SIFTGPU and ORB in RGBDSLAM

asked 2012-08-02 01:56:41 -0500

Sudhan gravatar image

updated 2014-01-28 17:13:13 -0500

ngrennan gravatar image

I tried using SIFTGPU with rgbdslam to built a map. I launched rgbdslam.launch file for using SIFTGPU.

While, I tried mapping with this file. I got error -> Can't create OpenGL context! SiftGPU cannot be used.Detection of keypoints failed

NOTE: Also, in the launch file i don't understand the comment => If SIFTGPU is enabled in CMakeLists.txt, use SURF here

And I would like to use ORB in rgbdslam.

Any suggestions about this error and ideas to use ORB?

Thanks in advance for your suggestions.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2012-08-05 11:04:09 -0500

You need an X server with opengl enabled for SiftGPU to work. So you might not be able to use it when ssh'ing into another machine. To use ORB, just put ORB into the detector and extractor type parameters and BRUTEFORCE into the matcher parameter of your launch-file (see rgbdslam_sample_config.launch for a list of all available options, their names and their default values).

edit flag offensive delete link more


Now, I can use ORB. But I can't install X server for opengl.. Does using siftGPU or installing Xserver have any hardware requirements?

Sudhan gravatar image Sudhan  ( 2012-08-06 02:38:15 -0500 )edit

I guess not, if you have the mesa opengl implementation and there should be a xserver that runs without graphics cards. But if you don't have a hardware gpu you probably should rather use SIFT instead of SIFTGPU. How does ORB work out for you?

Felix Endres gravatar image Felix Endres  ( 2012-08-06 21:40:38 -0500 )edit

While, using SIFTGPU it gives one more error. 'detection of keypoints failed'. I used SIFT from bdslam_sample_config.launch.The map start to built but I got an error 'Non-Positive Mahalanobis Distance for vectors 4.2039e-45'. Is this a problem? Yes, ORB worked even in tougher environment.

Sudhan gravatar image Sudhan  ( 2012-08-07 05:32:38 -0500 )edit

The message 'detection of keypoints failed' is a consequence of the missing OpenGL context. I don't know what's the problem with the Mahalanobis distance, sorry. It should be safe to ignore. e-45 is pretty close to zero...

Felix Endres gravatar image Felix Endres  ( 2012-09-06 05:35:46 -0500 )edit

Hm, I don't know what's the problem there, sorry.

Felix Endres gravatar image Felix Endres  ( 2012-09-06 05:35:49 -0500 )edit

Question Tools


Asked: 2012-08-02 01:56:41 -0500

Seen: 1,285 times

Last updated: Aug 05 '12