Ubuntu18.04.5 ROS安装等记录
1 环境配置
1.1 Ubuntu18.04 英文转中文系统 和 无法中文输入问题
设置中的语言输入模块,没有 汉语(简体)
无法中文输入问题(安装上搜狗输入法都不行)看文献:
【Ubuntu】成功在Ubuntu18.04安装搜狗拼音输入法(无中文乱码)
1.2 环境配置
主看文献:【Linux配置二】Ubuntu18.04 配置并运行Vins_mono
注意:其中的Ceres不要按照里面的安装。我这出现了一些问题。不知道是不是我安装的问题。
所以,直接按照下面的安装,Ceres1.14.0
问题一:
fatal error: ceres/rotation.h: No such file or directory #include “ceres/rotation.h
中文
fatal error: ceres/local_parameterization.h: 没有那个文件或目录 #include "ceres/local_parameterization.h"
问题二:
按照上安装的ceres库版本,以及网上大多数教程安装的版本都会和eigen3(3.3.7)有冲突,编译时会报如下错误
/usr/local/include/ceres/internal/integer_sequence_algorithm.h:64:16: error: ‘integer_sequence’ is not a member of ‘std’
struct SumImpl<std::integer_sequence<T, N, Ns...>> {
上述解决方案:Ceres1.14.0
2 ROS安装
看文献:
主看:
Ubuntu18.04安装ROS Melodic(详细,亲测安装完成,有清晰的截图步骤)
ubuntu18.04安装ROS Melodic(最详细配置)
选择源都无所谓的,就是让自动选择也行的。主要是为了下载速度。
3 Vins-mono 运行
看文献Vins-mono部分: