- C 97.1%
- C++ 1.9%
- QML 1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| app | ||
| doc | ||
| icons/university | ||
| mavlink | ||
| mfw | ||
| rpm | ||
| screenshots | ||
| .gitignore | ||
| AUTHORS.md | ||
| LICENSE.md | ||
| README.md | ||
| README.ru.md | ||
| ru.auroraos.GroundControl.pro | ||
| ru.auroraos.GroundControl.pro.user | ||
GroundControl | RU
Mobile UAV ground control station for Aurora OS
GroundControl is a mobile ground control station application for unmanned aerial vehicles running on Aurora OS. The application allows an operator to connect to the onboard computing system over UDP, receive MAVLink telemetry, display the UAV position on a map, create a flight route, receive an RTP/H.264 video stream, and generate a text flight report.
The project was developed as an educational and applied graduation project and as part of the student project program of Open Mobile Platform. Its main goal is to demonstrate a mobile ground control station for Aurora OS, since ready-made solutions of this class for this platform are limited or unavailable.
Moscow Aviation Institute (MAI)
Contents
- Application description
- Features
- Architecture
- Technologies
- Compatibility
- Build
- Installation and launch
- Usage scenarios
- Screenshots
- Known limitations
- Documentation
- License and contribution
Application description
GroundControl is intended for UAV control from a mobile device running Aurora OS. The application acts as a ground control station: the operator can see the map, coordinates, altitude, speed, battery level, connection status, onboard video stream, and can send control commands.
The system uses the following communication scheme: the mobile application connects to the onboard computing system over UDP, while the onboard computing system communicates with the flight controller. MAVLink is used for control commands and telemetry exchange.
[GroundControl mobile application / Aurora OS]
|
MAVLink / UDP
|
[UAV onboard computing system]
|
MAVLink / UART or another link
|
[Flight controller]
Features
Main application features:
- connection to the UAV onboard system over a local UDP network;
- receiving and processing MAVLink messages;
- telemetry display: coordinates, altitude, speed, battery level, connection status;
- UAV position display on a map;
- route creation using waypoints on the map;
- saving and loading routes in JSON format;
- uploading a route to the UAV/flight controller;
- sending control commands: connect, takeoff/land, arm/disarm, change altitude and speed;
- receiving an RTP/H.264 video stream over UDP;
- displaying the video stream in a separate window with map/video swapping;
- writing a raw flight log;
- generating a final text flight report.
Detailed goals, features, and workflows are described in doc/project_description.en.md.
Architecture
The application has a modular structure. Main system parts:
- QML user interface — start page, main map page, telemetry panel, control menu, video window;
- network communication module — UDP sockets, MAVLink packet receiving and sending, heartbeat and telemetry processing;
- route module — adding, deleting, saving, loading, and uploading route waypoints;
- map module — map, UAV marker, and route markers based on MfwMap;
- video module — RTP packet reception, H.264 NAL unit reassembly, and stream passing to StreamCameraAPI;
- report module — raw log writing to
flight_raw_*.logand report generation toflight_report_*.txt.
Technologies
| Component | Technology |
|---|---|
| Platform | Aurora OS |
| SDK | Aurora SDK 5.1.6.110 MB2 or a compatible version |
| Programming language | C++ |
| UI | Qt 5, QML, QtQuick, Sailfish Silica |
| Network | UDP, QUdpSocket |
| Control protocol | MAVLink common.xml |
| Map | MfwMap |
| Video | RTP, H.264, StreamCameraAPI |
| Routes | JSON |
| Reports | TXT, raw TXT log |
| Testing | ArduPilot SITL, MAVProxy, local UDP test bench |
Compatibility
The application is intended for Aurora OS with Qt 5/QML support and the required system libraries. The test build was performed using Aurora SDK 5.1.6.110 MB2.
Recommended launch conditions:
- Aurora OS version compatible with Aurora SDK 5.1.x;
- network connection to the UAV onboard system or simulator;
- available UDP ports for MAVLink and video streaming;
- installed MfwMap module for map display;
- available StreamCameraAPI support for video reception and display.
Build
By default, the project is built using standard Aurora SDK tools. The general build process follows the official Aurora OS sample application build workflow.
Before building, check that:
- Aurora SDK is installed and configured.
- The required build target is selected, for example
x86_64-meego-linux-gnufor the emulator or the corresponding device target. - The project contains MAVLink headers generated from
common.xml. - The MfwMap module is connected.
- StreamCameraAPI libraries are connected if video streaming is used.
Typical workflow:
open the project in Aurora IDE
select the build kit
build and package the RPM using Aurora SDK
When building manually inside the build engine, a standard Qt project may use:
qmake
make
Exact commands depend on the project structure, selected target, and Aurora SDK settings.
Installation and launch
- Build the application RPM package using Aurora SDK.
- Install the package on a device or launch the application in the emulator.
- Make sure the mobile device and the UAV/simulator are in the same network.
- Enter the onboard system IP address and UDP port on the start page.
- Press the connect button.
- After opening the main page, check telemetry and connection status.
- Enable route editing mode if needed and place waypoints on the map.
- Start the flight scenario or send the required control commands.
- After the flight, generate a report from the application menu.
For testing without real UAV hardware, a SITL test bench can be used. Test scenarios are described in the project documentation.
Usage scenarios
1. Connection to the UAV
The operator enters the IP address and port of the onboard computing system. The application opens a UDP socket and starts MAVLink communication.
2. Telemetry monitoring
After connection, the application displays coordinates, altitude, speed, battery level, and connection status. Data is updated as MAVLink messages are received.
3. Route planning
The operator enables route editing mode, places waypoints on the map, saves the route to JSON, or uploads it to the UAV/flight controller.
4. Video stream viewing
The application receives an RTP/H.264 stream over UDP, reassembles video frames, and displays the image in the video window. The operator can swap the map and video areas.
5. Report generation
During the flight, the application writes a raw log. After the flight, the operator can generate a text report with the main flight parameters.
Screenshots
Known limitations
- The application is designed for UDP communication in a local network; relay-server operation is not used.
- Direct serial port communication from the mobile device is not implemented.
- Map display requires correct MfwMap installation and connection.
- Video streaming requires an available RTP/H.264 source and StreamCameraAPI support.
- Behavior of some MAVLink commands depends on the firmware and flight controller configuration.
- In demo mode without real UAV hardware, SITL or a separate onboard-system simulator is recommended.
Documentation
License and contribution
Before using or modifying the project, read:
LICENSE.md— application usage terms;AUTHORS.md— authors and contributors;