Loops

Chapter 1 of 6

Notice

The Robot That Wouldn’t Drive Straight

The robot was supposed to follow a black line of tape across the gym floor. That was it. Follow the line.

Instead it swerved left across the line, swerved right across it again, wider each time, until it shot off the tape entirely and bumped into a chair leg. Sam’s teammates groaned. Competition was in three weeks.

"The sensor works," said Priya, who had written the code. "It knows exactly where the line is. It just keeps overreacting."

Sam watched it zig-zag again. It looked like someone trying to steer a car for the first time: jerking the wheel too hard one way, then too hard the other way. The robot knew where it was. It knew where it wanted to be. Something about the way it fixed the difference was broken.