Autonomy. Lawrence Burns
Чтение книги онлайн.

Читать онлайн книгу Autonomy - Lawrence Burns страница 16

Название: Autonomy

Автор: Lawrence Burns

Издательство: HarperCollins

Жанр: Программы

Серия:

isbn: 9780008302085

isbn:

СКАЧАТЬ alt="Image Missing"/>

      Once Stanford’s AI class conducted its 8.4-mile test run, Thrun winnowed his team down to four key people. Thrun himself and Carnegie Mellon alum Mike Montemerlo were the first two. Among those who had taken his robot class, Thrun discovered a fellow German, a computer-vision expert and programming whiz named Hendrik Dahlkamp. The fourth was a grad student named David Stavens.

      A quartet was appropriate to the task because that’s how many occupants the Touareg comfortably fit. For a week at a time, Thrun and the other three would head out into the Mojave Desert and drive the trails. At first, they’d set the vehicle on a trail, watch it navigate itself, and eventually the robot would encounter something it couldn’t handle. Then someone would code a fix. As the process repeated itself dozens, and eventually hundreds, of times, the robot became sophisticated enough that it began to teach itself. In this phase, Thrun would drive Stanley through the desert, manning the controls, slowing down when the road became rough or steep, accelerating on smooth straightaways. After several days of this, Thrun would go back to the university, and Stanley, working overnight, would retroactively look at the data to engage in its own learning. Confronted with this terrain, Stanley would think, Sebastian chose to drive here—and I will do the same. “The robot would basically spend the night sorting through the data and bring order from chaos,” Thrun said.

      Stavens’s contribution was an algorithm that taught the robot how to regulate its speed. The roads Stanley drove in the Mojave featured rain ruts, puddles and potholes. Blasting through this sort of terrain at speed would have shaken the car to pieces. So Stavens wrote a program that regulated Stanley’s progress based on vibrations felt by the robot’s sensors, as well as the grade and width of the road. With the program loaded into the robot, Mike Montemerlo drove Stanley to create data the program could then analyze to develop rules that would guide its behavior.

      The problem here was that Montemerlo was too conservative. He’s incredibly detail oriented. A nice way of putting it is risk-averse. “We used to put stickers on his windows,” Thrun recalls. “So Mike couldn’t see how fast we were going.” Montemerlo had once protested to the team members that he would never get in a self-driving car that went more than 5 mph. Driving Stanley, Montemerlo would creep around the desert, easing up hills, wandering over rubble and stones. Then, once the vehicle was at home, the machine learning algorithm would look at the way Montemerlo drove and create rules that would guide Stanley in the future. Accustomed to high-speed driving on Germany’s Autobahn, Thrun didn’t like how slowly Stanley progressed once it had crunched Montemerlo’s data. So one week, when Montemerlo went away on vacation, Thrun set Stanley to go 20 percent faster.

      Then came the day in 2005 when Thrun received an unexpected visitor at his Stanford office. He looked up and saw a figure in the doorway. The figure came forward and introduced himself: “Hi,” the man said. “I’m Larry Page.”

      Thrun knew who Page was, of course. What surprised him was how interested Page was in the project. “Larry’s always been a robotics enthusiast,” Thrun says, explaining that had Page not started Google, he might have pursued a PhD in robotics. Page was fascinated with Thrun’s project. He had about a million questions. He wanted to see how real the technology was—how close are driverless cars? A century? Decades? A couple of years? What did Thrun think? In fact, Page was so interested that he told Thrun he planned to attend the second Grand Challenge. Through their shared enthusiasm for driverless cars, Thrun and Page developed a friendship that deepened, because the two men both relished taking on tasks that everyone else dismissed as impossible. Thrun had no idea, at that point, that Page would change the course of his life.

Image Missing

      At 4:30 A.M. on October 8, 2005, the day of the race, DARPA officials provided a Red Team member a USB key featuring a computer file of 2,935 waypoints—the course of the second Grand Challenge. The whole of the route totaled 132 miles, starting and ending in Primm, Nevada.

      The next bit bore many similarities to the first race. The team member sprinted to Red Team’s command center. Another member loaded the route network definition file onto Red Team’s shared hard drive. A computer program analyzed the waypoints and added thousands more, so a route originally specified every eighty yards now featured a dot every yard or two. Next, the route was divided up among team members to go over. The pre-planning team went through each part of the route to ensure the new waypoints kept Sandstorm and H1ghlander on navigable road.

      In the anxious moments that passed while the pre-planning team worked, Whittaker, Urmson and Peterson discussed strategy. The experience of the first race eighteen months before was fresh in everyone’s minds. That time, they’d gone for speed. And perhaps they’d pushed Sandstorm beyond what was good for it.

      So the three decided Red Team should take a tortoise-and-hare approach with its two vehicles. One of the vehicles would take it easy, going so slowly that it would be certain to finish the race. This way, in the event that no one else finished, at least Red Team would have a vehicle that crossed the finish line.

      Sandstorm consistently came in 10 percent slower than H1ghlander—a symptom, the engineers thought, of the way the electronics box floated, which made it difficult for the robot to pinpoint exactly where it was. So H1ghlander would be Red Team’s hare, while Sandstorm was the tortoise.

      In terrain the pre-planning team classified as moderately difficult, H1ghlander would go 20 percent faster than Sandstorm. In very safe territory, Whittaker decided that Sandstorm was allowed to go 27 mph, while H1ghlander was able to go up to 30 mph—an increase in speed of 12.5 percent. H1ghlander, Red said, should target to finish in 6 hours and 19 minutes, for an average speed of 21 mph. And their safety, Sandstorm, should finish in 7 hours, 1 minute.

      Urmson and other Red Team members watched the race from Stanford’s tent, because Stanford had the best view. H1ghlander was first out of the starting chute. And in the initial few miles, it led the pack. Then, nearly seventeen miles in, H1ghlander faltered. The engine stalled and the vehicle came to a stop, then started again. Coming up on a hill, it stalled again. This time, the robot actually rolled backward. It crested the hill on a subsequent attempt, but still, nothing like this sort of engine trouble had ever happened in testing.

      Red Team had people stationed at designated viewing points that DARPA had set along the course. Reports came back that another engine stall likely happened fifty-four miles into the race. The stalls prevented the engine from turning a generator that created electricity for the sensors. Backup batteries were able to provide some power, but not enough for the main LIDAR unit. That was set in a gimbal, which a helicopter camera crew revealed was positioned at a ninety-degree angle to the direction of the robot’s travel, rendering it completely ineffective.

      The disabled robot slowed so much that the second entry to leave the chute, Stanford’s Stanley, caught up to H1ghlander at mile 73.5. DARPA had promised its contestants that their robots would be navigating a static environment, meaning nothing could move in any of the contestants’ fields of view. To prevent Stanley and H1ghlander from confusing each other, DARPA used a radio transmitter to “pause” Stanley for 2 minutes and 45 seconds, allowing H1ghlander to go ahead, creating some territory between the two robots. But soon after Stanley was reactivated, the robot caught up to H1ghlander a second time. This time DARPA paused Stanley for 6 minutes and 35 seconds. But Stanley caught up to H1ghlander a third time. Finally, at mile 101.5, 5 hours, 24 minutes and 45 seconds into the race, DARPA paused H1ghlander and allowed Stanley to take the lead. “Stanley has passed H1ghlander,” Tether announced in the observation tent, prompting Thrun to leap into the air in triumph.

      Shortly after, and with an elapsed time of 6 hours, 53 minutes and 58 seconds, Stanley became the first robot ever to autonomously complete a DARPA Grand Challenge. СКАЧАТЬ