This post is also available in: heעברית (Hebrew)

Researchers at NASA’s Jet Propulsion Laboratory (JPL) in California put their work to the test recently. Timing laps through a twisting obstacle course, they raced drones controlled by artificial intelligence (A.I.) against a professional human pilot.

The race capped off two years of research into drone autonomy funded by Google. The company was interested in JPL’s work with vision-based navigation for spacecraft — technologies that can also be applied to drones. To demonstrate the team’s progress, JPL set up a timed trial between their A.I. and world-class drone pilot Ken Loo.

According to nasa.gov, the team built three custom drones and developed the complex algorithms the drones needed to fly at high speeds while avoiding obstacles. These algorithms were integrated with Google’s Tango technology, which JPL also worked on.

“We pitted our algorithms against a human, who flies a lot more by feel,” said Rob Reid of JPL, the project’s task manager. “You can actually see that the A.I. flies the drone smoothly around the course, whereas human pilots tend to accelerate aggressively, so their path is jerkier.”

Compared to Loo, the drones flew more cautiously but consistently. Their algorithms are still a work in progress. For example, the drones sometimes moved so fast that motion blur caused them to lose track of their surroundings.

Loo attained higher speeds and was able to perform impressive aerial corkscrews. But he was limited by exhaustion, something the A.I.-piloted drones didn’t have to deal with.

While the A.I. and the human pilot started out with similar lap times, after dozens of laps, Loo learned the course and became more creative and nimble. For the official laps, Loo averaged 11.1 seconds, compared to the autonomous drones, which averaged 13.9 seconds.

But the latter was more consistent overall. Where Loo’s times varied more, the A.I was able to fly the same racing line every lap.

Without a human pilot, autonomous drones typically rely on GPS to find their way around. That’s not an option for indoor spaces like warehouses or dense urban areas. A similar challenge is faced by autonomous cars.

Camera-based localization and mapping technologies might allow drones to check on inventory in warehouses or assist search and rescue operations at disaster sites. They might even be used eventually to help future robots navigate the corridors of a space station.