autonomy demo mavlink-sitl¶
Demo governed MAVLink vehicle commands against a SITL autopilot
Synopsis¶
Runs the MAVLink demo agent against a real AutonomyOps governance runtime with
a registered MAVLink supervisor that owns the autopilot connection.
Prerequisite: a SITL autopilot reachable at --endpoint. Bring one up with:
docker compose -f demo/docker-compose.mavlink.yml up -d
The agent (examples/mavlink_agent.py — NO pymavlink) submits five command
intents; the runtime injects supervisor-observed trusted state, evaluates the
embedded MAVLink demo policy, and applies the engineer-edited safety floor:
arm → ALLOW (SITL)
takeoff (10 m) → ALLOW
goto (inside geofence) → ALLOW
goto (outside geofence) → DENY (adapter geofence)
command_long → DENY (privileged raw authority — negative example)
Every decision is written to the local WAL. No control plane is needed;
requires python3 on PATH and a reachable SITL endpoint.
Usage¶
autonomy demo mavlink-sitl [flags]
Options¶
--endpoint string MAVLink endpoint of the SITL autopilot (tcp:/udp:/serial:) (default "tcp:127.0.0.1:5760")
--keep preserve the WAL and agent-script directories on exit (default: remove them)
See also¶
autonomy demo— Run self-contained demos that require no Docker or control plane