apollo3.5 + ubuntu19 perfect platform to build real-time simulation installation tutorial

 

Welcome to apollo unmanned simulation platform

** ** bold style

Installation logic

A mounting system ubuntu

1, installed directly in the physical machine tutorials

2, installed in a virtual machine tutorials

1 install ubuntu system
2-LFS install git
3 Download apollo3.5 Source
4 installation Docker
5 drop-down apollo mirror
6 into the Docker
7 compiler mirror
8 start Dreamview
9 open the web interface
10 run demo demo package
11 do not handle more than three days to contact the author a18235212571 @ 163.com

Here Insert Picture Description
After the physical machine commissioning stage
Note: remember to compile the kernel before apollo IPC test
and install the GPU driver and docker and mirrors adjusted version
(update details attention article is described in detail later in this blog)

1 ubuntu14 mounting system (vm installed or mounted dual system can be viewed directly Baidu tutorial <64bit reverse master recommended except>)
Here Insert Picture Description

2 git-lfs 安装
a, sudo apt-get install git
Here Insert Picture Description
b, curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
Here Insert Picture Description
sudo apt-get install git-lfs

git lfs install

After installation of the test input command git-lfs see if the print publication of this information
sudo apt-get update
Here Insert Picture Description

3 Download apollo3.5 Source
command (drop down the latest version of Apollo):
git clone  https://github.com/apolloauto/apollo
Here Insert Picture Description

Recommended download directly to the root directory.

4 mounted docker
CD Apollo
the bash docker / setup_host / install_docker.sh
Here Insert Picture Description
Here Insert Picture Description
input command system in the test docekr ps command window
- ide in the group will have the chance docker only the current window can be used to
Here Insert Picture Description
pull the mirror. 5
the bash docker / scripts / dev_start.sh
Here Insert Picture Description
wait for image download and compile
Here Insert Picture Description
appear the interface to the next step

6 enters Docker
the bash Docker / scripts / dev_into.sh
perform two operations into the
CD Apollo
LS viewing module
Here Insert Picture Description

7 compiled mirror
bash  apollo.sh  Build
Here Insert Picture Description
yellow font can tell we need to have the card and driver

Here Insert Picture DescriptionSee the information compiled successfully

8 Start Dreamview
the bash scripts / renamed to bootstrap.sh
use vscode compiled scene <shell and substantially the same compiler>
Here Insert Picture DescriptionHere Insert Picture Description
9 open the web interfaceHere Insert Picture Description

10 Run demo demo package cyber_recorder play -f docs / demo_guide / demo.bag.record -l

Here is the terminal display interface Here Insert Picture Description
where the interface is a web-side display sectionHere Insert Picture Description

Ubuntu + apollo3.5 installation tutorial (tutorial latest ubuntu19 system build environment, debug, technical support, system maintenance, remote problem solving dependencies contact the author)

Common Problems and Solutions

ide poetry can not build code
Here Insert Picture Description

How cybar transferred through

Start assembly
building components by running the following command:

bash /apollo/apollo.sh build
Note: Construction of exemplary components to ensure normal
Here Insert Picture Description

Then configure the environment:

CD / Apollo / Cyber
Source setup.bash
There are two ways to start components:

Use the startup file startup (recommended)
cyber_launch Start /apollo/cyber/examples/common_component_example/common.launch
Here Insert Picture Description
use DAG file to start the
mainboard -d /apollo/cyber/examples/common_component_example/common.dag

Published an original article · won praise 0 · Views 429

Guess you like

Origin blog.csdn.net/qq_37983000/article/details/103089287