How teaching-on-testbeds/aerpaw-emulator works
This repository runs AERPAW-style virtual UAV/UGV experiments in Docker Compose. The main workflow is to choose a topology, start paired vehicle and experiment containers, run an experiment against simulated vehicles, and inspect telemetry through the shared MAVLink gateway. Experiment capabilities include independent square runs, UAV/UGV coordinated squares, and a two-UAV tracer/orbiter mission coordinated from a plan. The README documents the deployment and integration paths; the experiment excerpts show state transitions and vehicle actions. Container internals beyond the sampled gateway and tools are summarized only where the README describes them.
Main entry points: experiment_runner.py Experiment launcher · ground_coordinator.py Orbit mission coordinator · docker-compose.uav.yml Compose stacks · drone_tracer.py Tracer agent
Components 20
Topology and deployment
- Vehicle topologies
topology.uav.yaml - Compose stacks
docker-compose.uav.yml - Experiment results
results/.gitkeep
Vehicle simulation
- C-VM services
docker/cvm/entrypoint.sh - ArduPilot SITL
docker/cvm/entrypoint.sh - MAVLink Router
docker/cvm/entrypoint.sh - E-VM services
docker/evm/entrypoint.sh - Arm wrapper
tools/auto_arm.py
Experiments and coordination
- Experiment launcher
tools/experiment_runner.py - Square experiment
experiments/demo_square.py - Coordinated vehicles
experiments/demo_coord_vehicle.py - Square coordinator
experiments/demo_coordinator.py - Orbit mission coordinator
experiments/ground_coordinator.py - Tracer agent
experiments/drone_tracer.py - Orbiter agent
experiments/drone_orbiter.py - Orbit plan
experiments/orbit.plan - ZeroMQ proxy
Ground station access
- MAVLink gateway
docker/gateway/mavlink_hub.py - QGroundControl
Other components
- Experimenter
Connections 32
- Experimenter → Vehicle topologies: selects
README.md - Vehicle topologies → Compose stacks: configures
README.md - Experimenter → Compose stacks: starts
README.md - Compose stacks → C-VM services: starts
README.md - Compose stacks → E-VM services: starts
README.md - C-VM services → ArduPilot SITL: runs
README.md - C-VM services → MAVLink Router: runs
README.md - ArduPilot SITL → MAVLink Router: streams MAVLink
README.md - E-VM services → Arm wrapper: arms vehicle
README.md - Experimenter → Experiment launcher: launches
README.md - Experiment launcher → Square experiment: runs
README.md - Experiment launcher → Coordinated vehicles: runs
README.md - Experiment launcher → Square coordinator: runs
README.md - Experiment launcher → Orbit mission coordinator: runs
README.md - Experiment launcher → Tracer agent: runs
README.md - Experiment launcher → Orbiter agent: runs
README.md - Square coordinator → Coordinated vehicles: dispatches states
experiments/demo_coordinator.py - Coordinated vehicles → Square coordinator: reports readiness and completion
experiments/demo_coord_vehicle.py - Orbit mission coordinator → Tracer agent: dispatches states and queries
experiments/ground_coordinator.py - Orbit mission coordinator → Orbiter agent: dispatches states and queries
experiments/ground_coordinator.py - Tracer agent → Orbit mission coordinator: reports transitions
experiments/drone_tracer.py - Orbiter agent → Orbit mission coordinator: reports transitions
experiments/drone_orbiter.py - Experimenter → ZeroMQ proxy: starts
README.md - Orbit mission coordinator → ZeroMQ proxy: coordinates through
README.md - Tracer agent → ZeroMQ proxy: coordinates through
README.md - Orbiter agent → ZeroMQ proxy: coordinates through
README.md - Experimenter → Orbit plan: supplies
README.md - Orbit mission coordinator → Orbit plan: reads
experiments/ground_coordinator.py - MAVLink Router → MAVLink gateway: forwards MAVLink
README.md - MAVLink gateway → QGroundControl: aggregates telemetry
README.md - QGroundControl → MAVLink gateway: sends commands
README.md - Experiment launcher → Experiment results: writes outputs
README.md