Advertisement

在pcl中加入kinect2驱动包libfreenect2 grabber

阅读量:

1 首先获取源代码

可选择直接前往作者提供的官方网站,下载已集成libfreenect驱动程序的源代码

复制代码
    gitclone

可前往pcl官方网站获取源代码

复制代码
    gitclonehttps://github.com/PointCloudLibrary/pclpcl-trunk

参考

https://github.com/PointCloudLibrary/pcl/pull/1410/files

一一进行调整(此过程有助于掌握作者的修改思路)

2 FindFreenect2.cmake文件的调整

依据 libfreenect2安装路径中的/home/cbc/freenect2/lib/cmake/freenect2/freenect2Config.cmake文件内容进行相应修改

复制代码
 # - Try to find Freenect2

    
 # Once done this will define
    
 #
    
 #  FREENECT2_FOUND - system has Freenect2
    
 #  FREENECT2_INCLUDE_DIRS - the Freenect2 include directory
    
 #  FREENECT2_LIBRARY - Link thes

全部评论 (0)

还没有任何评论哟~