- 博客(4)
- 收藏
- 关注
原创 新建ros消息类型,用rosbuild编译。
以ORB_SLAM2中的ROS文件夹下为例。 1、cd到ROS文件夹下的ORB-SLAM2文件夹,新建msg文件夹; 2、在msg中添加一个名为Images.msg的文件,添加如下: # use this header as both RGB & Depth header std_msgs/Header header # not use rgb/depth own header(...
2020-01-06 19:01:46
401
原创 编译高博ORBSLAM2_with_pointcloud_map,ros下用kinect进行测试。
接着上一篇,完成上一篇配置后继续: 1、Kinect驱动安装,不多说 2、cd到程序根目录,添加build_ros.sh文件,内容如下: echo "Building ROS nodes" cd Examples/ROS/ORB_SLAM2 mkdir build cd build cmake .. -DROS_BUILD_TYPE=Release make -j 然后将/usr/l...
2019-12-29 18:03:07
970
1
原创 编译高博ORBSLAM2_with_pointcloud_map,用TUM数据集测试。
1、下载源代码 git clone https://github.com/gaoxiang12/ORBSLAM2_with_pointcloud_map.git 2、 cd ORBSLAM2_with_pointcloud_map 解压文件,出现两个文件夹: 将这两个文件夹拷贝到上级文件,其他文件夹删除。 编译g2o_with_orbslam2: cd g2o_with...
2019-12-27 19:29:43
1312
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
989
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅