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 kinect_registrations

edit CMakeLists.txt, add

add_definitions( -fexceptions )

it will work.

需要转载以及引用,请联系我授权,否则一律视为同意支付每一篇文章1000元人民币。

tag:  #ROS #kinect