- Introduction
- Prerequisites
- Quick Start
- Production Mode (Docker)
- Copyright and License
- Connect with Us
Apollo-Lite provides powerful modules and features for autonomous driving development. Before getting started, please ensure your environment meets the prerequisites and follow the installation instructions below.
For a deeper understanding, refer to the following documents:
- Design Document: [中文 | [English]]
- Integration Document: [中文 | [English]]
- Development Process: [中文 | [English]]
- Tools Document: [中文 | [English]]
- Product Manual: [中文 | [English]]
- Issues / FAQ: [中文 | [English]]
- WEP Proposal: [中文 | [English]]
- Company Introduction: [中文 | [English]]
- Machine: Minimum 8-core CPU, 8GB RAM
- GPU: NVIDIA Turing GPU recommended for acceleration
- Operating System: Ubuntu 20.04 LTS
- Ensure host is prepared (Docker, NVIDIA runtime, OS tuning) and provide a simple workflow to start the Apollo container using the
whlhelper.
- Run the host setup script (interactive): installs Docker, NVIDIA toolkit and then runs system configuration steps interactively.
sudo bash docker/setup_host/setup_host.shsetup_host.shwill installwhl(system command linked at/usr/local/bin/whl) before running system configuration.- After completing, the installer writes
/etc/wheelos_setup_host.doneto indicate host readiness.
- Start or enter the container with
whl:
# start in dev mode
whl start
# enter the dev container (starts it if needed)
whl enterconfig_system.sh(invoked bysetup_host.sh) is interactive: for each optional system tuning step (NTP/ptp/udev/uvcvideo/CAN/Jetson tuning/headless/autostart) it will ask you whether to apply it (Y/n). Hardware-related tuning defaults to conservative choices.
config_system.shandsetup_host.shdetect non-interactive stdin and use sensible defaults. To run unattended and accept defaults, redirect stdin from/dev/null:
sudo bash docker/setup_host/setup_host.sh < /dev/null- If you need to fully automate and explicitly choose Yes/No for every prompt, use an automation tool or supply answers via stdin (careful: using
yeswill force all answers toy). Example (force yes for all prompts):
yes | sudo bash docker/setup_host/setup_host.sh- User-maintained overrides live in the project-root
.env.global. - Use mode-scoped keys such as
DEV_USE_GPU,DEV_BAZEL_CACHE_DIR,TEST_SERVER_PORT,TEST_CPUS,TEST_MEMORY,TEST_USE_GPU, andTEST_BAZEL_CACHE_DIRso dev and test stay isolated and explicit. - Generated env files used by
whlaredocker/.env.dev.local,docker/.env.test.local, anddocker/.env.prod.local.whlregenerates the requested mode file on every run from.env.globalplus host auto-detection before launching. - Each mode also gets its own Compose project name, so
devandtestcan run side by side without recreating or stopping each other. - Container names are deterministic (
apollo_<mode>_<user>_<project-hash>) and are intentionally not user-configurable. whl start <mode>andwhl stop <mode>are symmetric. Usewhl stop allto tear down all managed modes.- Host-ready marker:
/etc/wheelos_setup_host.done whlhelper location:/usr/local/bin/whl
Apollo-Lite is licensed under the Apache License 2.0. Please comply with the license terms when using or contributing to this project.
- ⭐ Star and Fork to support the project!
- 💬 Join our community discussion group to chat with developers.
- 📧 For collaboration or business inquiries, contact: daohu527@gmail.com
Thank you for being part of Apollo-Lite's journey towards autonomous driving innovation!
