• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • AgentSubsystem
  • AgentSubsystem Class

    Plug-in for AgentRuntimeService — Agent-side router that consumes state from couriers and writes intent values into lobe inputs. More...

    Header: #include <AgentSubsystem>
    Since: Phase ARS-1
    Inherits: QObject
    Inherited By:

    PathFollower

    Detailed Description

    Concrete subsystems (PathFollower, future sensor-fusion, future battery-monitor) subclass AgentSubsystem, override the lifecycle hooks, and get registered via AgentRuntimeService::registerBuiltinSubsystems(). They never touch Runtime directly — every read/write goes through the owning service's RuntimeAccess gate so threading stays clean as new subsystems land.

    Lifecycle (called by AgentRuntimeService): onAttach — service activating onDetach — service deactivating onPresetWillChange — before the active runtime drops onPresetChanged — after the active runtime is updated (or null)