How godkiller0209/uav works
UAV Search and Rescue is a PyQt5 desktop application for mapping search polygons, generating continuous coverage routes, and preparing and operating a UAV mission. The main workflow is: edit areas on the map, generate and save a zigzag route, load and validate that route as a mission, then use the UAV page for telemetry and mission controls. The README documents the map-to-Python generation flow; the sampled code confirms route planning, persistence, mission validation, and MAVSDK-related controls. Map JavaScript and some runtime wiring were not sampled, so those links rely on the README or are omitted.
Main entry points: map_bridge.py Map bridge · main_window.py Navigation window · uav_page.py UAV page · drone_client.py Drone client
Components 14
Desktop interface
- Application entry
main.py - Navigation window
GUI/main_window.py - Map page
GUI/map_page.py - UAV page
GUI/uav_page.py
Map and route planning
- Map interface
assets/map.js - Map bridge
GUI/map_bridge.py - Search areas
GUI/map_bridge.py - Route coordinator
coverage_path_planning/coverage_path.py - Zigzag planner
coverage_path_planning/zigzag.py - Waypoint store
coverage_path_planning/waypoint_store.py
Mission preparation
- Mission validation and plan
mission/mission_service.py
UAV operations
- Drone client
drone/drone_client.py - MAVSDK / autopilot
Other components
- Operator
Connections 16
- Operator → Application entry: starts
README.md - Application entry → Navigation window: opens
main.py - Navigation window → Map page: hosts
GUI/main_window.py - Navigation window → UAV page: hosts
GUI/main_window.py - Operator → Map interface: edits areas
README.md - Map page → Map bridge: registers channel
GUI/map_page.py - Map interface → Map bridge: sends requests
README.md - Map bridge → Search areas: reads and writes
GUI/map_bridge.py - Map bridge → Route coordinator: requests route
GUI/map_bridge.py - Route coordinator → Zigzag planner: dispatches planner
coverage_path_planning/coverage_path.py - Map bridge → Waypoint store: saves route
GUI/map_bridge.py - Map bridge → Map interface: publishes route
README.md - UAV page → Mission validation and plan: prepares mission
GUI/uav_page.py - UAV page → Drone client: controls UAV
GUI/uav_page.py - Drone client → Mission validation and plan: uses mission logic
drone/drone_client.py - Drone client → MAVSDK / autopilot: communicates