1.工作环境:
ubuntu16.04 GTX1070 CUDA10.1 PCL1.9.1
2.问题描述:
最近有关于kinectfusion的工程需求,源码编译pcl1.9.1通过后,在测试pcl_kinfu_largeScale时,kinect2正常打开,而后报错退出,同步深度和颜色失败。
3.报错信息
`~/pcl-trunk/build/bin$ pcl_kinfu_largeScale -r -et
.......
void pcl::io::openni2::OpenNI2Device::setSynchronization(bool) @ /home/xuxue/pcl-trunk/io/src/openni2/openni2_device.cpp @ 431 : Enabling depth color synchronization failed:
...
[pcl::visualization::ImageViewer::addRGBImage] No layer with ID='short_image' found. Creating new one...
[pcl::visualization::ImageViewer::addRGBImage] No layer with ID='rgb_image' found. Creating new one...``
4.考虑的原因
考虑是否kinect和目标物体无足够的空间,试着加大距离,未果;以及pcl是否正常读取kinect2数据.....
望各位大神赐教