apolloを実行します

1.ソースコードをダウンロードします

git clone https://github.com/ApolloAuto/apollo.git

2.dockerをインストールします

sudo apt-get update
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common

Docker公式キーを追加します

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get install docker-ce docker-ce-cli containerd.io
sudo docker run hello-world

3.アポロ画像をプルします

bash docker/scripts/dev_start.sh

4.Apolloコンテナに入ります

bash docker/scripts/dev_into.sh

5.コードをコンパイルします

bash apollo.sh build

6.DreamViewを起動します

bash scripts/bootstrap.sh

ブラウザに入力してください:アクセスできます

http://localhost:8888

7.バッグをダウンロードします

新しいターミナルを開く

cd docs/demo_guide/
python rosbag_helper.py demo_3.5.record

8.デモを実行します

source /apollo/scripts/apollo_base.sh
cyber_recorder play -f demo_3.5.record --loop

source問題ないください

9.結果

ここに画像の説明を挿入

おすすめ

転載: blog.csdn.net/qq_35632833/article/details/115107178