ORB SLAM2 ROS實時SLAM系統環境搭建

2021-08-31 18:38:03 字數 1121 閱讀 2510

operating system & kernel version

ubuntu16.04.5 lts        4.15.0-38-generic

ros version

ros kinetic kame 1.2.4

camera type

usb_cam驅動的攝像頭

gcc version

5.4.0

cmake version

3.3.2

opencv version

3.2.0

根據ubuntu的版本選擇ros的version,這裡的ubuntu的系統版本為ubuntu16.04.5 lts ,選擇的ros的version為ros kinetic kame,參見文獻1和文獻2的安裝教程,不再贅述。

usb_cam不僅僅支援uvc的裝置,v4l的裝置都支援,驅動安裝參見文獻3和文獻4的安裝教程。

將usb_cam的原始碼git clone到ros的工作空間catkin_ws的src目錄下:

git clone
返回catkin_ws目錄,make:

cd ..

catkin_make

參見文獻4、文獻5的安裝教程,注意orb-slam2的所需要的環境依賴,這裡所依賴的版本如下:

opencv version

v3.2.0

pangolin version

the latest version

eigen3  version

3.2.10(required at least 3.1.0.)

dbow2 version

use as default included in the thirdparty folder

g2o version

use as default included in the thirdparty folder

參見文獻6,以上依賴庫(除包含在orb_slam2資料夾中的dbow2和g2o外),均自己編譯安裝。

ros 不能再詳細的安裝教程

ubuntu 16.04 orb_slam2+ros+usb_cam+ar

orb-slam2的安裝與執行

ros 編譯ORBSLAM2時候,ros路徑問題

cmake error at cmakelists.txt 2 include include could not find load file core rosbuild rosbuild.cmake cmake error at cmakelists.txt 4 rosbuild init un...

ROS 編譯orbslam出錯,ros路徑問題

cmake error at cmakelists.txt 2 include include could not find load file core rosbuild rosbuild.cmake cmake error at cmakelists.txt 4 rosbuild init un...

編譯 ORB SLAM的ROS編譯

問題 問題分析 在網上搜了很多資料,有兩種 pip install rospkg 但是提示python2.7不在維護資訊,然後重新編譯沒成功 可能是由於ros和python3衝突導致的,需要切換python版本 bashrc新增環境變數 export pythonpath pythonpath us...