<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Aadi Kapoor on Medium]]></title>
        <description><![CDATA[Stories by Aadi Kapoor on Medium]]></description>
        <link>https://medium.com/@aadikapoor83?source=rss-10a7d83cdd66------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*fd1G7D0o6FZQH1Vc5H9Yew.jpeg</url>
            <title>Stories by Aadi Kapoor on Medium</title>
            <link>https://medium.com/@aadikapoor83?source=rss-10a7d83cdd66------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 20:16:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aadikapoor83/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How Cargo Drones Actually Work]]></title>
            <link>https://medium.com/@aadikapoor83/how-cargo-drones-actually-work-1472208a16f1?source=rss-10a7d83cdd66------2</link>
            <guid isPermaLink="false">https://medium.com/p/1472208a16f1</guid>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[drones]]></category>
            <category><![CDATA[robotics]]></category>
            <dc:creator><![CDATA[Aadi Kapoor]]></dc:creator>
            <pubDate>Wed, 18 Nov 2026 16:44:37 GMT</pubDate>
            <atom:updated>2026-11-18T16:46:43.073Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><strong>Why cargo drones look so different, and what their designs reveal about the deliveries they’re built to make.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2FN-h4l7P0869oYWoOdu_w.jpeg" /><figcaption>DJI FlyCart 30 above Everest Base Camp, Nepal. Image:<a href="https://www.mynewsdesk.com/uk/dji/tag/flycart-30-fc30-everest"> DJI Europe, via Mynewsdesk.</a></figcaption></figure><p><strong>Cargo drones</strong> are commonly described by their maximum payload and flight range. These figures establish part of an aircraft’s capability, but leave important questions unanswered. A delivery also requires a suitable way to transfer the load at its destination. The aircraft must then complete the remaining flight with sufficient energy to return or reach its recovery point.</p><p>The delivery mechanism has consequences for the aircraft itself. Lowering cargo on a cable requires controlled hovering while the suspended load moves beneath it. A parachute release allows delivery during forward flight, but places different demands on the receiving area. Where an aircraft lands to unload, the destination becomes part of its ground infrastructure. Understanding these differences requires examining the complete mission, including what happens after the package arrives.</p><p>This article examines three existing systems: <em>DJI’s FlyCart 30</em>, the <em>TechEagle Vertiplane X3</em> and <em>Zipline’s Platform 1</em>. Each provides a different perspective on the relationship between flight architecture and delivery operations. The discussion follows how each aircraft carries its payload and explains the mechanisms involved in completing a delivery.</p><p>The analysis draws on publicly available technical documentation and reported operations. Published performance figures are considered within their stated conditions, rather than treated as directly comparable measures. The purpose is to explain the engineering decisions behind these systems and identify what those decisions mean for their use. This forms the technical groundwork for AERIS’s investigation of aerial logistics in mountain regions.</p><h3><strong>DJI FlyCart 30: delivering from a hover</strong></h3><p>The DJI FlyCart 30 is an electric multirotor built around four arms, each carrying a vertically arranged pair of propellers. This eight-propeller configuration is described as coaxial: the two propellers at each position share a rotational axis. The arrangement allows the aircraft to generate lift without a runway or the forward motion required by a conventional fixedwing aircraft.</p><p>During a steady hover in still air, the combined upward thrust balances the weight of the aircraft and its load. Moving horizontally requires the aircraft to tilt, directing part of that thrust sideways while maintaining enough vertical thrust to remain airborne. Carrying additional mass increases the thrust required. Hovering therefore remains an energy-consuming flight phase, even when the aircraft makes no progress towards its destination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9sdIopPgzzThpczjJ226jw.png" /><figcaption>DJI FlyCart 30 in cargo configuration, showing its paired propellers and the cargo container mounted beneath the airframe.</figcaption></figure><h4>Two cargo configurations</h4><p>FlyCart supports a cargo-box configuration and an optional winch system. In cargo mode, the load travels in a container attached beneath the aircraft. DJI provides a 70-litre EPP cargo case and describes weight and centre-of-gravity detection to help identify an unbalanced load. Where this configuration is used for delivery by landing, the destination must provide somewhere suitable for the aircraft to touch down and be unloaded.</p><p>Winch delivery changes the handoff. The aircraft remains airborne while a retractable cable lowers the cargo. DJI specifies a 20-metre cable and automatic release when the load touches down. The aircraft can then retrieve the lifting assembly before departing. This separates the package’s arrival from the aircraft’s landing, allowing delivery without bringing the entire vehicle onto the receiving surface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oPOO11U8RtX8zZKo0O9xbA.jpeg" /><figcaption>A suspended load beneath the FlyCart 30 during Everest testing. Image: DJI Europe, via <a href="https://www.mynewsdesk.com/uk/dji/tag/flycart-30-fc30-everest">Mynewsdesk.</a></figcaption></figure><p>That flexibility introduces a suspended-load control problem. The cargo can swing beneath the aircraft, and its movement must be considered during flight and lowering. DJI documents a swing-control function, although its support guidance specifically advises against enabling that function on windy days. Its presence should therefore be understood within its operating limitations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0RdBYsnX298FX8FAzN9YVg.png" /><figcaption>Winch delivery illustrated: lowering the cargo, touchdown release and retrieval of the unloaded lifting assembly. Based on DJI’s documented workflow; simplified and not to scale.</figcaption></figure><p>DJI’s user guide describes automatic hook opening once the cargo touches the ground. The cable is then reeled back in before the aircraft leaves the unloading point.</p><h4>What the published range establishes</h4><p>DJI lists a maximum flight distance of 16 kilometres with a 30-kilogram payload in dual-battery mode. The stated test conditions are zero altitude, no wind and a constant speed of 15 metres per second. This is a flight-distance measurement under specified conditions; it does not establish a 16-kilometre delivery radius with a return flight.</p><p>For a winch mission, the energy assessment must also account for time spent hovering during the handoff. After release, the aircraft still needs sufficient energy for its remaining flight and reserve. The lighter return load changes the calculation, but does not remove that requirement.</p><p>The Everest trials illustrate why operating conditions matter. DJI reported transporting supplies between Base Camp and Camp 1 in April 2024, at approximately 5,300–6,000 metres above sea level. Those reported tests provide evidence of operation in a particular high-altitude setting. Establishing feasibility elsewhere would require examining the proposed mission and its conditions separately.</p><h3>TechEagle Vertiplane X3: vertical takeoff, wing-supported cruise</h3><p>The Vertiplane X3 combines vertical takeoff and landing with fixed-wing flight. TechEagle describes it as a hybrid fixed-wing eVTOL aircraft: it can depart vertically, then use its wings during forward flight. Here, “hybrid” refers to the combination of aircraft configurations; the term should not be taken to imply a combustion–electric power system.</p><p>This architecture changes how the aircraft supports its weight during the mission. During vertical takeoff, the lifting rotors provide the thrust needed to raise the aircraft and its payload. As forward speed increases, airflow over the wings allows them to contribute lift. In wing-supported cruise, propulsion maintains forward motion against aerodynamic drag, while the wings carry the aircraft’s weight.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*keznxHLckemnor0NTrnFfA.avif" /><figcaption>TechEagle Vertiplane X3, a hybrid fixed-wing aircraft combining vertical takeoff and landing with wing-supported cruise.</figcaption></figure><h4>Why the transition matters</h4><p>The transition between vertical flight and wing-supported cruise is a distinct control task. As the aircraft accelerates, its controller must manage the changing contribution of aerodynamic lift while maintaining a stable flight path. The reverse transition prepares the aircraft for vertical landing. These phases cannot be treated as ordinary cruise with a different direction of travel. Hybrid VTOL designs introduce additional propulsion hardware and control requirements to obtain the benefits of both flight modes.</p><p>For mission analysis, this means that cruise efficiency must be considered alongside the energy required for departure and arrival. A longer journey provides more opportunity to benefit from wing-supported flight. On a short route, the vertical-flight and transition phases may account for a larger proportion of the mission. Establishing the balance for the X3 would require phase-specific performance data; its overall range figure does not reveal that distribution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2-9VBAebOUHTxqPwt-osig.png" /><figcaption><em>Flight phases of a hybrid fixed-wing VTOL aircraft. The illustration distinguishes rotor-supported vertical flight from wing-supported cruise; the transition sequence is simplified and not to scale.</em></figcaption></figure><h4>A reported application in Himachal Pradesh, India</h4><p>TechEagle’s account of its October 2023 work with AIIMS Bilaspur describes the X3 transporting medical materials in Himachal Pradesh. For the connection between AIIMS Bilaspur and PHC Buhar, the company reports a 12-minute aerial journey against an approximately two-hour road journey covering 60 kilometres. The 60-kilometre figure refers to the road distance, rather than the aircraft’s flight path.</p><p>The distinction matters when interpreting the result. The reported time saving concerns the transport leg. The total time required to obtain a diagnostic result also depends on sample preparation and dispatch, followed by receipt and processing at the laboratory. The company’s account does not provide a complete timing breakdown for that workflow.</p><p>For AERIS, the Bilaspur example provides a documented starting point for investigating mountain logistics. It does not establish performance in Spiti, where a proposed route would need its own assessment of operating conditions and receiving sites.</p><h4>Interpreting the published specifications</h4><p>TechEagle’s current product page lists a payload range of 3–5 kilograms, a range of 100 kilometres and endurance of 60–90 minutes. The page does not provide enough accompanying test detail to establish whether those figures apply simultaneously, or whether the range includes a return flight and reserve. They should therefore remain manufacturer-stated specifications rather than assumptions for a mission calculation.</p><p>The principal engineering interest of the X3 is its use of different flight modes within one mission. Assessing its suitability requires understanding how the advantages of wing-supported cruise balance against the demands of vertical flight — and what the complete delivery operation requires on the ground.</p><h3>Zipline Platform 1: delivering without landing</h3><p>Zipline’s Platform 1 separates package delivery from aircraft recovery. The aircraft releases its cargo under a parachute and continues flying, leaving the recipient to collect the package from a designated area. It then returns to a hub equipped to recover it. Zipline describes P1 as its long-range delivery platform, organised around a hub-and-spoke network. <a href="https://www.zipline.com/about/zipline-fact-sheet?utm_source=chatgpt.com">Zipline</a></p><p>This arrangement allows a fixed-wing aircraft to serve a destination without landing there. Its wings provide lift during forward flight, while the propulsion system maintains airspeed against aerodynamic drag. Unlike a multirotor, a conventional fixed-wing aircraft cannot remain stationary in the air to complete a handoff. P1’s delivery mechanism accommodates that requirement by allowing the package to descend independently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*gWlXjKmuqsfedcQuxihZIA.jpeg" /><figcaption>Zipline Platform 1, a fixed-wing delivery aircraft that releases packages by parachute before returning to its operating hub.</figcaption></figure><h4>Launching and releasing the package</h4><p>The aircraft begins its mission at a distribution hub, where staff prepare and load the order. An electric catapult accelerates the aircraft into flight, providing a launch method that does not require a conventional runway. The FAA’s documentation for Zipline’s Pea Ridge operation describes the aircraft subsequently following a preplanned route to its delivery site.</p><p>At the destination, the aircraft descends towards a predesignated drop zone. Payload doors beneath the fuselage open to release the package, whose parachute slows its descent. The aircraft remains airborne and begins its return journey.</p><p>The receiving site therefore needs a suitable drop area rather than somewhere to land the aircraft. The distinction reduces the equipment required at the destination, but the space must still accommodate the descending package and allow its collection. Zipline describes P1’s delivery area as approximately the size of two parking spaces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w8HFM8MhGsBJkhVMQjZwEw.png" /><figcaption>Platform 1’s delivery workflow separates the package’s arrival from the aircraft’s recovery. The package descends by parachute at the receiving site, while the aircraft returns to its hub. Simplified illustration; not to scale.</figcaption></figure><h4>Recovering the aircraft</h4><p>Returning to the hub introduces another engineering problem: stopping a fixed-wing aircraft without a runway landing. The documented P1 recovery arrangement uses a capture line that engages a hook near the aircraft’s tail. The recovery equipment decelerates the aircraft, allowing staff to retrieve it. NovAtel’s account, drawing on an interview with a Zipline engineer, describes the importance of precise positioning to coordinate this capture.</p><p>The hub consequently forms part of the aircraft’s operating system. It accommodates the launch and recovery equipment, as well as the ground work needed to prepare subsequent deliveries. Infrastructure has been concentrated at the hub so that each receiving site can remain comparatively simple.</p><h4>What the medical-delivery application demonstrates</h4><p>Rwanda launched its national drone-delivery service with Zipline in October 2016, initially serving blood-delivery needs at health facilities in the western part of the country. This provides an operational example of a network built around a specific logistics requirement: moving medical products from a central supply point to facilities that need them.</p><p>For AERIS, the relevant insight is the relationship between the aircraft and the network supporting it. A parachute-delivery system may reduce receiving-site infrastructure, while requiring an appropriate hub and a suitable drop zone at every destination. Its relevance to a mountain region would depend on whether those arrangements fit the proposed deliveries.</p><p>Zipline’s fact sheet lists P1’s service range as more than 120 miles <strong>round trip</strong>. That definition matters when considering coverage: it should not be read as a one-way delivery distance.</p><h3>What each design requires from the delivery site</h3><p>The differences between these aircraft become clearer at the destination. Reaching a location is only part of the task. The cargo must also leave the aircraft in a way that the receiving site can accommodate.</p><p>The FlyCart 30’s winch separates cargo touchdown from aircraft landing. This makes delivery possible without placing the airframe on the ground, although the operation still requires a suitable area beneath the aircraft. The winch changes the handoff; it does not remove the need to assess the receiving site.</p><p>The Vertiplane X3 addresses a different constraint. Its hybrid VTOL configuration combines vertical takeoff and landing with wing-supported cruise. For a mission that involves landing to transfer cargo, suitable ground space remains necessary at the destination. Vertical landing capability reduces dependence on a runway, but the aircraft must still approach and depart from the available site.</p><p>P1 places more of the specialised infrastructure at the distribution hub. The package descends by parachute at the destination, while the aircraft returns for recovery. This reduces the equipment required at the receiving end, but introduces a different requirement: an appropriate area for the package’s descent and collection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M1w1qvcHVB0C71coJYNRHQ.png" /></figure><p>Published range figures alone cannot resolve these differences. A useful comparison must establish the payload and flight conditions behind each figure, including whether the stated distance covers a return journey. It must also account for the energy needed to complete the handoff and recover the aircraft. Without a common mission definition, a specification table can suggest a level of comparability that the underlying data does not support.</p><h3>From aircraft capability to a workable mission</h3><p>For AERIS, these systems provide examples of how aircraft design responds to delivery requirements. They do not yet establish which system would be appropriate for disrupted access in Spiti.</p><p>That assessment needs a specific delivery task. A small medical consignment and a heavier replenishment load could require different aircraft, even along the same route. A destination with a clear landing area presents a different problem from one accessible only through an airborne handoff. Conditions along the return flight also matter: successful package delivery does not, by itself, complete the aircraft’s mission.</p><p>The next stage of the investigation is therefore to define a representative route and evaluate it under explicit assumptions. That would turn the question from “What can this aircraft do?” into something more useful: <strong>can it complete this delivery, under these conditions, with enough margin to return?</strong></p><h3>References:</h3><p>DJI. (n.d.). <em>DJI FlyCart 30</em>. Product documentation. Accessed November 18, 2026.</p><p>DJI. (2024). <em>DJI FlyCart 30 winch system user guide</em> (Version 1.0).</p><p>DJI. (2024, June 5). <em>DJI completes world’s first drone delivery tests on Mount Everest</em>. DJI Media Center.</p><p>Federal Aviation Administration. (2022, July). <em>Final environmental assessment and finding of no significant impact/record of decision: Zipline International Inc. drone package delivery operations in Pea Ridge, Arkansas and surrounding area</em>. U.S. Department of Transportation.</p><p>Gavi, the Vaccine Alliance. (2016, October 14). <em>Rwanda launches world’s first national drone delivery service powered by Zipline</em>.</p><p>NovAtel. (2018). Zipline: Deploying drones to save lives. <em>Velocity</em>.</p><p>TechEagle. (n.d.). <em>Vertiplane X3</em>. Product documentation. Accessed November 18, 2026.</p><p>Zipline. (2023, July 24). <em>Zipline fact sheet</em>. Accessed November 18, 2026.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1472208a16f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I Recreated A* to Understand How Autonomous Systems Actually Find a Route]]></title>
            <link>https://medium.com/@aadikapoor83/i-recreated-a-to-understand-how-autonomous-systems-actually-find-a-route-305bc42ec13b?source=rss-10a7d83cdd66------2</link>
            <guid isPermaLink="false">https://medium.com/p/305bc42ec13b</guid>
            <category><![CDATA[drones]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Aadi Kapoor]]></dc:creator>
            <pubDate>Sat, 31 Oct 2026 19:31:47 GMT</pubDate>
            <atom:updated>2026-10-31T19:33:13.759Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>What building an interactive pathfinding simulation taught me about heuristics, search costs, route decisions, and the gap between an algorithm on paper and one that actually works.</em></blockquote><p>Build Article: <a href="https://aeris-inside-astar.vercel.app/"><strong>AERIS — Inside A*</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8hHhSz36I__wK2hQm1KC3g.png" /><figcaption><strong>Try AERIS:</strong> <a href="https://aeris-inside-astar.vercel.app/">https://aeris-inside-astar.vercel.app</a></figcaption></figure><p>While researching autonomous aerial vehicles, I kept coming across <strong>A* </strong>(A star), one of the most well known pathfinding algorithms. I had already learned the basic idea behind it: A* gives possible moves a score using <br>f(n) = g(n) + h(n), where one part represents the cost of getting somewhere and the other estimates how far there is left to go.</p><p>On paper, that felt pretty simple.</p><p>But I eventually realized there was a big difference between being able to explain the equation and actually understanding what the algorithm was doing while it searched.</p><p>What happens when two possible moves look almost equally good? What if A* reaches the same place through a cheaper route later on? How does it remember the path it has taken? And once it finally reaches the destination, how does it turn all of those individual decisions into one final route?</p><p>Instead of researching the algorithm again, I wanted to actually see those decisions happening.</p><p>So I built <strong>AERIS — Inside A*</strong>, an interactive simulation where you can watch A* search through a grid in real time. As it runs, you can see which cells it discovers, which one it chooses to explore next, how its g, h and f values change, and how the final path is reconstructed once the goal is reached.</p><p>AERIS isn’t meant to simulate an entire autonomous drone. It doesn’t model things like wind, batteries, sensors or aircraft physics. The point of the Build was much narrower: isolate one route-planning algorithm and understand it properly by recreating it, testing it, and making its decisions visible.</p><h3><strong>Why Route Planning Matters</strong></h3><p>For an autonomous system, knowing where it needs to go is only part of the problem. It still has to figure out <strong>how to get there</strong>.</p><p>If there are no obstacles, the answer seems obvious: take the shortest route. But once you add blocked areas, different movement costs, or even just several possible ways of reaching the same destination, the system has to start making decisions. It needs some way of deciding which possibilities are worth exploring and which ones probably aren’t.</p><p>This is where pathfinding comes in.</p><p>In the real world, autonomous navigation is obviously much more complicated than what I’ve built. A drone, for example, may also have to deal with its position, sensors, weather, battery limits, airspace restrictions and moving obstacles. A* doesn’t solve all of that. It’s one way of solving a much smaller problem: <strong>finding a low cost path through a space when you know where you can and can’t move.</strong></p><p>That smaller problem still matters because the same idea shows up in real robotics software. For example, ROS 2’s Nav2 navigation system includes A*-based planners for different kinds of robots, including a normal 2D A* planner and more advanced versions that account for how different robots can physically move.</p><p>For me, this made A* a useful place to start. Instead of trying to understand an entire autonomous aircraft system at once, I could isolate one part of the decision-making process and actually build it.</p><h3>What I Replicated</h3><p>A* was introduced by Peter Hart, Nils Nilsson and Bertram Raphael in 1968 as a way of finding a minimum-cost path through a graph while using extra information to guide the search.</p><p>The easiest way I found to understand it was to stop thinking about the word <em>graph</em> and imagine the grid inside AERIS. Each cell is a possible place the algorithm can move to, and connections between cells represent possible movements.</p><p>The main idea behind A* comes down to one equation:</p><blockquote><strong>f(n) = g(n) + h(n)</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n83lrDDyrX00Hf2zekTrlQ.png" /><figcaption><em>A* mid-search, using g, h and f to decide which node to explore next.</em></figcaption></figure><p>g(n) is the cost of getting from the start to the current node. h(n) is a heuristic — basically an informed estimate of how much farther there is to go. A* adds the two together to get f(n), which it uses to decide which node looks most promising to explore next.</p><p>What I found interesting is that A* isn’t just chasing whichever cell looks closest to the goal. A node might be physically close to the destination but require an expensive route to reach. Another might look slightly farther away but have a much cheaper path from the start. A* is constantly balancing those two things.</p><p>There are also two groups of nodes that become important. The <strong>open set</strong> contains places A* has discovered but hasn’t fully explored yet. The <strong>closed set</strong> contains nodes it has already expanded. Each time A* runs, it picks the most promising node from the open set, checks where it can move next, updates any cheaper routes it discovers, and continues until it reaches the goal or runs out of possibilities.</p><p>That’s the part of A* I wanted to recreate: not just the final green line between two points, but the actual decision process that produces it.</p><h3>How I Built It</h3><p>I built AERIS using <strong>React, TypeScript and Vite</strong>, with SVG handling the grid and most of the visual elements. The simulation itself runs on a <strong>32 × 20 grid</strong>, where I can change the start and goal points, draw obstacles, and then either run the entire search or move through it one decision at a time.</p><p>Before thinking about animations or how the interface would look, I first had to define what movement actually meant. In AERIS, A* can move in eight directions: up, down, left, right, and the four diagonals. A straight move costs 1, while a diagonal move costs √2, or around 1.414.</p><p>I also added a rule that stops A* from cutting diagonally through the corner of an obstacle. Otherwise, the algorithm could technically squeeze between two blocked cells even though that route wouldn’t really make sense on the grid.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5xovh_4Kvz4q04BkD6NicQ.png" /><figcaption><em>The editable 32 × 20 grid where I set the start, goal and obstacles before running A*.</em></figcaption></figure><p>This is the environment A* searches through. In the screenshot above, <strong>S</strong> represents the starting point, <strong>G</strong> represents the goal, and the two striped walls are blocked cells that the algorithm cannot travel through.</p><p>Once the map is ready, the actual decision-making comes back to the same equation:</p><blockquote><strong><em>f(n) = g(n) + h(n)</em></strong></blockquote><p>g(n) is how much it has cost to travel from the start to a node. h(n) is an estimate of the remaining distance to the goal, and f(n) combines the two.</p><p>Because diagonal movement is possible in AERIS, I used <strong>octile distance</strong> for h. In simple terms, the estimate understands that travelling diagonally can sometimes get you toward the goal faster than only moving horizontally and vertically.</p><p>A* then keeps track of a group called the <strong>frontier</strong>, or open set. These are nodes it has already discovered but hasn’t fully explored yet. On each step, it looks through that frontier and chooses the node with the lowest f value. If two values are exactly the same, my implementation compares h next, and finally which node was discovered first.</p><p>This becomes much easier to understand when you can actually see one decision happening.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ToP6q0UxpC1csVrkERPj6g.png" /><figcaption>A* paused at node (5,2), showing its costs, why it was selected and the cheaper routes discovered from it.</figcaption></figure><p>At <strong>expansion 66 of 377</strong>, for example, AERIS is exploring node (5,2).</p><p>The panel shows:</p><p><strong>g = 2.828</strong><br><strong>h = 28.385</strong><br><strong>f = 31.213</strong></p><p>The g value also tells us exactly how this node was reached. Its parent is (4,3), whose cost was 1.414. Moving diagonally from there adds another 1.414 ;</p><p>1.414 + 1.414 = 2.828</p><p>Its estimated remaining distance, h, is 28.385, so together they produce an f score of 31.213.</p><p>That was the lowest f value in the frontier at that moment, so A* chose (5,2) next. The next-best option had an f of 31.314, so even though the difference was small, (5,2) still came first.</p><p>What became more interesting to me was what happened <strong>after</strong> the node was selected.</p><p>A* checked its surrounding cells and, in this one step, discovered <strong>one new node</strong>, found <strong>two cheaper paths</strong>, found <strong>one route that wasn’t cheaper</strong>, and ignored <strong>four neighbours that had already been explored</strong>.</p><p>For example, A* had already found node (5,1) through another route with a g cost of 5.243. From (5,2), it found a better way to reach the exact same node, reducing that cost to 3.828.</p><p>It did the same for (6,1), where the known cost dropped from 4.828 to 4.243.</p><p>When this happens, A* doesn’t keep the first route just because it found it first. It replaces the cost and updates the node’s <strong>parent</strong> to show the cheaper way of getting there.</p><p>That parent is basically a pointer saying, <strong>“I reached this node from here.”</strong> Those pointers eventually become important for creating the final route.</p><p>I also wanted all of this to be genuinely visible in AERIS rather than just playing an animation that looked like A* was searching. Every time the algorithm expands a node, the program records a <strong>search step</strong> containing its costs, parent, newly discovered neighbours and any cheaper paths it found.</p><p>The interface then replays those actual steps. So when I pause the simulation and see g = 2.828, h = 28.385 and f = 31.213, those aren&#39;t example numbers added to explain A*. They are the values from that exact moment in the real search.</p><p>Finally, when A* reaches <strong>G</strong>, it uses all of the parent links it stored along the way. Starting from the goal, it follows them backwards from node to node until it eventually reaches <strong>S</strong>. Reversing that chain gives AERIS the final route to draw on the grid.</p><h3>Results</h3><p>Once the algorithm was working, the next question was pretty simple: <strong>was it actually finding the right route?</strong></p><p>On the default AERIS map, A* successfully reached the goal and reconstructed the final path from <strong>S to G</strong>. The completed route had a total cost of <strong>45.698</strong> across <strong>38 path nodes</strong>. To get there, A* expanded <strong>377 nodes</strong>, discovered <strong>426</strong>, and reached a maximum frontier size of <strong>56</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VZxYYzXvf3Ve4Q1-nmvU7Q.png" /><figcaption>The completed default search. A* reached G with a final path cost of 45.698 after expanding 377 nodes.</figcaption></figure><p>Seeing a green route appear was useful, but it wasn’t enough to prove that the algorithm was correct. A path can look reasonable and still be more expensive than another one.</p><p>So I also tested AERIS against a separate <strong>Dijkstra solver</strong>. Dijkstra explores routes without using A*’s heuristic, which made it useful as an independent reference for checking the final path cost.</p><p>Across <strong>six fixed maps, 60 seeded random maps, and four additional QA scenarios</strong>, A*’s final route cost matched the Dijkstra result. This gave me much more confidence that the algorithm wasn’t just producing paths that looked right visually — it was finding the minimum-cost path under the movement rules I had defined.</p><p>I also wanted to test what happened when there was <strong>no possible route at all</strong>.</p><p>In the example below, the goal is completely surrounded by blocked cells. A* keeps exploring every reachable option until eventually the frontier becomes empty. After <strong>165 expansions</strong>, it stops and reports that no valid route exists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r027e5sbCU1hxgiKf56p9A.png" /><figcaption>When G is unreachable, A* exhausts every reachable node and correctly reports that no valid route exists.</figcaption></figure><p>That behaviour mattered because AERIS shouldn’t force a result just because the user pressed Start. Sometimes the correct answer to a pathfinding problem is simply: <strong>there is no path</strong>.</p><p>Beyond these scenarios, the final Build passed <strong>127 automated tests</strong> and <strong>114 production browser checks</strong>, covering the algorithm, search history, interface behaviour, responsiveness and other parts of the application.</p><h3>What Went Wrong and How I Fixed It</h3><p>Getting A* to produce a route was one thing. Making sure it was producing that route for the <strong>right reasons</strong> was harder.</p><p>One issue came from the way AERIS decides which node should come first when two scores are extremely close. Because diagonal movement uses √2, the calculations involve decimal values that aren&#39;t represented perfectly by a computer. At first, values that were only slightly different could be treated as if they were equal during priority ordering. That sounds harmless, but the open set depends on having a consistent order.</p><p>The fix was to make the ordering strict: AERIS compares the exact f values first, then h, and finally the order in which the nodes were discovered. I only kept a tiny tolerance of 0.000000001 when deciding whether a newly found route is actually cheaper. That prevents floating-point noise from being mistaken for a real improvement without changing which node should be explored next.</p><p>Another problem appeared when connecting the algorithm to React. During development, <strong>React StrictMode could cause the search to run twice</strong>, which meant one click on Start wasn’t necessarily equal to one A* search. The search preparation was moved outside the part of the app that React could execute again, so a single Start action now creates one search result and one trace for the interface to replay.</p><p>The issue I found most important, though, was making sure the visualization stayed truthful.</p><p>It would have been easy to run A* once, take the final values, and animate something that <em>looked</em> like the algorithm was discovering them over time. But that could show information before A* actually knew it.</p><p>Instead, each expansion records its own state. If a node’s cost or parent changes later, AERIS only shows that change when it actually happened in the search. That’s why the cheaper-path updates in the previous section can be inspected step by step instead of being reconstructed from the final result.</p><p>That changed the way I thought about the Build. A visualization isn’t useful just because it looks convincing. If I’m using it to understand an algorithm, <strong>the explanation has to be as accurate as the algorithm itself.</strong></p><h3>Limitations</h3><p>AERIS helped me understand A* much more deeply, but it is still a very simplified version of autonomous navigation.</p><p>The biggest limitation is the environment itself. AERIS works on a <strong>2D grid with fixed obstacles</strong>. A real autonomous aircraft is operating in three dimensions, where obstacles can move and conditions can change while the aircraft is already flying.</p><p>The cost model is also intentionally simple. In AERIS, a straight move costs 1 and a diagonal move costs √2. That means the algorithm is really optimizing for <strong>path distance inside the grid</strong>. It does not consider things like battery consumption, payload weight, wind, weather or how much energy different manoeuvres require.</p><p>There are also entire parts of autonomous flight that AERIS doesn’t try to model. It doesn’t determine the aircraft’s position using GPS or sensors, detect obstacles from cameras or LiDAR, control motors, or interact with real airspace.</p><p>That distinction became important to me while building it. A* can help answer a question like <strong>“what path should I take through this known space?”</strong>, but that is only one part of making an aircraft autonomous.</p><p>So AERIS isn’t a drone-navigation system. It is a way of isolating one part of route planning so I could understand and test it properly before thinking about the much larger system around it.</p><h3>What I Learned</h3><p>The biggest difference for me was going from <strong>knowing the A* equation to actually understanding what it was doing</strong>.</p><p>Before this Build, I understood that f = g + h, but I hadn&#39;t really thought about what happens when A* discovers a cheaper route to a node it has already seen, why the heuristic changes the search, or how parent links eventually turn hundreds of individual decisions into one final path.</p><p>Building AERIS also made me think differently about correctness. A route looking reasonable on screen isn’t enough. Comparing the results against Dijkstra, testing impossible maps, and checking the search step by step made me much more aware of how easily a visualization can look convincing while still being technically wrong.</p><p>Most importantly, I now see A* as <strong>one small part of autonomy</strong>, not “the algorithm that makes a drone autonomous.” Real navigation also depends on localization, sensing, energy, weather, control and many other systems. Isolating one part first made that bigger system much easier to understand.</p><h3>Next Steps</h3><p>The next thing I want to test is what happens when <strong>distance is no longer the only cost that matters</strong>.</p><p>Right now, AERIS looks for the lowest-cost route based on movement through the grid. A possible next step would be adding factors such as <strong>energy use, wind or payload</strong>, and then comparing the route A* chooses for distance with the route it chooses for energy.</p><p>That would let me explore a more realistic question: <strong>is the shortest route always the best route for an autonomous aircraft?</strong></p><h3>References</h3><p>Hart, P. E., Nilsson, N. J., &amp; Raphael, B. (1968). <em>A Formal Basis for the Heuristic Determination of Minimum Cost Paths.</em> IEEE Transactions on Systems Science and Cybernetics, 4(2), 100–107. DOI: 10.1109/TSSC.1968.300136.</p><p>Dijkstra, E. W. (1959). <em>A Note on Two Problems in Connexion with Graphs.</em> Numerische Mathematik, 1, 269–271. DOI: 10.1007/BF01386390.</p><p>ROS 2 Navigation / Nav2. <em>Smac Planner Documentation.</em> The planner implements A*-based 2D, Hybrid-A*, and State Lattice path planners.</p><p>ArduPilot Documentation. <em>Object Avoidance with BendyRuler.</em> Used as a comparison showing that real autonomous navigation systems can use path-planning approaches other than A*.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=305bc42ec13b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why the Shortest Route Is Often the Wrong Route for a Drone]]></title>
            <link>https://medium.com/@aadikapoor83/why-the-shortest-route-is-often-the-wrong-route-for-a-drone-d5036d93b05a?source=rss-10a7d83cdd66------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5036d93b05a</guid>
            <category><![CDATA[autonomous-vehicles]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[drones]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[robotics]]></category>
            <dc:creator><![CDATA[Aadi Kapoor]]></dc:creator>
            <pubDate>Thu, 01 Oct 2026 22:45:48 GMT</pubDate>
            <atom:updated>2026-10-16T08:39:33.882Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Inside the sensors, algorithms, energy trade-offs, and real-time decisions that turn a straight line on a map into an autonomous flight plan.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t_a3mPmPXmreSHv4PSBtqw.png" /></figure><p><strong>If a drone can fly directly to its destination, why would it ever take the longer route?</strong></p><p>Unlike a delivery truck, a drone doesn’t have to follow roads, wait at traffic lights or take a long detour around a river. It can travel through the air, seemingly free from many of the obstacles that make transportation on the ground so complicated.</p><p>So if a drone needs to travel from point A to point B, the obvious solution seems to be drawing the shortest possible line between them.</p><p>At least, that’s what I initially thought.</p><p>When I began exploring autonomous aerial vehicles, I assumed route planning would be one of the easier problems. Give the drone a destination, calculate the distance, avoid a few obstacles and let the software handle the rest.</p><p>But consider two possible routes.</p><p>One is 12 kilometres long. The other is 15.</p><p>The shorter route seems like the better choice. But what if it takes the aircraft directly into strong headwinds or forces it to climb over difficult terrain? What if the longer route allows it to fly at a safer altitude while consuming less energy?</p><p>Suddenly, those extra three kilometres start to make sense.</p><p>And the problem doesn’t end once the aircraft takes off. Weather changes, batteries drain faster than expected and navigation systems have to work with measurements that aren’t always accurate.</p><p>This raises a more interesting question than simply finding the shortest path:</p><p><strong>How does an autonomous drone decide which route is actually worth taking?</strong></p><p>To answer that, we need to understand how these aircraft navigate, how algorithms compare possible routes and why the best flight plan isn’t always the most direct one.</p><h3><strong>Why fly at all?</strong></h3><p>Before getting into algorithms, there’s a more basic question worth asking.</p><p>Why deliver something through the air in the first place?</p><p>Speed is the obvious advantage. A drone can travel directly to its destination without getting stuck in traffic or following winding roads.</p><p>But in some places, the more important advantage is access.</p><p>Imagine a hospital in a mountainous region that urgently needs a supply of blood. Another hospital has it, just 25 kilometres away.</p><p>That sounds close enough, until you consider the road connecting them. It might wind around mountains, cross several bridges or become inaccessible during heavy rainfall.</p><p>The straight-line distance hasn’t changed, but the time required to make the delivery has.</p><p>For an ordinary package, that might mean an inconvenient delay. For an emergency medical delivery, those extra hours could matter enormously.</p><p>This is where drones become more than a faster way of transporting things. They can sometimes reach places that are difficult, slow or temporarily impossible to access by road.</p><p>And this isn’t just a hypothetical possibility.</p><h3>What happened in Rwanda?</h3><p>In Rwanda, medical delivery company Zipline has used fixed-wing drones to transport blood products to healthcare facilities.</p><p>A 2022 study published in <em>The Lancet Global Health</em> examined <strong>12,733 drone deliveries between 2017 and 2019</strong>.</p><p>The average delivery took approximately <strong>49.6 minutes</strong>, around <strong>79 minutes faster than the estimated road-delivery time</strong>. The researchers also reported a reduction in blood-product expirations following the introduction of the drone delivery system.</p><p>That second finding is particularly interesting. Faster, more responsive deliveries can also help healthcare facilities manage their inventory and reduce waste.</p><p>There is an important limitation to the comparison, though. The study compared actual drone delivery times with estimated road journeys, rather than timing equivalent deliveries made using both methods.</p><p>It also didn’t establish that drones would be the most economical solution for every type of delivery.</p><p>Still, the results demonstrate something important: <strong>changing how something travels can change what becomes possible.</strong></p><p>A hospital doesn’t necessarily need a better road to receive an urgent delivery faster. Under suitable conditions, an aircraft can bypass the road network altogether.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZCHjUyZS4LqdJcwgy8Ctrg.jpeg" /><figcaption>Zipline’s fixed-wing delivery system releases medical supplies by parachute, allowing deliveries without requiring the aircraft to land at the destination. Photo: Wikimedia Commons.</figcaption></figure><h3>But flying creates a different set of problems</h3><p>Removing roads from the equation sounds like an enormous advantage.</p><p>But roads also provide something useful: a relatively predictable network of routes.</p><p>Once a drone takes to the air, it must navigate an environment that is much less straightforward than an empty space on a map.</p><p>It needs to know where it is, identify where it can safely and legally fly, estimate the energy required and respond when conditions change.</p><p>And unlike a delivery truck, it can’t simply pull over when something goes wrong.</p><p>Flying directly to a destination might solve the problem of road access, but it creates another challenge: <strong>how can the aircraft complete the journey safely?</strong></p><p>The answer begins with the aircraft itself.</p><h3>First, what are we actually flying?</h3><p>The word <em>drone</em> is often used as though it describes one type of aircraft.</p><p>But a quadcopter hovering above someone’s garden and a drone transporting medical supplies across 50 kilometres are very different machines.</p><p>Their designs determine how they generate lift, consume energy, take off and land. Those differences also influence which routes are practical.</p><p>There are three main configurations worth understanding.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FobQ755H3MzdYtH3q2iCNg.png" /><figcaption>Three common drone configurations</figcaption></figure><h3>Multirotors: flexibility comes at a cost</h3><p>Multirotors use several spinning propellers to generate lift. They can take off vertically, hover in one position and land in relatively small spaces.</p><p>This makes them useful for deliveries where there isn’t enough room for a runway.</p><p>The trade-off is energy consumption.</p><p>A multirotor must continuously generate enough thrust to support its weight, even when hovering. For long-distance travel, this generally makes it less energy-efficient than an aircraft that can rely on wings during forward flight.</p><h3>Fixed-wing: built to cover distance</h3><p>Fixed-wing drones operate more like conventional aeroplanes.</p><p>As they move forward, airflow over their wings generates lift, allowing them to travel efficiently over longer distances.</p><p>That makes them attractive for deliveries between distant locations.</p><p>However, conventional fixed-wing aircraft cannot hover. They also require a suitable launching and recovery method, such as a runway, launcher or specialized recovery system.</p><h3>Hybrid VTOL: combining two approaches</h3><p>VTOL stands for <em>Vertical Take-Off and Landing</em>.</p><p>Hybrid VTOL aircraft combine vertical takeoff and landing capabilities with wing-supported forward flight.</p><p>They can operate from relatively compact spaces while benefiting from efficient cruising.</p><p>But combining these capabilities introduces additional weight, mechanical complexity and the challenge of transitioning safely between hovering and forward flight.</p><p>There isn’t one aircraft design that works best for every delivery.</p><p>A multirotor may suit a short journey requiring precise hovering. A fixed-wing aircraft may be better for travelling between established delivery sites. A hybrid VTOL may be useful when both vertical access and longer-range flight matter.</p><p><strong>The mission shapes the aircraft, and the aircraft shapes the route.</strong></p><p>But regardless of the design, an autonomous drone faces the same fundamental question before it can follow a route.</p><p>Where exactly is it?</p><h3>How does a drone know where it is?</h3><p>The first answer that comes to mind is GPS.</p><p>Give the drone its location, provide a destination and the navigation system should be able to work out the rest.</p><p>Except knowing where an aircraft is isn’t quite the same as knowing how it’s moving.</p><p>Imagine a drone flying through a mountain valley. It needs to know its position, but also its speed, direction, altitude and orientation.</p><p>Engineers describe this information as the aircraft’s <em>state</em>, which typically includes position, velocity and orientation.</p><p>An inaccurate state estimate can cause serious problems. A drone cannot reliably follow a route if it believes it’s somewhere else, and it cannot stabilize itself properly if it misjudges its movement.</p><p>That’s why autonomous navigation depends on more than one sensor.</p><h3>GPS is only part of the answer</h3><p>GPS is one example of a broader technology called GNSS, or <em>Global Navigation Satellite System</em>.</p><p>GNSS receivers use satellite signals to estimate an aircraft’s position.</p><p>This provides an important external reference, but satellite navigation isn’t perfect. Signals can be obstructed or reflected by terrain and buildings, and position measurements contain errors.</p><p>GNSS alone also isn’t sufficient for the rapid motion and orientation estimates needed to control an aircraft.</p><p>For that, drones use another important component: the IMU.</p><h3>The IMU: the drone’s sense of movement</h3><p>An IMU, or <em>Inertial Measurement Unit</em>, typically contains accelerometers and gyroscopes.</p><p>Accelerometers measure specific force, while gyroscopes measure how quickly the aircraft is rotating.</p><p>These sensors provide rapid measurements that help the flight controller understand how the drone is moving.</p><p>Unlike GNSS, an IMU doesn’t depend on satellite signals.</p><p>But it has a different limitation.</p><p>When inertial measurements are used to estimate movement over time, small errors accumulate. Even tiny inaccuracies can gradually produce a significant difference between the estimated position and the aircraft’s actual location.</p><p>This is known as <em>drift</em>.</p><p>So we have two useful systems with different weaknesses.</p><p>GNSS provides an external position reference, but its measurements can be unreliable. The IMU responds quickly, but its errors accumulate over time.</p><p>Rather than choosing between them, autonomous systems combine their information.</p><h3>Sensor fusion: deciding what to trust</h3><p>This process is called <em>sensor fusion</em>.</p><p>A drone combines measurements from different sources to estimate its current state. Depending on the aircraft, these may include GNSS, an IMU, a barometer and sometimes cameras, radar or LiDAR.</p><p>One widely used approach involves a <strong>Kalman filter</strong>.</p><p>A Kalman filter repeatedly predicts the aircraft’s state and updates that prediction when new measurements become available. It also accounts for uncertainty in those estimates.</p><p>Consider a simple example.</p><p>A drone is flying steadily forward when its GNSS receiver suddenly reports that it has moved 20 metres sideways.</p><p>But the IMU hasn’t detected movement consistent with such a sudden change.</p><p>Should the drone immediately accept the satellite measurement?</p><p>Not necessarily.</p><p>A state estimator can compare the measurement with its prediction and account for the uncertainty of each source. Depending on its design, it may give the unexpected GNSS reading less influence or reject it.</p><p>That doesn’t mean the algorithm magically knows which sensor is correct.</p><p><strong>It means the aircraft is continually updating its best estimate using imperfect information.</strong></p><p>This matters because a route planner doesn’t operate with perfect knowledge of the aircraft’s position. It relies on estimates, and those estimates contain uncertainty.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QukF1c0knI_lRmvy1CBdHA.png" /><figcaption>How drones combine sensor data to estimate their position, movement and orientation.</figcaption></figure><p>Once the aircraft has a reliable estimate of where it is, the next challenge is deciding where to go.</p><h3>So how does a drone actually choose a route?</h3><p>Imagine we’re delivering medical supplies across a mountainous region.</p><p>The destination is 12 kilometres away, but the shortest route passes over high terrain and encounters strong headwinds.</p><p>Another route is slightly longer but avoids some of those conditions.</p><p>Which one should the drone take?</p><p>To answer that, the navigation system needs a way to represent possible routes and compare their costs.</p><h3>Turning the sky into a problem a computer can solve</h3><p>One approach is to represent the environment as a <em>graph</em>.</p><p>In computer science, a graph consists of points called <strong>nodes</strong>, connected by lines called <strong>edges</strong>.</p><p>For a drone, nodes can represent possible locations or waypoints, while edges represent connections the aircraft could travel between.</p><p>Suppose our drone starts at point A and needs to reach point F.</p><p>It has three possible routes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V3E7ThIcJ2uQxz8L_oV_ag.png" /><figcaption>Three possible routes to the same destination, each with different distances, weather conditions, terrain and risks.</figcaption></figure><p><strong>Route 1: A → B → C → F</strong></p><p>At 12 kilometres, the blue route is the shortest. But it encounters strong headwinds, higher terrain and greater risk.</p><p><strong>Route 2: A → D → E → F</strong></p><p>The red route is 14 kilometres long, with more manageable winds, lower terrain and lower risk.</p><p><strong>Route 3: A → B → E → F</strong></p><p>The green route is 13 kilometres long. In our simplified example, it encounters lighter winds but moderately difficult terrain.</p><p>All three reach the same destination, but the flying conditions are different.</p><p>If distance were the only consideration, Route 1 would win immediately.</p><p>But what happens when we consider energy?</p><h3>What if the shortest route uses more battery?</h3><p>A drone’s energy consumption depends on more than the distance travelled.</p><p>Wind, payload, speed, altitude changes and aircraft design all influence the energy required.</p><p>Flying into a headwind, for example, can increase the time needed to cover a given ground distance. Climbing over mountainous terrain can also increase energy consumption.</p><p>Let’s assign hypothetical energy estimates to our three routes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5MAsj4tEzKgdkcp1JZgmGg.png" /><figcaption><em>These figures are illustrative, not measurements from a real aircraft.</em></figcaption></figure><p>Now suppose our drone has <strong>220 watt-hours (Wh) available for the mission</strong>, after setting aside an appropriate safety reserve.</p><p>Route 1 requires 240 Wh, exceeding the available energy budget.</p><p>Route 2 requires 205 Wh, making it feasible.</p><p>Route 3 requires just 180 Wh, making it the least energy-intensive option in this example.</p><p>The shortest route isn’t merely less efficient.</p><p><strong>It isn’t even feasible under our assumed energy limit.</strong></p><p>A real aircraft would require a much more detailed energy model, but the example demonstrates an important principle.</p><p>The best route depends on what we’re trying to optimize.</p><p>And this is where pathfinding algorithms become useful.</p><h3>So where does A* come in?</h3><p>One of the most widely known pathfinding algorithms is <strong>A*</strong>, pronounced <em>A-star</em>.</p><p>A* searches through a graph to find a path with the lowest total cost.</p><p>Rather than exploring every possible route equally, it uses an estimate of how promising each option is.</p><p>Its central equation is:</p><p><strong>f(n) = g(n) + h(n)</strong></p><p>Here’s what each part means:</p><ul><li><strong>g(n)</strong> is the cost of reaching the current node from the starting point.</li><li><strong>h(n)</strong> estimates the remaining cost from that node to the destination.</li><li><strong>f(n)</strong> combines those values to help determine which node the algorithm explores next.</li></ul><p>The interesting part is <strong>h(n)</strong>, known as the <em>heuristic</em>.</p><p>Think of it as an informed estimate of the cost remaining.</p><p>Imagine navigating through a city. You could explore every possible street, including those leading away from your destination. Or you could use an estimate of the remaining distance to prioritize streets that seem more promising.</p><p>A* follows a similar principle.</p><p>It considers both the cost already incurred and the estimated cost remaining. With an appropriate heuristic and the necessary assumptions about the graph and costs, it can efficiently find a minimum-cost path.</p><p>But there’s an important catch.</p><p><em>A doesn’t automatically know what makes a good drone route.</em>*</p><p>It doesn’t inherently understand wind, battery limitations, terrain or restricted airspace.</p><p>Those factors have to be represented in the problem we give it.</p><p>If we tell A* to minimize distance, it searches for the shortest route.</p><p>If we provide a suitable energy-cost model, it can instead search for a route with lower estimated energy consumption.</p><p>The algorithm hasn’t changed.</p><p><strong>What we’ve told it to optimize has.</strong></p><h3>Finding the cheapest route isn’t the same as finding a safe route</h3><p>There’s another distinction worth understanding.</p><p>Not every factor should simply be added to a route’s cost.</p><p>Distance is measured in kilometres. Energy is measured in watt-hours. Risk might be represented by a probability or another numerical measure.</p><p>We can’t meaningfully combine those values without deciding how they should be weighted.</p><p>More importantly, some conditions aren’t negotiable.</p><p>If an area of airspace is prohibited, the drone shouldn’t be allowed to fly through it simply because doing so would save energy.</p><p>This is the difference between an <strong>objective</strong> and a <strong>constraint</strong>.</p><p>An objective is something we’re trying to optimize.</p><p>A constraint is a condition the route must satisfy.</p><p>For our example, the objective could be to minimize total estimated energy consumption.</p><p>But the route must also avoid prohibited airspace, maintain safe terrain clearance, remain within the available energy budget and satisfy the aircraft’s operating limits.</p><p>The planner can then search for the lowest-energy route among the options that meet those requirements.</p><p><strong>The challenge isn’t just finding the cheapest route. It’s finding the best route among the ones the aircraft can actually fly.</strong></p><p>And even after making that decision, the problem isn’t finished.</p><p>The world doesn’t stay the same.</p><h3>When the original route stops making sense</h3><p>Imagine our drone has selected Route 3.</p><p>The journey is 13 kilometres long and is expected to require 180 Wh. With 220 Wh available, the mission appears feasible.</p><p>But halfway through the flight, the wind becomes stronger than forecast.</p><p>The aircraft is now making slower progress and consuming energy faster than predicted.</p><p>Suddenly, the calculations that made Route 3 the best choice may no longer be accurate.</p><p><strong>Choosing a good route before takeoff is one problem. Recognizing when that route is no longer suitable is another.</strong></p><h3>Range is not just a number</h3><p>When a manufacturer advertises a drone’s range as 30 kilometres, it’s tempting to imagine a circle around the aircraft.</p><p>Everything inside that circle is reachable. Everything outside it isn’t.</p><p>But real flight doesn’t work quite like that.</p><p>Range depends on conditions such as wind, payload, temperature, terrain and the aircraft’s operating characteristics.</p><p>A tailwind can help an aircraft cover more ground for a given amount of flying time, while a headwind can reduce its progress.</p><p>Climbing over a mountain may require additional energy. Flying around it could mean travelling farther but avoiding that climb.</p><p>And the aircraft cannot necessarily use every last watt-hour stored in its battery. It needs an appropriate reserve for unexpected conditions, possible diversions and safe landing.</p><p>So the more useful question isn’t simply whether a destination falls within the advertised range.</p><p>It’s whether <strong>this aircraft can complete this mission, under these conditions, with an adequate safety margin.</strong></p><h3>Planning doesn’t stop at takeoff</h3><p>A capable flight-management system can compare actual progress and energy consumption with its earlier predictions.</p><p>If conditions change significantly, it may need to reconsider the remaining route.</p><p>Perhaps another path is now more efficient. Perhaps the aircraft should return to its launch point or divert to a suitable landing location.</p><p>The correct response depends on the available alternatives, remaining energy, operating limits and the aircraft’s contingency procedures.</p><p>Updating a route as new information becomes available is known as <strong>dynamic replanning</strong>.</p><p>The basic idea is straightforward:</p><p><strong>Plan → Fly → Monitor → Replan</strong></p><p>But replanning has limits.</p><p>If the weather becomes too severe, the battery is too low or no suitable landing location is available, the system cannot simply invent a safe alternative.</p><p>Sometimes the right decision is to reject the mission before takeoff. During flight, it may mean abandoning the delivery and following a predefined contingency procedure.</p><p>That isn’t a failure of autonomy.</p><p>It’s part of operating safely.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ec64PBOodDX0_CeGVNvKVA.png" /><figcaption>An autonomous delivery mission involves more than planning a route. The system must check feasibility, monitor changing conditions and respond when the original plan is no longer safe.</figcaption></figure><h3>What are autonomous delivery drones actually doing today?</h3><p>Autonomous drone delivery is no longer confined to research labs.</p><p>Aircraft are already transporting medical supplies, groceries and everyday packages without a pilot physically controlling every movement.</p><p>But there’s an important distinction between a drone that can follow a planned route automatically and one that can independently handle almost anything the environment throws at it.</p><p>Today’s delivery systems demonstrate how engineering can make autonomous flight practical within defined operating conditions.</p><p>Two examples illustrate different approaches.</p><h3>Zipline: designing delivery around the aircraft</h3><p>We’ve already seen how Zipline has used fixed-wing drones to deliver blood products in Rwanda.</p><p>Its original delivery system is interesting because of how the aircraft and delivery process work together.</p><p>The drone is launched from a distribution centre, travels along a planned route and releases its package by parachute above the delivery location.</p><p>It doesn’t need to land at the hospital.</p><p>This addresses a limitation of conventional fixed-wing aircraft: they’re efficient in forward flight but cannot hover or land vertically in confined spaces.</p><p>Rather than requiring every destination to have landing infrastructure, Zipline designed a delivery method that works with the aircraft’s capabilities.</p><p>The route still has to account for weather, terrain, airspace and operating limits. But the delivery mechanism removes one significant obstacle.</p><h3>Wing: a different approach</h3><p>Wing uses aircraft that combine vertical takeoff and landing with wing-supported forward flight.</p><p>When a drone reaches its destination, it hovers and lowers the package using a tether rather than landing.</p><p>This allows deliveries to locations without a runway or dedicated landing area.</p><p>Wing’s operations also take place within defined service areas and operating conditions.</p><p>Its aircraft can perform substantial parts of a flight automatically, but the wider system still depends on flight planning, airspace compliance, weather limits and human oversight.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yuhRpNN5rDrS1qwuhre7rg.png" /></figure><h3>So how autonomous are these systems?</h3><p>A drone following a planned route using onboard navigation and flight-control software is performing autonomous functions.</p><p>But that doesn’t necessarily mean it independently makes every decision required to complete a mission.</p><p>Some decisions may be made before takeoff. Others may be handled by onboard software, ground-based systems or human operators.</p><p>Companies also don’t necessarily disclose the details of their route-planning algorithms.</p><p>So we shouldn’t assume that Zipline or Wing uses A*, or that either company’s aircraft continuously calculates a globally optimal route.</p><p>What these systems demonstrate is something broader:</p><p><strong>Autonomous delivery works when the aircraft, software, infrastructure and operating environment are designed together.</strong></p><p>That doesn’t eliminate the challenges of navigation. It makes those challenges manageable within a particular type of operation.</p><p>Expanding beyond those conditions is where things become more difficult.</p><h3>What’s still unsolved?</h3><p>If autonomous delivery is already possible, why isn’t it operating almost everywhere?</p><p>Part of the answer is that following a route under expected conditions is very different from making reliable decisions when those conditions change.</p><p>Several problems remain particularly difficult.</p><h3>Weather uncertainty</h3><p>A forecast might predict winds of 20 kilometres per hour across a region.</p><p>But that doesn’t necessarily tell us what a small drone will experience inside a narrow valley or near a mountain ridge.</p><p>Wind speed and direction can change with altitude, terrain and local conditions.</p><p>A route that looks efficient using forecast data might require considerably more energy in practice.</p><p>The challenge is deciding how much uncertainty the planner should allow for.</p><p>A conservative system may reject missions that could have succeeded. A system that assumes favourable conditions may accept missions with insufficient safety margins.</p><p>Finding the right balance is difficult.</p><h3>Reliable energy predictions</h3><p>Our earlier example assumed that Route 3 would consume 180 Wh.</p><p>But a real prediction depends on an energy model that may not perfectly represent the aircraft’s behaviour.</p><p>Battery condition, temperature, payload, wind and flight manoeuvres can all affect the energy required.</p><p>The challenge isn’t simply predicting how far a drone can fly. It’s determining how confidently the aircraft can complete the journey while preserving an appropriate reserve.</p><p>That becomes especially important over terrain with few suitable emergency landing locations.</p><h3>Sharing the airspace</h3><p>The sky isn’t empty.</p><p>Drones may operate near other aircraft, restricted areas and changing airspace conditions.</p><p>This becomes particularly challenging for flights <strong>beyond visual line of sight (BVLOS)</strong>, where the aircraft travels beyond the distance at which a human pilot can directly observe it.</p><p>Safe BVLOS operations require suitable procedures, technology and regulatory authorization. The requirements depend on the country and type of operation.</p><p>As drone traffic increases, route planning may also require coordination with other aircraft and responses to changing airspace restrictions.</p><h3>What happens when there isn’t a safe alternative?</h3><p>Consider a medical delivery drone flying through mountainous terrain.</p><p>The wind becomes stronger than expected. Energy consumption increases. Returning to the launch point would require flying into the same headwind, while the nearest suitable landing location is several kilometres away.</p><p>The route planner may be able to compare the remaining options.</p><p>But what if none satisfies the aircraft’s safety requirements?</p><p>The system needs more than an algorithm that identifies the lowest-cost path. It needs reliable ways to recognize uncertainty, manage risk and execute an appropriate contingency procedure.</p><p>Sometimes the safest decision is not to begin the mission.</p><p><strong>The hardest part of autonomous navigation isn’t always finding a route. It’s knowing whether a safe, feasible route exists at all.</strong></p><h3>The shortest route was never really the point</h3><p>Getting a drone from point A to point B might look like a simple navigation problem.</p><p>But a straight line on a map doesn’t show the wind the aircraft will encounter, the energy it will consume or whether the route will remain safe as conditions change.</p><p>That’s why a 15-kilometre route can sometimes be a better choice than a 12-kilometre one.</p><p>Not because longer routes are inherently better, but because distance is only one part of the decision.</p><p>Sensors help the aircraft estimate where it is. Algorithms compare possible routes. Energy models help determine which journeys are feasible. And monitoring systems help respond when reality differs from the original plan.</p><p>Real-world delivery systems have already demonstrated what this technology can achieve under carefully designed operating conditions. Extending those capabilities to more unpredictable environments remains a significant challenge.</p><p>The goal isn’t to build a drone that always finds a way to its destination.</p><p><strong>It’s to build one that can recognize which routes are worth taking, when the plan needs to change and when flying isn’t the right decision at all.</strong></p><p>The shortest route might get you there.</p><p>The right route gets you there safely.</p><h3>Sources &amp; Further Reading</h3><ul><li><strong>Nisingizwe, M. P., et al. (2022).</strong> “Effect of unmanned aerial vehicle (drone) delivery on blood product delivery time and wastage in Rwanda: a retrospective, cross-sectional study and time series analysis.” <em>The Lancet Global Health, 10</em>(4), e564–e569. DOI: 10.1016/S2214–109X(22)00048–1.</li><li><strong>Federal Aviation Administration (FAA).</strong> “Package Delivery by Drone (Part 135).” Overview of commercial drone delivery operations and regulatory requirements.</li><li><strong>Ducard, G. J. J., &amp; Allenspach, M. (2021).</strong> “Review of designs and flight control techniques of hybrid and convertible VTOL UAVs.” <em>Aerospace Science and Technology, 118</em>, 107035. DOI: 10.1016/j.ast.2021.107035.</li><li><strong>“UAV Positioning Using GNSS: A Review of the Current Status.” (2026).</strong> <em>Drones, 10</em>(2), 91. DOI: 10.3390/drones10020091.</li><li><strong>Hart, P. E., Nilsson, N. J., &amp; Raphael, B. (1968).</strong> “A Formal Basis for the Heuristic Determination of Minimum Cost Paths.” <em>IEEE Transactions on Systems Science and Cybernetics, 4</em>(2), 100–107. DOI: 10.1109/TSSC.1968.300136.</li><li><strong>Stolaroff, J. K., Samaras, C., O’Neill, E. R., et al. (2018).</strong> “Energy use and life cycle greenhouse gas emissions of drones for commercial package delivery.” <em>Nature Communications, 9</em>, 409. DOI: 10.1038/s41467–017–02411–5.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5036d93b05a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>