Baidu Apollo offline demo environment

Baidu apollo is a open source platform of self driving car.

So today I installed it and try to share this process.


First , homepage of apollo, you can read some information about apollo. There are many cool functions offers on the site.

Apollo

Apollo?

apollo.auto

Then apollo github page. The Github content shows if I have hardware, then I can make a self driving car very easily.

ApolloAuto/apollo

ApolloAuto/apollo?

github.com圖標

However, I don』t have enough hardware. So….. Hm.. I can play with demo ~

So I follow the 「Run Offline Demo 」instruction .

ApolloAuto/apollo?

github.com圖標

I did step 1,2 successfully.

bash docker/scripts/dev_start.sh
bash docker/scripts/dev_into.sh

But when I did step 3 with GPU build, errors happened.

error : gcc -4.8…..related error….

So I looked for the error in the issue page( in apollo github), then I found the problem. I should run with this command at build step.

bash apollo.sh build?—?local_resources 2048,.5,1.0

The next step is this command. After this command, 『launched module monitor』 and 『launched module dreamviewer』 string should be seen.

bash scripts/bootstrap.sh

Open chrome with 『localhost:8888』, apollo with dreamviewer GUI should be launched.

Then, download the rosbag and replay it .

sudo python docs/demo_guide/rosbag_helper.py demo_2.0.bag #download rosbag
rosbag play demo_2.0.bag --loop

Pretty cool ~

Apollo can provides more functions than this

I will share more about apollo after I get used to it

Have fun

20181205

Lab


推薦閱讀:

TAG:百度 | Linux | 開源社區 |