1 installation
(The author installed evo1.1.2 by downloading the source code. The python version is 2. There is no need to switch to 3. It works in my personal test!)
python --version //确认当前python版本是否为2,若为3建议手动切换到2在进行安装
(Pay attention to the corresponding relationship between python and pip downloads. python2.7 uses pip, python3 uses pip3, evo1.1.2 uses pip, and evo higher versions use pip3; note that ros only supports python2)
git clone https://github.com/MichaelGrupp/evo.git
#下载git包
cd evo
git checkout v1.12.0
#检查
sudo pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --editable . --upgrade --no-binary evo
#解决下载慢的问题(镜像)(我这里找不到命令,所以前面加了sudo)
2 tests
(Test whether evo is successfully installed through the .txt test file included in the source code package)
cd test/data
evo_traj kitti KITTI_00_ORB.txt KITTI_00_SPTAM.txt --ref=KITTI_00_gt.txt -p --plot_mode=xyz
Installation success page:
3 Uninstall
pip list//列出pip安装的软件包
pip uninstall evo//卸载
Reference link: (The tutorial is relatively complicated, but the author has summarized it into the simplest and fastest downloading solution)
Ubuntu18.04 evo installation timeout problem_qq_38204986's blog-CSDN blog
Install and use evo on ubuntu18.04_Little Pirate Haner's Blog-CSDN Blog_ros18.04 Install evo