Apollo安装
Apollo Software Installation Guide
This document describes the steps required to install Apollo on Ubuntu 18.04.5 LTS (Bionic Beaver), the recommended Ubuntu release for Apollo 6.0.
Pre-requisites
Before getting started, please make sure all the pre-requisite steps were finished as described in the Pre-requisite Software Installation Guide.
Please also make sure Docker is running. Type systemctl status docker
to check the running status of Docker daemon, and type systemctl start docker
to start Docker if needed.
Download Apollo Sources
Run the following commands to clone Apollo's GitHub Repo.
# Using SSH
git clone git@github.com:ApolloAuto/apollo.git
# Using HTTPS
git clone https://github.com/ApolloAuto/apollo.git
And checkout the latest branch:
cd apollo
git checkout master
For CN users, please refer to How to Clone Apollo Repository from China if your have difficulty cloning from GitHub.
(Optional) For convenience, you can set up environment variable APOLLO_ROOT_DIR
to refer to Apollo root directory by running:
echo "export APOLLO_ROOT_DIR=$(pwd)" >> ~/.bashrc && source ~/.bashrc
In the following sections, we will refer to Apollo root directory as
$APOLLO_ROOT_DIR
Start Apollo Development Docker Container
From the ${APOLLO_ROOT_DIR}
directory, type
bash docker/scripts/dev_start.sh
to start Apollo development Docker container.
If successful, you will see the following messages at the bottom of your screen:
[ OK ] Congratulations! You have successfully finished setting up Apollo Dev Environment.
[ OK ] To login into the newly created apollo_dev_michael container, please run the following command:
[ OK ] bash docker/scripts/dev_into.sh
[ OK ] Enjoy!
Enter Apollo Development Docker Container
Run the following command to login into the newly started container:
bash docker/scripts/dev_into.sh
Build Apollo inside Container
From the /apollo
directory inside Apollo Docker container, type:
./apollo.sh build
to build the whole Apollo project.
Or type
./apollo.sh build_opt
for an optimized build.
You can refer to Apollo Build and Test Explained for a thorough understanding of Apollo builds and tests.
Launch and Run Apollo
Please refer to the Run Apollo section of How to Launch And Run Apollo.
(Optional) Support a new Vehicle in DreamView
In order to support a new vehicle in DreamView, please follow the steps below:
-
Create a new folder for your vehicle under
modules/calibration/data
-
There is already a sample file in the
modules/calibration/data
folder namedmkz_example
. Refer to this structure and include all necessary configuration files in the same file structure as “mkz_example”. Remember to update the configuration files with your own parameters if needed. -
Restart DreamView and you will be able to see your new vehicle (name is the same as your newly created folder) in the selected vehicle.
原文:https://gitee.com/ApolloAuto/apollo/blob/master/docs/quickstart/apollo_software_installation_guide.md
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
2017-11-12 JavaScrip之BOM、DOM