Route planning and pickup and delivery points
UAT 457 UAS for Transportation and Autonomous Delivery
Lesson
By the end of this module you will be able to
- Define the corridor, waypoints, altitudes, areas to avoid, emergency landing sites and geofence of a delivery route
- Choose flight altitude from a terrain profile so the route clears obstacles and stays within the authorised height
- Compute wind correction angle, ground speed, time and energy for each leg in wind
- Select and check pickup and delivery points with an obstacle-free radius and an approach slope
Why this matters
The straight line on the map from Doi Mok Hospital to Pha Tang SHPH is 14 km, but the drone cannot simply fly it. On the way are a 1,180 m ridge, villages, roads and power lines, and perhaps restricted areas. Wind on the ridge is stronger than in the valley, and the destination needs a safe hand-off spot. A good route balances several things at once: safety of people on the ground, authorised height, energy and time. This module plans the route to C from the terrain profile and wind through to choosing the delivery point.
Parts of a delivery route
A delivery route is not one line but a set of data shared by the autopilot and the operator:
- Corridor, a band around the route that the drone must stay within, wide enough for position error and wind, narrow enough to avoid risky areas
- Waypoints with an altitude for each, chosen so the corridor bypasses villages and gatherings, because ground risk depends on the population density under the corridor (used in Module 5)
- Areas to avoid, such as prohibited and restricted areas, airport surroundings and areas announced by CAAT; check the latest data before every plan
- Geofence, a boundary enforced by the autopilot; if the drone leaves the corridor it returns or lands as configured (ArduPilot Dev Team, n.d.-b)
- Emergency landing sites and rally points, alternate landing spots along the route; on low battery or lost link the drone goes to the nearest safe one instead of flying home over the ridge (ArduPilot Dev Team, n.d.-c)
Legally, the general conditions in the 2015 Ministry of Transport notification require visual line of sight and a maximum of 90 m above ground (Ministry of Transport, 2015). The Pha Tang route is flown beyond visual line of sight, so it needs authorisation under the CAAT 2026 notification, which sets flight conditions case by case. In this course we assume authorisation to fly no higher than 120 m above ground along the whole corridor.
Flight altitude and terrain
Two kinds of height must be kept apart. Height above mean sea level (MSL) is compared with terrain and other aircraft. Height above ground level (AGL) is compared with legal limits and obstacles: . On flat ground the two differ by a constant, but over mountains AGL changes all along the route. Some autopilots can follow terrain using terrain data or a rangefinder (ArduPilot Dev Team, n.d.-a), but terrain data excludes trees, masts and power lines, so a clearance margin is needed.
Example 1 Constant altitude or terrain following?
A terrain profile along the H to C corridor every 2 km (assumed). The team wants at least 100 m above terrain, and the authorised height is at most 120 m AGL.
# terrain profile (distance km, height m MSL), assumed
km = [0, 2, 4, 6, 8, 10, 12, 14]
terrain = [420, 520, 760, 1020, 1180, 1090, 1010, 960]
clear, agl_max = 100, 120 # terrain clearance and authorised height, m
flat_alt = max(terrain) + clear # option 1: constant altitude over the highest point
print(f"constant altitude {flat_alt} m MSL")
for x, t in zip(km, terrain):
agl_flat = flat_alt - t
alt_follow = t + clear # option 2: terrain following
flag = "over limit" if agl_flat > agl_max else ""
print(f"km {x:2d}: terrain {t:4d} m | constant {agl_flat:3d} m AGL {flag:10s} | follow {alt_follow:4d} m MSL")
climb_out = sum(max(b - a, 0) for a, b in zip(terrain, terrain[1:]))
climb_back = sum(max(a - b, 0) for a, b in zip(terrain, terrain[1:]))
print(f"terrain-following climb: out {climb_out} m, back {climb_back} m")
constant altitude 1280 m MSL
km 0: terrain 420 m | constant 860 m AGL over limit | follow 520 m MSL
km 2: terrain 520 m | constant 760 m AGL over limit | follow 620 m MSL
km 4: terrain 760 m | constant 520 m AGL over limit | follow 860 m MSL
km 6: terrain 1020 m | constant 260 m AGL over limit | follow 1120 m MSL
km 8: terrain 1180 m | constant 100 m AGL | follow 1280 m MSL
km 10: terrain 1090 m | constant 190 m AGL over limit | follow 1190 m MSL
km 12: terrain 1010 m | constant 270 m AGL over limit | follow 1110 m MSL
km 14: terrain 960 m | constant 320 m AGL over limit | follow 1060 m MSL
terrain-following climb: out 760 m, back 220 m
At a constant 1,280 m MSL to clear the summit, the drone would be 860 m above the ground at the base and above the authorised height along almost the whole route except the summit. Terrain following at 100 m AGL stays within the limit everywhere, at the cost of climbing 760 m outbound and 220 m on the return, the values used in the Module 2 energy budget. The 2 km spacing in this example is far too coarse for real work: use a finer digital elevation model, and take the highest point across the full corridor width, not just the centreline.
Wind and the route
A drone flies at an airspeed relative to the air mass but reaches its destination at a ground speed . With a crosswind, it must point into the wind by a wind correction angle (WCA) so its ground track follows the corridor, using the wind triangle pilots use (Federal Aviation Administration, 2023). If is the angle between the direction the wind blows from and the track, and the wind speed, then and .
Example 2 Time and energy with wind on the ridge
The outbound track is 058°, the return 238°, 14 km each way, airspeed 22 m/s. The forecast wind at flight altitude is from 070° at 8 m/s; cruise power is 785 W from Module 2 (assumed).
import math
def leg(track, tas, wind_from, wind_speed):
# wind correction angle (degrees) and ground speed (m/s) for one leg
rel = math.radians(wind_from - track)
wca = math.asin(wind_speed * math.sin(rel) / tas)
gs = tas * math.cos(wca) - wind_speed * math.cos(rel)
return math.degrees(wca), gs
d, tas, p_cruise = 14000, 22.0, 785
t_calm = 2 * d / tas
t_wind = 0
for name, trk in (("out H-C", 58), ("back C-H", 238)):
wca, gs = leg(trk, tas, 70, 8.0)
t = d / gs
t_wind += t
print(f"{name}: heading {trk + wca:5.1f} deg, ground speed {gs:4.1f} m/s, {t / 60:4.1f} min")
print(f"cruise time calm {t_calm / 60:.1f} min, wind {t_wind / 60:.1f} min (+{t_wind / t_calm - 1:.0%})")
print(f"cruise energy calm {p_cruise * t_calm / 3600:.0f} Wh, wind {p_cruise * t_wind / 3600:.0f} Wh")
out H-C: heading 62.3 deg, ground speed 14.1 m/s, 16.5 min
back C-H: heading 233.7 deg, ground speed 29.8 m/s, 7.8 min
cruise time calm 21.2 min, wind 24.4 min (+15%)
cruise energy calm 278 Wh, wind 319 Wh
Outbound into the wind, ground speed drops to 14.1 m/s and the leg takes 16.5 minutes. The return with a tailwind takes only 7.8 minutes, but the tailwind does not cancel the headwind, because the drone spends longer in the headwind. Total cruise time rises 15% and energy rises from 278 to 319 Wh, 41 Wh more, so the 116 Wh margin from Module 2 shrinks to 75 Wh. If the wind is stronger, the team must know in advance at what wind speed the flight is cancelled, not find out halfway.
When one trip visits several points
If one trip visits several points, the order affects both distance and energy. The problem resembles the travelling salesman problem, which the 2-opt exchange method improves (Croes, 1958). For drones energy matters too, because mass falls after each delivery, so delivering heavy items first saves energy. A literature review collects many variants of drone routing problems (Macrina and colleagues, 2020), and the knowledge unit on delivery routing and task allocation has worked examples. Software that orders jobs and schedules flights across the day is covered in modules 6–10 of this course.
Pickup and delivery points
The pickup point is at the base, where goods are packed, checked and loaded, batteries swapped and the drone prepared. The delivery point is at the destination: a landing pad, a winch lowering spot, or a reception area for parachute drops. Shared selection criteria:
| Criterion | What to check |
|---|---|
| Open space | Obstacle-free radius large enough for drone size, position error and box swing |
| Approach and departure | No trees, buildings, poles or wires above the slope the team sets, in the approach and departure directions |
| People and animals | Can be cordoned off; not a footpath or car park in constant use; a trained recipient is present |
| Surface | Flat, firm, free of dust or loose material the downwash can blow about |
| Communications | Clear control link and GNSS signals, not blocked by hills or buildings |
| Access | Staff can reach it quickly, close to the lab or pharmacy, no road to cross |
The FAA heliport standard has an approach and departure surface rising at 8:1 (8 horizontal to 1 vertical) from the edge of the landing area, and obstacles must not penetrate it (Federal Aviation Administration, 2023). Helicopters approach on a slope, but VTOL and winch-delivery drones descend almost vertically. There is no common criterion for drone delivery points yet, so the team must set its own and record the reasoning in the operations manual.
Example 3 Checking the Pha Tang delivery point
The team sets an obstacle-free radius of 5.0 m from half the wingspan (1.3 m), position error (2.0 m) and an allowance for swing and wind (1.7 m), and an approach slope of 1:1 (assumed), then compares it with the 8:1 heliport slope. Obstacle distances are measured from the centre of the delivery point.
# obstacles: (name, height m, distance from the delivery point centre m), assumed
obstacles = [("tree", 18.0, 30.0), ("building", 9.0, 22.0), ("pole", 8.0, 12.0), ("fence", 2.0, 6.0)]
r_clear = 1.3 + 2.0 + 1.7 # half wingspan + position error + swing and wind allowance
print(f"clear radius {r_clear:.1f} m")
for name, h, dist in obstacles:
heli = (dist - r_clear) / 8 # allowable height under an 8:1 slope
team = (dist - r_clear) / 1 # allowable height under the team's 1:1 slope
ok = "ok" if h <= team and dist >= r_clear else "move or remove"
print(f"{name:8s} h {h:4.1f} m at {dist:4.1f} m | 8:1 allows {heli:4.1f} m | 1:1 allows {team:4.1f} m {ok}")
clear radius 5.0 m
tree h 18.0 m at 30.0 m | 8:1 allows 3.1 m | 1:1 allows 25.0 m ok
building h 9.0 m at 22.0 m | 8:1 allows 2.1 m | 1:1 allows 17.0 m ok
pole h 8.0 m at 12.0 m | 8:1 allows 0.9 m | 1:1 allows 7.0 m move or remove
fence h 2.0 m at 6.0 m | 8:1 allows 0.1 m | 1:1 allows 1.0 m move or remove
Under the 8:1 heliport slope, everything around the SHPH penetrates, which is unrealistic for a drone descending vertically. Under the team’s 1:1 criterion the tree and building pass, but the 8 m pole at 12 m and the 2 m fence at 6 m do not. The team moves the delivery point away from the pole and fence, or to the yard behind the building, and checks again. The 1:1 criterion is an assumption for this course; a real team sets it from flight tests and risk assessment.
The pickup point at Doi Mok Hospital must clearly separate people from drones, with a packing table, a fire-resistant battery cabinet, a place for boxes waiting to go, and approach paths that do not pass over ward roofs. Docking stations and automated loading are covered in modules 6–10 of this course.
Module lab
Lab: plan the route and survey the delivery point
- Draw the corridor for the route your group chose in a mission planner, with waypoints that bypass villages, a geofence and at least two emergency landing sites
- Extract a terrain profile from a digital elevation model and use the code in Example 1 to find flight altitude and total climb
- Use the real forecast wind at flight altitude with the code in Example 2 to find time and energy per leg, and the highest wind speed that still leaves enough energy
- Survey a real delivery point on campus with a tape or laser rangefinder, measure obstacle heights and distances, check them with the code in Example 3, then fly a test landing within visual line of sight at a point that passes
Common mistakes
Watch out
- Planning a straight line on the map without looking at terrain, villages and restricted areas
- Mixing up MSL and AGL, flying above the authorised height or into a hillside
- Assuming terrain data includes trees and masts, without a clearance margin
- Using surface wind instead of wind at flight altitude, which is often much stronger on a ridge
- Thinking the tailwind home cancels the headwind out, which it does not
- Choosing a delivery point only because it suits the recipient, without checking obstacles, wires and footpaths
Summary
- A delivery route consists of the corridor, waypoints, altitudes, areas to avoid, a geofence and emergency landing sites
- Keep and apart; over mountains, terrain following keeps within the authorised height at the cost of climb energy
- Crosswind requires a correction , and a headwind adds more time than a tailwind saves
- Pickup and delivery points need an obstacle-free radius, approach paths that pass a slope criterion, cordoning and good access
Check your understanding
- A drone at 1,150 m MSL is over ground at 1,080 m. How high is it above the ground?
- Airspeed 20 m/s, crosswind 5 m/s at right angles to the track: what is the wind correction angle?
- Airspeed 20 m/s, a direct 5 m/s headwind, 10 km each way: how long is the round trip compared with calm air?
- With a 1:1 slope and a 5 m obstacle-free radius, how tall may a tree 15 m away be?
- Why have emergency landing sites along the route instead of always returning to base?
Answers
- m AGL
- Out s, back s, total 1,067 s (17.8 minutes); calm s (16.7 minutes), about 7% longer
- m
- With low battery or lost link halfway, returning to base may mean crossing the ridge and using more energy than is left; landing at a nearby prepared site is safer
Key formulas
| Height above ground | |
| Wind correction angle | |
| Ground speed | |
| Allowable obstacle height |
Key references
- Macrina, G., Di Puglia Pugliese, L., Guerriero, F., & Laporte, G. (2020). Drone-aided routing: A literature review. Transportation Research Part C: Emerging Technologies, 120, 102762. link
- Croes, G. A. (1958). A method for solving traveling-salesman problems. Operations Research, 6(6), 791–812. link
- กระทรวงคมนาคม. (2558). ประกาศกระทรวงคมนาคม เรื่อง หลักเกณฑ์การขออนุญาตและเงื่อนไขในการบังคับหรือปล่อยอากาศยานซึ่งไม่มีนักบิน ประเภทอากาศยานที่ควบคุมการบินจากภายนอก พ.ศ. 2558. ราชกิจจานุเบกษา, 132(86 ง), 6–12. link
- สำนักงานการบินพลเรือนแห่งประเทศไทย. (2569). ประกาศ กพท. เรื่อง หลักเกณฑ์และวิธีการในการอนุญาตให้ผู้บังคับหรือปล่อยอากาศยานซึ่งไม่มีนักบิน ประเภทอากาศยานที่ควบคุมการบินจากภายนอก ที่มีน้ำหนักไม่เกิน 25 กิโลกรัม ปฏิบัติแตกต่างไปจากเงื่อนไขที่กำหนด พ.ศ. 2569 (มีผล 17 พฤษภาคม 2569). link
- ArduPilot Dev Team. Terrain following (in Auto, Guided, etc). ArduPilot Copter documentation. link
- ArduPilot Dev Team. Geofencing (fences). ArduPilot Copter documentation. link
- ArduPilot Dev Team. Rally points (documentation). link
- Federal Aviation Administration. (2023). Pilot's handbook of aeronautical knowledge (FAA-H-8083-25C). link
- Federal Aviation Administration. (2023). Heliport design (Advisory Circular 150/5390-2D). link
Further reading
Study the assigned knowledge units in advance, review media and take the module quiz
In class / field
Lab or field practice from worksheets with a safety checklist
Learning evidence: Checked worksheets and quiz results