← Back to Portfolio

Drone Mission Planner

Pre-flight feasibility calculator for autonomous drone delivery missions

OVW Overview

A Python tool for planning drone delivery missions. Input destination coordinates, drone speed, battery capacity, and consumption rate. It calculates distance, flight time, battery requirements, and determines if the mission is feasible before the drone leaves the ground.

LIVE Try It Live

Enter coordinates to visualize flight path

SOP How It Works

01 Input destination as X, Y coordinates (meters from home base at origin)
02 Calculate straight-line distance using the Pythagorean theorem
03 Compute round-trip flight time from distance and speed
04 Calculate required battery from flight time and consumption rate
05 Compare against available battery for go / no-go decision

MATH The Math

Distance: d = sqrt(x² + y²)
Round Trip: 2d
Flight Time: t = 2d / speed
Required Battery: b = t * consumption_rate
Feasibility: available_battery >= required_battery

OUT Example Output

Destination: (10000 x, 5500 y) Distance (m): 11412.71m Speed: 25 m/s Flight Time: 456.51s Battery Consumption: 25 mAh/s Required Battery: 11412.71 mAh Available Battery: 20000 mAh Mission Feasible: True Mission saved to mission_log.txt

STK Tech Stack

Python Math module File I/O Pytest

LNK Links

This tool calculates straight-line distance only. Real-world missions would need to account for wind, obstacles, altitude changes, and regulatory no-fly zones.