How mavlink/qgroundcontrol works
QGroundControl is a cross-platform ground control station for MAVLink-enabled UAVs. The main workflow is to establish vehicle links, decode MAVLink traffic, maintain vehicle state, and expose that state for mission planning, flight monitoring, setup, and analysis. The graph preserves the README’s major product capabilities and uses sampled source references for internal connections where available. Several feature modules are represented from the tree and README rather than inspected source; their internal wiring is therefore not asserted.
Main entry points: MultiVehicleManager.h Vehicle registry · Vehicle.h Vehicle state · LinkManager.cc Link manager · MAVLinkProtocol.h MAVLink protocol
Components 21
Vehicle connectivity
- Link manager
src/Comms/LinkManager.cc - MAVLink protocol
src/Comms/MAVLinkProtocol.h
Vehicle services
- Vehicle registry
src/Vehicle/MultiVehicleManager.h - Vehicle state
src/Vehicle/Vehicle.h - Vehicle link state
src/Vehicle/VehicleLinkManager.h - ADS-B tracking
src/ADSB/ADSBVehicleManager.cc - GPS services
src/GPS/GPSManager.cc - Vehicle file transfer
src/Vehicle/FTPManager.cc
Flight operations
- Mission planning
src/MissionManager/MissionController.cc - Map and offline tiles
src/QtLocationPlugin/QGCMapEngineManager.cc - Camera controls
src/Camera/QGCCameraManager.cc - Video streaming
src/VideoManager/VideoManager.cc
Setup and settings
- Autopilot setup
src/AutoPilotPlugins/APM/APMSensorsComponentController.cc - Parameter system
src/FactSystem/ParameterManager.cc - Application settings
src/Settings/SettingsManager.cc - Parameter editor
src/QmlControls/ParameterEditorController.cc
Analysis and tools
- Onboard log download
src/AnalyzeView/OnboardLogs/OnboardLogController.cc - Log analysis
src/AnalyzeView/LogViewer/LogViewerController.cc - MAVLink inspector
src/AnalyzeView/MAVLinkInspector/MAVLinkInspectorController.cc - MAVLink console
src/AnalyzeView/MAVLinkConsole/MAVLinkConsoleController.cc
Other components
- Ground operator
Connections 22
- Ground operator → Link manager: connects
README.md - Link manager → MAVLink protocol: dispatches traffic
src/Comms/LinkManager.cc - MAVLink protocol → Vehicle registry: reports heartbeats
src/Comms/MAVLinkProtocol.h - Vehicle registry → Vehicle state: tracks vehicles
src/Vehicle/MultiVehicleManager.h - Vehicle state → Vehicle link state: manages links
src/Vehicle/VehicleLinkManager.h - Ground operator → Mission planning: plans missions
README.md - Mission planning → Vehicle state: uses vehicle
src/MissionManager/MissionController.cc - Ground operator → Camera controls: controls camera
README.md - Ground operator → Video streaming: views video
README.md - Ground operator → Autopilot setup: configures vehicle
README.md - Autopilot setup → Parameter system: uses parameters
src/AutoPilotPlugins/APM/APMSensorsComponentController.cc - Ground operator → Parameter editor: edits parameters
README.md - Parameter editor → Parameter system: accesses facts
src/QmlControls/ParameterEditorController.cc - Ground operator → Application settings: sets preferences
- Ground operator → Onboard log download: downloads logs
README.md - Onboard log download → Vehicle file transfer: requests files
src/AnalyzeView/OnboardLogs/OnboardLogController.cc - Ground operator → Log analysis: analyzes logs
README.md - Ground operator → MAVLink inspector: inspects traffic
README.md - Ground operator → MAVLink console: uses console
README.md - Ground operator → Map and offline tiles: manages offline maps
- Vehicle registry → ADS-B tracking: tracks aircraft
- Vehicle registry → GPS services: uses GPS services