![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ORB-SLAM2
Seven_in_Learning
这个作者很懒,什么都没留下…
展开
-
新建ros消息类型,用rosbuild编译。
以ORB_SLAM2中的ROS文件夹下为例。1、cd到ROS文件夹下的ORB-SLAM2文件夹,新建msg文件夹;2、在msg中添加一个名为Images.msg的文件,添加如下:# use this header as both RGB & Depth headerstd_msgs/Header header# not use rgb/depth own header(...原创 2020-01-06 19:01:46 · 342 阅读 · 0 评论 -
编译高博ORBSLAM2_with_pointcloud_map,ros下用kinect进行测试。
接着上一篇,完成上一篇配置后继续:1、Kinect驱动安装,不多说2、cd到程序根目录,添加build_ros.sh文件,内容如下:echo "Building ROS nodes"cd Examples/ROS/ORB_SLAM2mkdir buildcd buildcmake .. -DROS_BUILD_TYPE=Releasemake -j然后将/usr/l...原创 2019-12-29 18:03:07 · 864 阅读 · 1 评论 -
编译高博ORBSLAM2_with_pointcloud_map,用TUM数据集测试。
1、下载源代码git clone https://github.com/gaoxiang12/ORBSLAM2_with_pointcloud_map.git2、cd ORBSLAM2_with_pointcloud_map解压文件,出现两个文件夹:将这两个文件夹拷贝到上级文件,其他文件夹删除。编译g2o_with_orbslam2:cd g2o_with...原创 2019-12-27 19:29:43 · 1214 阅读 · 3 评论 -
运行ORBSLAM2_with_pointcloud_map时报错
报错信息:error: ‘CV_LOAD_IMAGE_UNCHANGED’ was not declared in this scope原因:新版本的OpenCV修改了接口名,将CV_LOAD_IMAGE_UNCHANGED 换为了 IMREAD_UNCHANGED解决方法:打开出错的.cc文件,添加头文件#include <opencv2/opencv.hpp>...原创 2019-12-05 19:49:23 · 844 阅读 · 0 评论