Last month SRO flew search-and-rescue drones under forest canopy. This month we took it underground. Caves are where a forest drone's habits fail: there's no GPS, no radio, no sky to climb out to, and rock within a metre on every side. We wanted two things from SRO here. First, map a cave on its own and come back out. Second, do it as part of an ordinary search, with nobody telling it a cave is there. Everything here is still in simulation, with ArduPilot flying the drone as software-in-the-loop.
Caves to fly in
We built a small set of caves in Unreal, each from a generated layout with detailed rock surfaces:
- A hillside cave about 140 m deep, with passages a little over 2 m high, tight pinches, a vertical shaft and a lower level beneath it;
- a short cave, a long cave and a maze, so that no result rests on one layout.
Because we have each cave's exact 3D model, we can score the drone's map against the real thing. We measure how much of the space the drone could physically reach it actually mapped, and how far its walls sit from the true ones.
The job: map until there's nowhere left to go
The task, in our own words when we set it: map the cave with lidar until no space is left that is big enough for the drone to fit through. Mark each area finished in a saved map. Always keep track of the way back to the mouth, and come out there for battery swaps.
SRO does all of that on its own. It chooses which opening to explore next, flies there, and tags areas as finished, still open, or too small for it. When the battery runs low, it flies home along its own track, lands, gets a fresh pack, and flies back in to where it left off. The map survives the swap.
On its first successful flight it chose its own routes, turned home on energy, and landed 0.6 m from the pad with no contact with the rock.
Knowing where you are with no GPS
Underground, the drone has to work out its position from what it sees. SRO matches each lidar scan against the map it has built so far, and recognises places it has been before. On one 100 m deep survey, its own position estimate stayed within about half a metre of the truth. The flight controller, working from its own sensors alone, drifted 14 m.
We now feed SRO's position to the autopilot, so the flight controller flies on SRO's estimate when GPS is gone. Getting that hand-off right took several rounds. The two estimates have to agree on who has already applied which correction, or the drone steps the same correction twice.
A drone that can see down
Our heavier X500 carries lidars that can't see straight down, so the vertical shaft stayed out of its reach. We switched to our light scout, whose lidar looks underneath. It is ducted, so it can bump a wall gently without harm. On one of its first flights it flew down the shaft and back up, and mapped the lower level beyond: 84% of everything it could reach, the shaft at nearly 100%. Its map's walls sat a median 0.38 m from the true surface.
From one good flight to reliable flights
One good flight is a demo. What matters is the same result again and again, so we fly the caves in batches and fix whatever goes wrong. Most of the fixes were about doubt, not speed:
- trusting the height sensor over the scan match when they disagree under rock;
- steering by the freshest scans in tight spots, not only the accumulated map;
- refusing position corrections that move faster than the drone could;
- giving up on an opening it can't get to, rather than trying the same way again.
The batches improved step by step. Two of the caves are now mapped almost completely every time: about 100% for the short cave and 95% for the maze, home on every flight. In our latest batch on the two harder caves, all six flights came home with no contact with the rock, and they mapped between 47% and 97% of each cave. Coverage is now what varies most from flight to flight, more than safety.
The simulator has one quirk worth stating openly: it has no collision response, so a drone that touches rock can slide into it. We count any flight that ends up inside rock as a crash, so our safety numbers are, if anything, stricter than reality.
Mixing it up: the drone that found its own cave
Most drones are specialists, and someone tells them where they are. We want one drone that searches a forest for a missing person, notices a cave on its own, maps it, keeps searching, and comes home for batteries. There should be no "you're in a cave now" switch.
So we flew the hillside cave as a plain search. The mission was the one a search team would give: search the ground around the launch point. Whether a cave was there, where its way in was, and whether to go inside were all left to SRO. The reasoning is simple: a person who is lost or sheltering could be under that rock, and a search from outside can never see in.
On its twentieth try at this mission, the drone did the whole job. It searched around the launch point, found the cave's way in by itself, and went inside. It mapped about two thirds of the cave and came home on a low battery. Then it got a fresh pack, flew back in along its own track, finished the search and landed home again. That was about 90 minutes in the air with no crashes and no contact with the rock.
Earlier tries had each got part of the way. One mapped 93% of the cave but ran out of time before reaching home. Another swapped batteries cleanly and mapped 86%, then the simulator itself froze. Another got inside within its first 8 minutes.
Almost every problem was a version of one question: what is really there?
- Not every hole is a cave. From outside, the map showed lots of openings: dips in the ground, gaps under bushes, overhangs up the hill. SRO now looks for real rock overhead and asks whether a person on foot could walk in.
- A search area has edges; a cave doesn't. Most of this cave lies outside the area the drone was asked to search. It now follows any space that starts inside its area, wherever that space leads.
- Getting close enough. Passing a few metres from a cave mouth isn't looking into it. The drone now flies right up to an opening before judging what's inside.
- Knowing when to give up on a squeeze. When the same pinch keeps pushing it back, it marks that way as blocked and tries the cave's other branches.
- Sensors that lie. On one flight the height sensor froze at a reading that said the drone was on the ground while it was flying. The drone now cross-checks before trusting that kind of reading.
What still needs work
- Getting in sooner. On the full run the drone spent its first 20 minutes on hillside openings it couldn't reach before it found the real way in.
- Mapping more of each cave, every time. Safety is now consistent; coverage isn't yet.
- The forest around the hill. Next comes a single flight that starts under the trees, finds the cave, and handles both with the same drone and the same settings.
The goal is unchanged: one drone that works out from its surroundings what kind of place it's in, and flies it the way that place needs.