Architecture Overview¶
Core components¶
ArchNav: top-level entry point (create,api).ArchNavApi: user-facing non-blocking navigation API.OperationalController: state machine and operation orchestration.VehicleContext: live vehicle state storage and subscriptions.DriverRegistry+DriverPluginLoader: runtime plugin discovery and instantiation.
Runtime flow¶
ArchNav::create()loads driver plugins.- A driver is selected (
ARCH_NAV_DRIVERor automatic selection if unique). - The driver is created with optional config (
ARCH_NAV_DRIVER_CONFIG). - Driver telemetry updates
VehicleContext. - API calls route to
OperationalController. - Controller dispatches operations to the driver through
ICommandDispatcher.
State model¶
The operation state exposed by the controller/API:
HANDOVERDISARMEDIDLERUNNING