系统:Ubuntu20.04
一、安装imu_tk
(一)安装ceres-solver 2.1.0,要求C++17,Cmake 3.10或以上,Eigen 3.3或以上 网址:ceres-solver.org
- 1、
git clone https://ceres-solver.googlesource.com/ceres-solver
- 2、安装依赖
# CMake sudo apt-get install cmake # google-glog + gflags sudo apt-get install libgoogle-glog-dev libgflags-dev # Use ATLAS for BLAS & LAPACK sudo apt-get install libatlas-base-dev # Eigen3 sudo apt-get install libeigen3-dev # SuiteSparse (optional) sudo apt-get install libsuitesparse-dev
- 3、开始编译
- 3.1 (官方方法)
tar zxf ceres-solver-2.1.0.tar.gz
# clone成功该步不需要mkdir ceres-bin cd ceres-bin cmake ../ceres-solver-2.1.0 make -j3 make test # Optionally install Ceres, it can also be exported using CMake which # allows Ceres to be used without requiring installation, see the documentation # for th
- 3.1 (官方方法)