Ubuntu 16.04 LTS 面向SLAM任務的基本安裝配置(更新中)
本文主要是為了記錄針對SLAM相關的project,在Ubuntu環境下的進行的包和環境配置。
Packages
1. Sougou Pinyin Input - Chinese
First, install "GDebi" with
sudo apt-get install gdebi
Then search and download the Sougou package for Ubuntu/Debian. Next, enter the correspoding folder and use
sudo gdebi sogoupinyin_2.2.0.0102_amd64.deb
to install Sougou Pinyin Input. At last, change the keyboard settings to add the sougou pinyin.
Remeber to restart or suspend to make it work.
2. C/C++ IDE
- Clion
- Kdevelop
Dependencies
Generally, after your installing dependencies/packages, the header files ('.hpp') are usually under the folder /usr/local/include/dependency_name/
, and the library files are usually under the folder /usr/local/lib/
. Therefore, when you finish installation steps, you could check whether the corresponding files are under the correct path. Or you could search some test code online to test if it could call packages and run correctly.
However, if you compile or run the specific code with errors on those packages, you should check the version of those necessary packages, and the pre-set path. If it still does not work, you could turn to your best friend -- Google to find the corresponding dependencies or alternatives to fix issues.
1. ROS
Refer to kinetic ROS
2. Pangolin
Refer to Pangolin
3. OpenCV
Refer to OpenCV and
Install OpenCV3 on Ubuntu
4. Eigen3
The first way is referring to Eigen, and download the Eigen2/3 package,then compile on the laptop。
Another way is using the following commands to install, but you should remeber to change the default path.
sudo apt-get install libeigen3-dev
cd /usr/include/eigen3
sudo cp Eigen -r /usr/include
5. Sophus
Sophus supports Lie Algebra, which is the C++ implementation of Lie Groups using Eigen. Here we would install the (non-template version) Sophus maintained by Strasdat.
Via the following command line instructions to install Sophus:
git clone https://github.com/strasdat/Sophus.git
cd Sophus/
git checkout a621ff
mkdir build
cd build
cmake ..
make
6. PCL (Point Cloud Library)
Refer to official guide in PCL, or use the following commands:
sudo apt-get install libpcl-dev
//install visualization tools and open a '.pcd' file
sudo apt install pcl-tools
pcl_viewer XXX.pcd
7. g2o
g2o is a very important package on graph (non-linear) optimization in SLAM applications. It requires Cmake and Eigen3.
First, on Ubuntu / Debian some other dependencies are resolved by installing the following packages:
sudo apt-get install libqt4-dev qt4-qmake libqglviewer-dev libsuitesparse-dev libcxsparse3.1.4 libcholmod3.0.6
Next, you should download g2o from github, unzip the file, enter the g2o folder with the following commands to compile this Cmake project:
mkdir build
cd build
cmake ..
make
sudo make install
Moreover, you may also refer to [1-3] to find more useful information about how to install and test g2o.
8. Ceres
Ceresis another very important package on non-linear optimization in SLAM applications besides g2o.
First, on Ubuntu / Debian some other dependencies are resolved by installing the following packages:
sudo apt-get install liblapack-dev libsuitesparse-dev libcxsparse3.1.4 libgflags-dev libgoogle-glog-dev libgtest-dev
Next, you should download g2o from github, unzip the file, enter the g2o folder with the following commands to compile this Cmake project:
mkdir build
cd build
cmake ..
make
sudo make install
9. DBoW2
Refer to DBoW2
However, it's normal that many popular SLAM repositories provide "DBoW2" in their 3rdparty folder.
Supported Open Source SLAM Systems after the above Configurations
- ORB-SLAM2
- 視覺SLAM十四講練習/practice code of the "14 lectures on visual SLAM",English Version,中文版
References:
相關文章
- Ubuntu 16.04 LTS 降級安裝GCC 4.8UbuntuGC
- ubuntu 16.04 lts 安裝intel realsense 步驟UbuntuIntel
- ubuntu 16.04 LTS安裝之後需要做的事Ubuntu
- 圖解 Ubuntu Server 16.04 LTS 上安裝 LAMP圖解UbuntuServerLAMP
- Ubuntu 16.04 LTS軟體包管理基本操作Ubuntu
- Ubuntu 16.04 下安裝配置caffeUbuntu
- ORB_SLAM2安裝編譯測試ubuntu16.04ORBSLAM編譯Ubuntu
- VM中的Ubuntu(16.04)安裝tenserflowUbuntu
- 環境 | ubuntu16.04系統安裝及基本軟體配置Ubuntu
- Ubuntu 16.04 環境安裝部署(更新版)Ubuntu
- Ubuntu16.04-hadoop3.1.0安裝與配置UbuntuHadoop
- Ubuntu 16.04 安裝 EmacsUbuntuMac
- Vagrant 安裝ubuntu 16.04Ubuntu
- Ubuntu 16.04安裝NginxUbuntuNginx
- Ubuntu 16.04 安裝 RedisUbuntuRedis
- Ubuntu 18.04 LTS安裝numbaUbuntu
- Ubuntu 14.04 LTS 安裝DockerUbuntuDocker
- Ubuntu 16.04 LTS收到重大核心更新:共計修復39處漏洞Ubuntu
- Install VSFTPD server in Ubuntu 16.04 LTSFTPServerUbuntu
- Ubuntu16.04LTS國內快速源Ubuntu
- UBUNTU16.04執行ORB SLAM2UbuntuORBSLAM
- Ubuntu 16.04 安裝 Mysql 8.0UbuntuMySql
- ubuntu16.04安裝rosUbuntuROS
- Ubuntu 16.04 上安裝 OrientDB!Ubuntu
- Ubuntu 16.04 安裝 JenkinsUbuntuJenkins
- VMware 安裝 Ubuntu Server 18.04.5 LTSUbuntuServer
- Ubuntu 16.04.2 LTS 安裝swoole模組Ubuntu
- ubuntu中ANT的安裝和配置Ubuntu
- Ubuntu 16.04 裝機後的配置要點Ubuntu
- ubuntu12.04 lts 安裝gcc 4.8UbuntuGC
- Ubuntu14.04 LTS下安裝jdkUbuntuJDK
- ubuntu 16.04中CAFFE配置步驟Ubuntu
- ubuntu 16.04安裝LNMP環境UbuntuLNMP
- 安裝kalibr Ubuntu16.04Ubuntu
- ubuntu16.04 下安裝mysqlUbuntuMySql
- Ubuntu16.04安裝、使用typoraUbuntu
- Ubuntu 16.04 安裝VSCodeUbuntuVSCode
- ubuntu16.04 下kvm安裝Ubuntu