Search This Blog

Monday, November 25, 2019

Setting up ORB SLAM2 on Ubuntu



Setting up ORB SLAM2 on Ubuntu


1a) Install opencv with eigen option enabled  

Before make ensure eigen is set to ON  - can do this using cmake-gui (search for Eigen and specify directory)

e.g. hg clone https://bitbucket.org/eigen/eigen/


1b) then following these instructions for compiling OpenCV
https://www.pyimagesearch.com/2018/05/28/ubuntu-18-04-how-to-install-opencv/


2) Then install Orb Slam 2
https://github.com/raulmur/ORB_SLAM2

- if issue with Eigen director then can ty this:   sudo apt-get install libeigen3-dev
- if issues with usleep missing in .cc files then add this in each error file:

   #include

source:
    https://github.com/raulmur/ORB_SLAM2/issues/254

No comments: