Baidu Apollo autonomous driving platform install and offline demo show on ubuntu 16.04/14.04

Install Dependence:

Dependence:
Ubuntu
ROS
Docker
Git-LFS
Apollo code

Step 1: Install the ubuntu 16.04 (or dual system)

Step 1: Install the ubuntu 16.04 (or dual system)
(if you already have the system of ubuntu 14.04, you need to install ROS indigo, Other installation steps are the same to ubuntu 16.04. )

Step 2: Install ROS (Many tutorials on the internet)

Step 2: Install ROS (Many tutorials on the website)
(ROS indigo edition for ubuntu 14.04, ROS Kinetic edition for ubuntu 16.04)

Step 3: Install Apollo 3.0

Step 3: Install Apollo 3.0 (Apollo 3.5 is different from the Apollo 3.0, Apollo 3.5 use the Cyber RT substitute the ROS that is used in previous versions,this a business decision.)

Download the Apollo code :
You can git clone Apollo code or download directly.
https://github.com/ApolloAuto/apollo/tree/v3.0.0

Install the Git LFS :
sudo apt-get update
sudo apt-get install curl
#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

Install the docker environment :
bash docker/setup_host/install_docker.sh
docker ps

https://github.com/ApolloAuto/apollo/blob/master/docs/howto/how_to_build_and_release.md#build-and-release

Then run the following steps: (These steps will spend several hours, be patient.)

#Start container
bash docker/scripts/dev_start.sh

#Get into the container
bash docker/scripts/dev_into.sh

#Build modules
bash apollo.sh build

#open the HMI
bash scripts/bootstrap.sh

#run roabag
rosbag play -l ./docs/demo_guide/demo_2.5.bag

Run Offline Demo

(Every time when we run the offline demo, we need to run the following steps. It will spend several minutes.)
First you need to use the linux command “cd” to the Apollo directory. (cd path/to/apollo)
Then :
bash docker/scripts/dev_start.sh
bash docker/scripts/dev_into.sh
bash apollo.sh build

#Start Apollo
bash scripts/bootstrap.sh
Then :
Open the web link: http://localhost:8888/

Then Run demo:
rosbag play -l ./docs/demo_guide/demo_2.5.bag
(you need to download the package to the directory of ” /docs/demo_guide “.
You can find the download links of demo 1.0 ~ 2.5 from https://github.com/ApolloAuto/apollo/blob/v3.0.0/docs/demo_guide/rosbag_helper.py)
Apollo 3.0 demo data format is rosbag. (demo_2.5.bag)
Apollo 3.5 demo data format is different from the prior editions. (demo_3.5.record)

Baidu Apollo simulation scenarios

Many simulation scenarios you can login and find from the following link:
http://apollo.auto/platform/simulation.html

FYI about Apollo installation:

  1. For Apollo demo, we don’t need to install Apollo Kernel. But for a car ,we must install Apollo kernel.
  2. We don’t need to install the apollo-platform for ubuntu 16.04. maybe we still don’t need to install Apollo-platform for ubuntu 14.04. We just show offline demo.
    https://github.com/ApolloAuto/apollo-platform
  3. Many errors during the installation are mainly related to the computer hardware platform.(various strange problems)
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值