Skip to main content

Module controller_arena

Module controller_arena 

Source
Expand description

Deterministic, headless comparison of classical path-tracking controllers.

The arena deliberately separates simulation from visualization. Every controller receives the same path, initial state, clock, speed response, and turn-rate response. The returned samples are suitable for native tests, browser replay, and future benchmark inputs.

Structs§

ArenaMetrics
Metrics derived exclusively from an ArenaRun’s samples.
ArenaRun
Complete deterministic trace for one controller.
ArenaSample
One simulation sample. The initial sample uses a zero command at time = 0.
ArenaScenario
Shared input to every arena controller.

Enums§

ArenaControllerKind
Controller implementations supported by Controller Arena version 1.
ArenaPreset
Built-in deterministic paths.

Functions§

metrics_from_samples
Recomputes metrics from samples, providing one source of truth for tests and alternate front ends.
run_controller_arena
Runs every requested controller under one shared scenario.