How b14ckyy/kite-gc works
Kite Ground Control is a cross-platform ground station for INAV, ArduPilot, and PX4. A pilot uses the Svelte interface to connect to an aircraft, view and act on telemetry, plan missions, and control the vehicle; the Rust/Tauri backend handles links, autopilot protocols, and domain services. Major companion capabilities include flight logging, safety and airspace tools, radar, video, terrain awareness, and telemetry relay. The README documents these product relationships; source excerpts show selected backend and Android internals, so unsampled implementation links are not asserted.
Main entry points: +page.svelte Ground station UI · state.rs Shared application state · commands/mod.rs Tauri commands · transport/mod.rs Link transports
Components 21
Pilot interface
- Ground station UI
src/routes/+page.svelte - Connection controls
src/lib/controllers/connectionController.ts - Telemetry dashboard
src/lib/components/Map.svelte
Aircraft link
- Tauri commands
src-tauri/src/commands/mod.rs - Link transports
src-tauri/src/transport/mod.rs - MAVLink handler
src-tauri/src/mavlink_proto/handler.rs - Passive telemetry
src-tauri/src/passive_telemetry/handler.rs - Shared application state
src-tauri/src/state.rs - Telemetry and RC scheduler
src-tauri/src/scheduler/telemetry.rs
Planning and safety
- Mission planning
src-tauri/src/mission/store.rs - Geofence and airspace
src-tauri/src/commands/fence.rs - Foreign-vehicle radar
src-tauri/src/radar/mod.rs
Flight services
- Flight logbook
src-tauri/src/flightlog/recorder.rs - Flight history store
src-tauri/src/flightlog/db.rs - Live video
src-tauri/src/commands/video.rs - Telemetry relay
src-tauri/src/telemetry_forward/relay.rs - Terrain analysis
src-tauri/src/terrain/mod.rs
Platform integration
- Android platform services
src-tauri/gen/android/app/src/main/java/com/kitegc/app/MainActivity.kt - Telemetry API
src-tauri/src/telemetry_api/server.rs
Other components
- Pilot
- Autopilot
Connections 23
- Pilot → Ground station UI: uses
- Ground station UI → Connection controls: manages links
- Connection controls → Tauri commands: requests connection
- Tauri commands → Link transports: opens link
src-tauri/src/commands/mod.rs - Link transports → Autopilot: exchanges bytes
- Autopilot → MAVLink handler: streams telemetry
src-tauri/src/mavlink_proto/handler.rs - MAVLink handler → Shared application state: updates state
src-tauri/src/mavlink_proto/handler.rs - Link transports → Passive telemetry: feeds listen-only link
src-tauri/src/passive_telemetry/handler.rs - Passive telemetry → Flight logbook: records telemetry
src-tauri/src/passive_telemetry/handler.rs - Shared application state → Telemetry and RC scheduler: holds scheduler state
src-tauri/src/state.rs - Telemetry and RC scheduler → Flight logbook: records flight data
src-tauri/src/flightlog/recorder.rs - Flight logbook → Flight history store: persists flights
src-tauri/src/flightlog/recorder.rs - Shared application state → Mission planning: stores mission state
- Ground station UI → Mission planning: plans missions
- Ground station UI → Geofence and airspace: manages safety
- Ground station UI → Foreign-vehicle radar: views traffic
- Ground station UI → Telemetry dashboard: displays telemetry
- Ground station UI → Live video: views stream
- Ground station UI → Terrain analysis: analyzes terrain
- Shared application state → Foreign-vehicle radar: holds radar state
src-tauri/src/state.rs - Ground station UI → Telemetry relay: configures forwarding
- Ground station UI → Telemetry API: exposes telemetry
- Tauri commands → Android platform services: uses platform storage