slam学习
久留1906
这个作者很懒,什么都没留下…
展开
-
error: ‘struct FRAME’ has no member named ‘frameID’ f.frameID = index;
在include/slamBase.h里(下图红框处)加上:int frameID;原创 2021-04-21 21:57:32 · 419 阅读 · 0 评论 -
error: no matching function for call to ‘g2o::OptimizationAlgorithmLevenberg::OptimizationAlgorithmL
在高翔的一起做RGB-D SLAM(6)中error: no matching function for call to ‘g2o::OptimizationAlgorithmLevenberg::OptimizationAlgorithmLevenberg(SlamBlockSolver*&)’orithmLevenberg* solver = new g2o::OptimizationAlgorithmLevenberg(blockSolver);解决方案:还是g2o更新的问题。在s原创 2021-04-21 17:48:15 · 1193 阅读 · 3 评论 -
OpenCV Error: Assertion failed (confidence > 0 && confidence < 1) in run,ptsetreg.cpp, line 178
Bug全内容:OpenCV Error: Assertion failed (confidence > 0 && confidence < 1) in run, file /home/chenzhe/soft/opencv-3.1.0/modules/calib3d/src/ptsetreg.cpp, line 178terminate called after throwing an instance of ‘cv::Exception’what(): /home/ch原创 2021-04-20 20:41:32 · 282 阅读 · 0 评论 -
错误recipe for target ‘CMakeFiles/Mono.dir/all‘ failed
set(LIBS${OpenCV_LIBS}${EIGEN3_LIBS} ${Pangolin_LIBRARIES}${PROJECT_SOURCE_DIR}/../../../Thirdparty/DBoW2/lib/libDBoW2.so${PROJECT_SOURCE_DIR}/../../../Thirdparty/g2o/lib/libg2o.so${PROJECT_SOURCE_DIR}/../../../lib/libORB_SLAM2.so-lboost_system)原创 2021-04-09 14:23:40 · 3747 阅读 · 2 评论 -
ORB_SLAM2编译常见错误
1.解决ORB-SLAM2编译死机问题vim build.sh,在最后将 -j 取消掉。2.解决usleep问题在include里面的system.h加入#include<unistd.h>3.运行./build.sh4.修正错误Failed to invoke rospack to get compile flags for package ‘ORB_SLAM2’.sudo gedit ~/.bashrc修改bashrc,在其末端加入export ROS_PACKAGE_PATH原创 2021-04-09 14:18:33 · 1797 阅读 · 0 评论 -
ubuntu18.4安装ORB_SLAM2教程
ubuntu18.4安装ORB_SLAM2教程1.更新apt库,安装gccapt-get updatesudo apt install build-essential该命令将安装一堆新包,包括gcc,g ++和make。要验证GCC编译器是否已成功安装:gcc --version2.安装git,用于从Github上克隆项目到本地 sudo apt-get install git3.安装cmake,用于程序的编译源码安装步骤tar -xvf cmake-3.16.8.tar 解压原创 2021-04-09 14:12:41 · 336 阅读 · 0 评论