项目链接
Dynamic-VINS
Ubuntu18.04基于docker环境跑通Dynamic-VINS
- docker镜像环境安装
- docker进行文件共享
- 编译BUG
-
- 问题一:E: Package 'libatlas-base-dev' has no installation candidate
- 问题二:文件权限修改
- 问题三:git checkout a621ff出现Please commit your changes or stash them before you switch branches
- 问题四: Could not find a package configuration file provided by "fmt" with any of
- 问题五:Sophus 非模板安装git checkout a621ff出现Please commit your changes or stash them before you switch branches.
- 问题六:catkin_make编译出现问题
- 最终编译成功。
- 公开数据集测试
-
- 问题一:出现ModuleNotFoundError: No module named 'Cryptodome'
- 问题二:ModuleNotFoundError: No module named 'gnupg'
- 问题三:Failed to load Python extension for LZ4 support. LZ4 compression will not be available.
- 问题四:ERROR: cannot launch node of type [yolo_ros/yolo_trt_ros.py]: Cannot locate node of type [yolo_trt_ros.py] in package [yolo_ros]. Make sure file exists in package path and permission is set to executable (chmod +x)
- 最后作者说的配置文件设置show_track: 1,打开config文件,然后每个文件都打开,有的就设置以下。
- 最后终于成功啦
docker镜像环境安装
参考上一篇文章
Ubuntu18.04用Dockerfile配置ros+cuda+torch镜像
配置:
3060+Ubuntu18.04+ros-melodic+cuda11.3+torch-1.10.1+torchaudio-0.10.1+torchvision-0.11.2+opencv3.2+Sophus (非模板)
docker进行文件共享
创建容器
docker run --gpus all -it --privileged=true -v /tmp/.X11-unix:/tmp/.X11-unix -v /home/tb/data:/data -e DISPLAY=$DISPLAY --name mycontainer ros_pytorch_ubuntu18.04 /bin/bash
编译BUG
问题一:E: Package ‘libatlas-base-dev’ has no installation candidate
解决方法:
sudo apt-get update
问题二:文件权限修改
解决方法: