UAV/UAS fundamentals and flight simulation
Start by distinguishing the system components and the role of the simulator before trying a mission and reading the flight results.
See the drone as a system
The UAV is the aircraft, whereas the UAS also covers the control station, communication links and mission support elements. When solving a flight problem, first ask whether the problem lies in the aircraft, the communication or the mission program; do not start by changing the PID every time.
| Part | Function | Example |
|---|---|---|
| Flight stack | Estimates state, controls and manages flight modes | ArduPilot, PX4 |
| GCS | Plans missions, reads telemetry and configures settings | QGroundControl, Mission Planner |
| Physics simulator | Computes motion and simulated sensors | Gazebo, JSBSim |
| Mission application | Processes data and invokes missions | Python + MAVSDK |
Choose the aircraft type from the mission
A multirotor suits vertical take-off and landing and holding position, whereas a fixed-wing aircraft uses lift from its wings while moving and needs suitable take-off and landing conditions. VTOL combines the flight modes but adds complexity during the transition, so the models and test criteria for each type should be kept separate.
The four forces and the axes of motion
An aircraft moves under lift, thrust, drag and weight. Holding altitude does not mean that all forces disappear; it means controlling the forces and moments to match the desired motion. For a multirotor, the propeller force has both a component supporting the weight and a component accelerating horizontally when the airframe tilts, so the force diagram of a fixed-wing aircraft should not be applied directly to every mode.
| Term | What happens | What to observe in the simulation |
|---|---|---|
| Roll | Rotation about the longitudinal axis of the airframe | The airframe banks left or right |
| Pitch | Rotation about the lateral axis | The nose pitches down/up |
| Yaw | Rotation about the vertical axis of the airframe | The nose changes direction |
| Heading / track | Heading / direction of motion over the ground | May differ when there is wind or when flying sideways |
Check the axis definitions and sign conventions of the system in use before reading a log, because the image, camera, body and world frames may differ. A positive value does not indicate the same direction in every system.
Read the limitations in the manual for the model in use
Maximum flight time, transmission range and wind resistance are separate pieces of information. Read the test conditions, payload, battery, temperature and mode that accompany them. An advertised communication range does not define the authorised operating range, and maximum flight time is not the time you should plan to use up in one mission.
GNSS provides data for estimating position, while the autopilot uses sensor data and commands to control the aircraft. Obstacle avoidance and weather checking are separate capabilities. Having GPS therefore does not guarantee avoiding obstacles or flying safely in bad weather. Return-to-home also requires checking the home point, the reference altitude and the behaviour of that model.
What can SITL test?
Software-in-the-loop lets the firmware run with a simulated environment on a computer. It suits learning modes, waypoints, messages and behaviour when conditions change, without needing a flight controller to start. However, sensor noise, vibration and energy performance depend on the model, not on measurements of a real aircraft.
An example exercise is to run the same waypoints twice, changing only the wind, then compare the target position with the actual position over time. Also record the model, firmware, parameters and coordinate units; otherwise the two sets of graphs may not be comparable.
Windows and Linux
On Windows, start ArduPilot Simulation in Mission Planner or use WSL2 according to the guide. On Linux, SITL can be used directly with MAVProxy/QGroundControl. PX4+Gazebo requires matching versions of Ubuntu, PX4 and Gazebo; avoid mixing Gazebo Classic commands with newer versions.
F01: Convert units before substituting values
Basic level · Question: can the numbers from the battery, sensors and log be used together in a calculation yet? Start by writing the unit next to every value, then convert them to match the formula. Do not guess the unit from the size of the number. Units and prefixes follow the BIPM, SI Brochure 9th edition, updated 2026 (S01, checked 26 September 2026)
θrad = θdeg × π / 180
QAh = QmAh / 1000
EWh = EJ / 3600
Read as: an angle in degrees multiplied by pi and divided by 180 gives radians; a capacity in milliampere-hours divided by 1000 gives ampere-hours; energy in joules divided by 3600 gives watt-hours. Subscripts indicate units, not multipliers.
| Variable | Meaning and unit, input → output | Range/source of value |
|---|---|---|
| θ | Angle, deg → rad | Real number; read the positive-direction definition from the API or log |
| Q | Charge capacity, mAh → Ah | From 0; battery label or measured value |
| E | Energy, J → Wh | From 0 in an energy-consumed account; meter or sum of power over time |
| π | Pi, dimensionless | Use the full-precision value of pi during calculation |
Image description: each row of arrows is a conversion of the same quantity, changing only the unit: dividing by 1000 for mAh, multiplying by π/180 for degrees and dividing by 3600 for joules. It does not convert charge capacity directly into energy.
Example: checking units in an energy worksheet
- Read a capacity of 5000 mAh and divide by 1000 to get 5 Ah
- With a nominal voltage of 22.2 V, the nominal energy is 22.2 V × 5 Ah = 111 Wh, because V × A = W
- Convert to joules: 111 Wh × 3600 = 399600 J; the energy value is unchanged
- If the log gives an angle of 90°, multiply by π/180 to get π/2 ≈ 1.570796 rad before passing it to a function that takes radians
Dimensional checks catch errors; for example, Wh/W gives hours, but Ah/W does not give time. Mass in kg is also not force in N: weight must be calculated from m × g. Unit conversion does not increase the accuracy of the instrument, nor does it fix a wrong timestamp or coordinate frame. In robotics, Open Robotics REP 103 (S29) describes standard units and axes, but the exceptions of the system in use must also be checked.
Try it yourself
How many Ah is a 2500 mAh battery, how many rad is an angle of −90°, and how many Wh is 7200 J of energy? Angle answers within 0.000001 rad are accepted.
Show answer F01
2500/1000 = 2.5 Ah; −90 × π/180 = −π/2 ≈ −1.570796 rad; 7200/3600 = 2 Wh. The negative sign of the angle must be kept; do not take the absolute value to make it positive.
Continue with energy and flight time or the existing calculation tools , checking the units in the input fields every time.
F02: Distance, time and stopping distance in a model
Basic level · Question: after a stop command, how many metres does the aircraft keep moving? Separate the distance travelled while awaiting the command from the deceleration distance. The formulas can be read and copied without JavaScript.
v̄ = Δs / Δt; ā = Δv / Δt
dstop = v tdelay + v² / (2 abrake)
Read as: average velocity equals displacement divided by time; average acceleration equals the change in velocity divided by time; stopping distance equals the delay distance plus the braking distance.
| Variable | Meaning and unit, input → output | Range/source of value |
|---|---|---|
| Δs, Δv | Displacement m and change in velocity m/s; input | Signed real number; log in the same axis |
| Δt | Time interval s; input | > 0 from the same timestamp |
| v̄, ā | Average velocity m/s, average acceleration m/s²; output | Signed according to the axis |
| v | Speed at the start of braking m/s; input | ≥ 0 from a synthetic case or log |
| tdelay | Delay before deceleration begins s; input | ≥ 0; includes the defined detection/command time |
| abrake | Deceleration magnitude m/s²; input | > 0; a positive value even though the acceleration along the axis is negative |
| dstop | Stopping distance m; output | ≥ 0 under the model |
Assumptions: one-dimensional motion, constant velocity during the delay, then constant deceleration until stopping; excludes wind, airframe tilt, jerk and controller limits. If abrake is zero, do not divide and report a stopping distance. This formula does not define an actual safety distance. The relationships use OpenStax §3.4 equations 3.10–3.14 (S02, checked 26 September 2026)
Image description: the area under the velocity graph is the distance. The rectangle for the delay has an area of 1 m and the triangle for the deceleration has an area of 6.25 m, totalling 7.25 m.
Example and unit check
- A hypothetical log moves 10 m in 2 s: v̄ = 10/2 = 5 m/s
- Speed decreases from 5 to 0 m/s in 2.5 s: ā = (0−5)/2.5 = −2 m/s² , so abrake = 2 is used
- Delay of 0.2 s: delay distance = 5×0.2 = 1 m; braking distance = 25/(2×2) = 6.25 m
- Total 7.25 m; unit check (m/s)²/(m/s²) = m. This distance is a simulation result, not a recommended separation distance from people.
Exercise: change the speed
Change v to 10 m/s but keep the same delay and abrake. What is the stopping distance? ±0.01 m is accepted.
Show answer F02
Delay distance 10×0.2 = 2 m; braking distance 100/4 = 25 m; total 27 m. This is not twice 7.25 m because the braking term increases with the square of the speed.
Compare the exercise with a log in the simulator and read round-trip time with wind
Further reading and references
- Source document: DTI, Fundamentals of unmanned aircraft technology
- ArduPilot SITL and configuration
- PX4 Gazebo simulation
- Mission Planner installation and Linux limitations
- Flight and drone system fundamentals in the existing knowledge base
This content was compiled from documents kindly provided by DTI and the references above. Numerical examples are cases for learning. Read theacknowledgements and content sources
Connecting knowledge to missions and data
Choosing the aircraft type should start from the question and the work area, before comparing flight range or cameras. Record what must be obtained, such as images of road conditions, together with the limitations that are unacceptable. Having complete equipment does not mean the team is ready to operate. Read the reference: CAAT, Guidance for Development of an Operations Manual
Comprehension practice: write a one-sentence survey problem, then identify one limitation each for people, equipment and the area.
Read more: chapters that apply this knowledge in simulation · sources reviewed 26 September 2026
Extend to aerodynamics and flow equations
Read the Navier–Stokes equations , then try Re/Mach and flow between parallel plates to separate flow models from drone motion models.
Download the basic formula answer-check set (JSON) · synthetic data with units for comparing your own calculations
Download the applied formula practice set (CSV/JSON with answers) · synthetic data for practising calculations and checking units