OpenADStack is designed to be included in a larger deployment composition that provides sensor or simulation inputs, vehicle interfaces, and environment-specific configuration. Examples include operation on the karl. research vehicle and closed-loop simulation with OpenADSim. OpenADSim is the recommended entry point for complete simulation workflows with scenarios, maps, and configurable OpenADStack setups.
Note
See Deployment Composition for the intended boundary between OpenADStack and vehicle- or simulation-specific deployments.
To make OpenADStack directly accessible from this repository, the demo folder provides a self-contained open-loop setup. It replays recorded ROS 2 data, starts the stack with a predefined route, and opens the monitoring environment. This is a convenient way to explore the OpenADServices, data flow, and outputs without connecting a vehicle or simulator.
Important
Make sure that the general OpenADS requirements are fulfilled.
The demo provides two configurations corresponding to the processing paths shown in the functional architecture.
The default configuration focuses on the right-hand, planning-oriented side of the A-model. A detected object list is replayed from the recording and passed to the downstream prediction, planning, and optimization OpenADServices. This keeps the setup lightweight while exposing the central planning pipeline.
The extended configuration also activates the left-hand perception side of the A-model. Instead of using the recorded object lists, it processes the recorded LiDAR point clouds through point-cloud fusion and point-cloud object detection before passing the resulting objects to the same downstream OpenADServices. This configuration requires a compatible NVIDIA GPU as described in the OpenADS requirements.
The basic and extended demos use different ROS 2 bag files. Both recordings cover the same time range and have the same playback duration, but contain different topics:
| Configuration | Recorded data | Download and storage |
|---|---|---|
| Basic demo | Only the data required for the planning-oriented pipeline | approximately X GB |
| Extended demo | Additional LiDAR point clouds required by the perception pipeline | approximately X GB |
| Full bag (optional) | All available LiDAR and camera topics for further experiments | approximately X GB |
The reduced basic bag keeps the initial download and local storage requirements small. Running the extended demo requires the larger extended bag. The full bag is not required for either standard demo; it is an alternative for experiments that need the additional recorded sensor topics.
See the demo bag overview for the exact topics included in each bag.
Clone the repository including all submodules and run all commands from the OpenADStack demo folder.
git clone --recurse-submodules git@github.com:openads-project/openadstack.git
cd openadstack/demoStart the basic demo without perception:
export COMPOSE_PROFILES=demo-basic && docker compose up -dAlternatively, start the extended demo including perception:
export COMPOSE_PROFILES=demo-extended && docker compose up -dInspect the active Compose services:
docker compose ps
docker compose config --servicesRViz starts as part of the monitoring Compose service and visualizes the replayed inputs and generated stack outputs. Each bag playback cycle runs for approximately three and a half minutes. The bag-replay Compose service then starts it again automatically. When the simulated clock jumps back at the beginning of the next cycle, RViz resets its displays and the Autoware tracker restarts to clear state from the previous cycle.
Stop the selected demo configuration with:
docker compose downThe demo recording supplies the external runtime data that would normally come from a vehicle or simulator:
- driver and sensor topics below
/drivers, including the front-left and rear-right Ouster LiDAR point clouds used by the extended demo - ego-state and navigation data below
/localization/ego_state_estimation - the vehicle and sensor frame transforms on
/tf - a recorded point-cloud detected object list for the demo without perception
- simulated ROS time through the bag player's
/clockoutput
The Lanelet2 map and visualization configuration are mounted from the demo folder rather than read from the bag. After the route-planning action becomes available, the demo also submits a predefined destination and intermediate destination. The setup is therefore deterministic and intended for inspection rather than closed-loop driving.
Open a shell in a ROS 2-enabled stack container:
docker compose exec monitoring bashList topics:
ros2 topic listInspect central data flow topics:
ros2 topic echo /localization/ego_state_estimation/ego_data
ros2 topic echo /understanding/lanelet2_object_list_prediction/object_list
ros2 topic echo /planning/trajectory_optimization/trajectory
ros2 topic echo /control/ackermann_trajectory_control/controlsLeave the container shell with:
exitMost stack settings are already configured through environment variables in the OpenADService Compose files:
- namespace and node name
- input and output topic names
- parameter file paths
LOG_LEVELUSE_SIM_TIME- OpenADService-specific runtime options
For example, planning/trajectory_optimization/docker-compose.yml defines the ego-data input, predicted-object input, route input, reference trajectory input, and optimized trajectory output topic.
To customize a deployment composition, prefer a small Compose override file instead of editing generated OpenADService Compose files directly:
services:
trajectory-optimization:
environment:
EGO_DATA_TOPIC: /my_stack/ego_dataStart the stack with the override:
docker compose -f docker-compose.yml -f my-openadstack.override.yml up -dFor developing or modifying OpenADServices, follow the OpenADSuite development workflow. It describes the recommended template repositories, development containers, release workflow, and registry artifacts used by OpenADStack.
Additional helper tools are documented in the OpenADSuite tools overview.