当前位置:网站首页>Lecture 6 of slam Lecture 14 -- nonlinear optimization
Lecture 6 of slam Lecture 14 -- nonlinear optimization
2022-06-22 16:20:00 【Light wind and light clouds_ Cauchy】
SLAM The fourteenth lecture 6 speak -- Nonlinear optimization
1. The dependent packages involved in the example
In the installation Ceres Before Library , The following dependent packages need to be installed in advance lapack、suitesparse、cxsparse3、 gflags、 google-glog、 gtest、metis.
2. compile ceres
- Download link
https://github.com/ceres-solver/ceres-solver - compile
mkdir build
cd build
cmake ..
make (option)-j8
sudo make test
sudo make install
- problem
The last two steps of the compilation were not performed , Lead to in /usr/local/include Can't find... In the directory ceres Folder ( Store header file ), as well as /usr/local/lib I can't find libceres.a The library files .
Perform the last two steps in the compilation , Just OK 了 .
3. Examples of nonlinear optimization
- cmake have a problem
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
G2O_CORE_LIBRARY
Forget to install g2o(General Graphic Optimization) Optimization Library . Brief introduction : A library based on graph optimization , Graph optimization is a theory that combines nonlinear optimization with graph theory .
- install g20 Dependency package
sudo apt-get install qt5-qmake qt5-default libqglviewer-dev-qt5 libsuitesparse-dev libcxsparse3 libcholmod3
- Download and compile g2o
git clone https://github.com/RainerKuemmerle/g2o
make build
cd build
cmake ..
make -j8
sudo make test
sudo make install
4. note





边栏推荐
猜你喜欢

SAP ABAP 数据字典教程 SE11:表、锁定对象、视图和结构 -03

数睿数据荣获第二届ISIG中国产业智能大会两项年度大奖

Odoo local document function development record

信创研究:国产数据库聚焦信创市场,华为Gauss有望成为最强

'不敢去怀疑代码,又不得不怀疑代码'记一次网络请求超时分析

84.(cesium篇)cesium模型在地形上运动

Uni develops wechat applet to customize automatic camera detection (portrait + ID card)

Linux安装mysql

C语言贪吃蛇

How to embody the value of knowledge management in business
随机推荐
Cmake tutorial series-00-introduction
jmeter关联登录302类型的接口
【山大会议】项目引入 Redux
Batch export excel zip using zipfile, openpyxl and flask
【山大会议】多人视频通话 WebRTC 工具类搭建
预约打新债到底安不安全呀?是不是靠谱的?
Navicat Premium 连接Oracle 数据库(图文教程)
Cross border integration, creativity and innovation to help improve the influence of cultural tourism night tour
Navicat premium connecting to Oracle database (Graphic tutorial)
Default function control =default and =delete
Uni develops wechat applet to customize automatic camera detection (portrait + ID card)
POD 类型
默认函数控制 =default 与 =delete
解决mysql远程登录报权限问题
Huawei cloud hcdez special session and Distributed Technology Summit: Huawei cloud distributed cloud native technology and Practice
Static assertion static_ assert
SAP ABAP 子屏幕教程:在 SAP 中调用子屏幕-010
CMake教程系列-00-简介
Basic knowledge of audio and video | analysis of ANS noise suppression principle
10款超牛Vim插件,爱不释手了