Solutions of Installing for SLAM Project

(Solutions of Installing for SLAM Project(ubuntu 14.04))

Recenly i reinstalled my linux system, because confronted with main system’s problem and suddenly continued to stop when i boot my linux system. After reinstall, discovered some errors in my blog’s tutorial.

Ceres solver

Several weeks ago when i make about this package’s tutorial, also i couldn’t solved, even several hours ago. after many days finally i found the solution
Maybe some guys also faced this kind of problem.

when you typed “make” command, happened errors with “eigen matrix” ,so give some solution.

The step is almost same with the other guys tutorial.

git clone https://ceres-solver.googlesource.com/ceres-solver

And also you can install another way

http://ceres-solver.org/ceres-solver-1.13.0.tar.gz
sudo apt-get install cmake libgoogle-glog-dev libatlas-base-dev libeigen3-dev libsuitesparse-dev
sudo add-apt-repository ppa:bzindovic/suitesparse-bugfix-1319687
sudo apt-get update

and extract ceres solver’s package,

tar zxf ceres-solver-1.13.0.tar.gz

and make 2 diretorys, “ceres” and “ceres-bin”, “ceres” is top dicrectory, put “ceres-bin” into ceres folder, And also put this folder that you extracted.

like this.

/home/vrlab925/Pictures/Screenshot from 2019-11-29 17:16:39.png

and enter to ceres-bin directory, and type this command

cmake ../ceres-solver-1.13.0

after this command, type it

make 
make test
sudo make install

and type it this command.

bin/simple_bundle_adjuster ../ceres-solver-1.13.0/data/problem-16-22106-pre.txt 

Then you’re system is would be ready to use.

Install ROS-kinectic package

For install ROS package, need to this step,

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
udo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116

And getting public key, but comes out this errors,
W: GPG error: http://packages.ros.org trusty InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654

use this command, i solved this problem

sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

And type follow to this command

sudo apt-get install ros-indigo-desktop-full

sudo rosdep init

rosdep update

source ~/.bashrc

sudo apt-get install python-rosinstall

Install libfreenect package

For install this package, you need install basement package

sudo apt-get install autotools-dev ccache doxygen dh-autoreconf git liblapack-dev libblas-dev libgtest-dev libreadline-dev libssh2-1-dev pylint clang-format-3.8

git clone https://github.com/OpenKinect/libfreenect.git
cd libfreenect
mkdir build
cd build
cmake ..
make

But would be face this problem when you in “make” step especially at 94% ,
go to libfreenect folder, open cmakelist.txt .

and change this content in line 119.

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

then you can finish to install.

REFERENCE

[1]: https://www.ncnynl.com/archives/201801/2273.html
[2]: https://blog.csdn.net/setella/article/details/82897841
[3]: https://blog.csdn.net/xy1361212098/article/details/95312503

springboot003基于Springboot+Vue的图书个性化推荐系统的设计与实现毕业源码案例设计 1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。 1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。 1、资源项目源码均已通过严格测试验证,保证能够正常运行; 2、项目问题、技术讨论,可以给博主私信或留言,博主看到后会第一时间与您进行沟通; 3、本项目比较适合计算机领域相关的毕业设计课题、课程作业等使用,尤其对于人工智能、计算机科学与技术等相关专业,更为适合; 4、下载使用后,可先查看README.md或论文文件(如有),本项目仅用作交流学习参考,请切勿用于商业用途。 5、资源来自互联网采集,如有侵权,私聊博主删除。 6、可私信博主看论文后选择购买源代码。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值