Ubuntu 16.04 install iai-kinect2


目录

install libfreenect2, choose the (other) and don't forget to test bin/Pronect after install.

ATTENTION: I don't have NVIDIA or AMD graph card. It might be different if you use them.

PROBLEM

when you face this problem

/usr/local/include/opencv2/flann/saving.h:113:63: error: exception handling disabled, use -fexceptions to enable
         throw FLANNException("Invalid index file, cannot read");

run

roscd kinect2_registrations

edit CMakeLists.txt, add

add_definitions( -fexceptions )

it will work.

除非另有声明,本网站采用知识共享“ 署名-非商业性使用-相同方式共享 3.0 中国大陆 ”许可协议授权。

tag:  #ROS #kinect