imu_tk配置教程(锁死ubuntu18.04,不要22.04)

在ubuntu18.04上安装。

imu_tk 的 cmake 必须要qt4.x,但 ubuntu22.04 和qt4.x不适配。

1、安装 ceres-solver

下载路径:http://ceres-solver.org/installation.html (需要梯子,核心内容记录如下。需下载 ceres-solver 安装包)

Start by installing all the dependencies.

bash 复制代码
# 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

We are now ready to build, test, and install Ceres.

bash 复制代码
tar zxf ceres-solver-2.2.0.tar.gz
mkdir ceres-bin
cd ceres-bin
cmake ../ceres-solver-2.2.0
make -j3    # 有的地方写 -j2,不清楚区别,先按官方的来
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 the EXPORT_BUILD_DIR option for more information.
sudo make install

2、安装imu_tk

下载路径:https://github.com/Kyle-ak/imu_tk

bash 复制代码
sudo apt-get install build-essential cmake libeigen3-dev libqt4-dev libqt4-opengl-dev freeglut3-dev gnuplot

cd imu_tk
mkdir build
cd build
cmake  ..
make

cmake不通过,debug

1、没有装boost

bash 复制代码
sudo apt-get update
sudo apt-get install libboost-all-dev

2、找不到eigin

参照:https://blog.csdn.net/qq_43872529/article/details/100937091

bash 复制代码
sudo ln -s /usr/include/eigen3/Eigen /usr/include/Eigen
相关推荐
记帖1 天前
STM32C5开发ISM330DHCX(9)--活动/静止检测
imu·mems·stm32cubemx2·stm32c542cct6·ism330dhcx
记帖1 天前
STM32C5开发ISM6HG256X(5)--运动唤醒检测
imu·mems·stm32cubemx2·stm32c542cct6·ism6hg256x
记帖2 天前
STM32C5开发ISM330DHCX(2)--中断获取陀螺仪数据
imu·mems·stm32cubemx2·stm32c542cct6·ism330dhcx
reikocao3 天前
IMU预积分讲人话:递推、协方差、零偏修正到底在算什么
slam·imu·预积分
记帖3 天前
STM32C5开发ISM6HG256X(8)--6D方向检测
imu·mems·stm32cubemx2·stm32c542cct6·ism6hg256x
记帖4 天前
STM32C5开发LSM6DSVE(10)--FIFO 水位中断与六轴数据读取
imu·mems·stm32cubemx2·stm32c542cct6·lsm6dsve
记帖5 天前
STM32C5开发ISM330DHCX(3)--配置单击与双击检测
imu·mems·stm32cubemx2·stm32c542cct6·ism330dhcx
记帖5 天前
STM32C5开发ISM330DHCX(4)--高级计步器、步数检测与步数计数
imu·mems·stm32cubemx2·stm32c542cct6·ism330dhcx
记帖5 天前
STM32C5开发LSM6DS3TR-C(9)--活动/静止检测
imu·mems·stm32cubemx2·stm32c542cct6·lsm6d3tr-c
记帖5 天前
STM32C5开发LSM6DSOW(10)--FIFO 水位中断与六轴数据读取
imu·mems·stm32cubemx2·stm32c542cct6·lsm6dsow