Run your first example#

Run an existing VAPI example to see how the framework behaves at runtime.

You will observe:

  • configuration → running mode

  • services starting

  • signals and events in action

What to do#

  1. Pick one example.

  2. Build and run it.

  3. Observe runtime behavior (logs, signals, events).

Examples#

Choose one or more already implemented examples to run and explore.

Start with the simplest example, then try others to see different services and behaviors in action.

What to look for#

While the example is running, notice that:

  • services are created via configuration

  • hardware access is abstracted by Vehicle Devices

  • signals represent state, events represent change

  • runtime lifecycle is explicit and deterministic

Step-by-step example implementation#

If you want to implement an example yourself, follow the guides below.

They walk through building a complete VAPI example step by step:

  • defining interfaces and configuration

  • implementing services

  • changing behavior based on signals and events

The walkthrough uses a wiper example to demonstrate:

  • manual operation

  • automatic behavior (e.g. starting when rain is detected)