Expand description
Meta-Control: deterministic controller mode selection.
A mode selector drives the shared Controller Arena engine through a
[PathTracker] facade and switches between Pure Pursuit, Stanley, and LQR
Steer mid-run according to a deterministic policy. Each sub-controller
keeps its own internal state, so a switch resumes the selected controller
exactly where its own history left off — the selector is evaluated against
the same shared simulation clock, speed model, and turn-rate response as the
arena’s fixed controllers.
This is the differentiator the repository can show that few others can: all
controllers live under one PathTracker contract, so a meta controller
that composes them is just another implementor of the same trait.
Structs§
- Meta
Control Run - Complete deterministic trace for one meta-control policy.
- Meta
Control Sample - One meta-control simulation sample. Identical to
ArenaSampleplus the controller mode that produced the command. - Meta
Controller - A [
PathTracker] that composes the three arena controllers and selects one per step. Holds one tracker instance per controller kind so internal state survives mode switches.
Enums§
- Meta
Control Policy - Deterministic rule that picks which controller drives the current step.
Functions§
- meta_
metrics_ from_ samples - Recomputes metrics from meta-control samples (same source of truth as the arena).
- run_
meta_ control - Runs one meta-control policy under a shared arena scenario.