apollo安装和使用记录(1)
安装需求
- Ubuntu16.04
- NVIDIA driver=384
- Docker
- New - Git LFS
docker安装
sudo apt-get update
sudo snap install docker
注:docker 安装后需注销后方可起作用
New - Git LFS
# Required for Ubuntu 14.04 / 16.04.
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
# Ubuntu 14.04 / 16.04 / 18.04.
sudo apt-get install -y git-lfs
NVIDIA/nvidia-docker
sudo apt-get install nvidia-docker2
sudo pkill -SIGHUP dockerd
apollo docker 安装配置
- 下载apollo镜像
bash docker/scripts/dev_start.sh
- 进入docker容器环境
bash docker/scripts/dev_into.sh
- 进行编译
bash apollo.sh build
- 启动ros及其它模块
bash scripts/bootstrap.sh
- 下载官方提供的bag包
cd docs/demo_guide/
python rosbag_helper.py demo_3.5.record
- 播放bag包
cyber_recorder play -f docs/demo_guide/demo_3.5.record --loop
- 打开网页输入localhost:8888 ,则可进入 Apollo Dreamview,