1 Star 0 Fork 1K

火锅少女木子瑾 / apollo

forked from ApolloAuto / apollo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
how_to_launch_and_run_apollo.md 2.30 KB
一键复制 编辑 原始数据 按行查看 历史

How to Launch and Run Apollo

Build Apollo

First check to make sure you are in development docker container before you proceed. Make sure nVidia GPU is available and that you have installed the appropriate nVidia driver if you want to run the entire system. You could still proceed with the next few steps if no nVidia GPU is available, the system will run without perception as it was CUDA-based.

# Make sure you start up clean
./apollo.sh clean

# This will build the full system and requires nVidia GPU with nVidia drivers
# loaded. If no GPU is availabe, please run "./apollo.sh build_opt" instead.
./apollo.sh build_opt_gpu

Note:

Please run ./apollo.sh build_fe before ./apollo.sh build_opt if you made any modifications to the Dreamview frontend.

Run Apollo

Once you have finished building Apollo, follow the steps below to launch it. Note that although bootstrap.sh may succeed, the Web UI won't be ready if the former building step was skipped.

Start Apollo

Running scripts/bootstrap.sh will start Dreamview backend with the Monitor module enabled.

# Startup modules monitor and dreamview, the default option is start.
./scripts/bootstrap.sh [start | stop | restart]

Access Dreamview Web UI

Open http://localhost:8888 in your favorite browser, e.g. Chrome, and you should see this screen. However, no module (except Monitor) is running in the background at this moment.

Access Dreamview

Select Drive Mode

From the dropdown box selet "Navigation" mode.

Navigation Mode

Replay Demo Record

To see if the system works, use the demo record to "feed" the system.

# You need to download the demo record using the following commands
cd docs/demo_guide/
python3 record_helper.py demo_3.5.record

# You can now replay this demo "record" in a loop with the '-l' flag
cyber_recorder play -f docs/demo_guide/demo_3.5.record -l

Dreamview should show a running vehicle now. (The following image might be different due to frontend code changes.)

Dreamview with Trajectory

Congrats!

You have successfully built Apollo! Now you can revisit Apollo Readme for additional guidelines on the neccessary hardware setup.

C
1
https://gitee.com/lijin919/apolloauto.git
git@gitee.com:lijin919/apolloauto.git
lijin919
apolloauto
apollo
master

搜索帮助