Skip to main content

QGC Mission Server

Project description

Petal QGC Mission Server

The petal-qgc-mission-server is a Petal plugin that acts as a bridge between QGroundControl (QGC) and the Petal ecosystem. It simulates a MAVLink vehicle to receive mission plans, converts them into Petal-compatible mission graphs, and publishes them for execution by the LeafSDK.

Key Features

  • MAVLink Adapter: Acts as a MAVLink server (TCP/UDP) to connect with QGC.
  • Mission Translation: Converts MAVLink waypoints into Petal Mission Plans (JSON graph format).
  • Silent Adapter Mode: Intercepts vehicle commands (Takeoff, Land, RTL) without interfering with the physical vehicle's direct link, while still updating internal state for QGC feedback.
  • Rally & Fence Support: Handles QGC's Rally Point and Geofence protocols by accepting and discarding them (to satisfy protocol requirements) or forwarding them as needed.
  • Redis Integration: Publishes mission plans and commands to Redis for consumption by LeafSDK.

Architecture

  • plugin.py: Entry point, manages the QGCMissionAdapterPetal plugin lifecycle.
  • mavlink_server.py: Handles the MAVLink connection and message routing.
  • mission_handler.py: Manages the MAVLink mission protocol (upload/download) and translation.
  • adapter_state.py: Tracks the minimal vehicle state required for QGC interaction (position, mode, battery).

Usage

  1. Start the Service: The plugin is started by the Petal App Manager.
  2. Connect QGC: Configure QGC to connect to the server's IP/Port (default TCP 5760 or as configured).
  3. Upload Mission: Create a mission in QGC and upload it. The server will convert and publish it to Redis.
  4. Monitor: QGC will receive status updates (position, current waypoint) from the server.

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

petal_qgc_mission_server-0.1.3.tar.gz (51.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

petal_qgc_mission_server-0.1.3-py3-none-any.whl (64.6 kB view details)

Uploaded Python 3

File details

Details for the file petal_qgc_mission_server-0.1.3.tar.gz.

File metadata

  • Download URL: petal_qgc_mission_server-0.1.3.tar.gz
  • Upload date:
  • Size: 51.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for petal_qgc_mission_server-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b7d5506b6af79fa81978ae21b004a6327fe0ee6424ba510039d1c75aee9ca698
MD5 f04f9f4483f34cd1f856e847b77c2d1b
BLAKE2b-256 856cf0f6de50d1830caed6ae25eda0d4cef9defceee175aa10be5744bb798b3a

See more details on using hashes here.

File details

Details for the file petal_qgc_mission_server-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for petal_qgc_mission_server-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 00f73243e9a0bfc9cae8029e3f008c2ec17f6b8621e65373b45051bdffbb63d8
MD5 a3be90f467052eabf57bca87024e56fc
BLAKE2b-256 c3a1c6bc52aa8c75f0864b8dc6d6016d57f4fa90a5b4265c5808f8737c1f8d27

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page