RGBDSLAM 运行出错:terminate called after throwing an instance of 'pcl::IOException'
来源:互联网 发布:创维5t36数据 编辑:程序博客网 时间:2024/06/06 07:50
在学习高博士一起做RGBDSLAM2时,遇到一些问题,现在记录下来:
由于安装了OpenCV 3.2.0,所以在编译的时候,每次需要添加一下cmake路径:
cmake -DCMAKE_PREFIX_PATH=/home/limz/Cmake_module/opencv-3.2.0/build ..
中间的路径是opencv安装的路径;
运行时出错,提示:
point cloud size = 0
terminate called after throwing an instance of 'pcl::IOException'
what(): : [pcl::PCDWriter::writeASCII] Input point cloud has no data!
已放弃 (核心已转储)
出现问题的原因是对空指针进行操作,分析之后发现,没有对图像进行处理,所以没有对点云赋值,点云指针就是空指针。
解决办法,在包含data文件夹路径下运行程序
2 0
- RGBDSLAM 运行出错:terminate called after throwing an instance of 'pcl::IOException'
- terminate called after throwing an instance of 'boost::thread_resource_error' what()
- terminate called after throwing an instance of 'std::string'
- terminate called after throwing an instance of 'std::out_of_range'
- terminate called after throwing an instance of 'std::bad_alloc
- terminate called after throwing an instance of 'std::length_error
- Terminate called after throwing an instance of 'ros::serialization::StreamOverrunException'
- 运行时错误: terminate called after throwing an instance of 'std::out_of_range'
- 运行时错误:terminate called after throwing an instance of 'std::logic_error'
- 运行时错误:terminate called after throwing an instance of 'std::logic_error'
- 真机terminate called after throwing an instance
- terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr
- Deal with the error "terminate called after throwing an instance of 'std::bad_alloc'"
- 移植CERTI解决terminate called after throwing an instance of 'certi::NetworkError'
- terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check
- terminate called after throwing an instance of 'otl_tmpl_exception<otl_exc, otl_conn, otl_cur>`解决方法
- [aidl] terminate called after throwing an instance of 'std::logic_error' [aidl] what(): basic_string
- terminate called after throwing an instance of 'std::logic_error' [aidl] what(): basic_string
- Linux多线程编程
- JavaScript 数据类型
- UML九种图
- ubuntu中安装nginx并配置SSL
- 悬浮控件之Tablayout
- RGBDSLAM 运行出错:terminate called after throwing an instance of 'pcl::IOException'
- 20170217. OpenGL3 (绘制几何图形)
- PHP 生成短网址
- RStudio创建R程序包
- RTMP直播应用与延时分析
- LeetCode 31. Next Permutation
- BigDecimal 的那些坑事儿
- SmartRoute之远程接口调用和负载
- 学习资料