28.01.2013 Views

Build Your Own Combat Robot

Build Your Own Combat Robot

Build Your Own Combat Robot

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

276<br />

HE referee signals, and my heartbeat increases as I press my bot’s start<br />

button. I stand back to mentally count down the 5 seconds that my bot must remain<br />

still before it can move. In my excitement, I mentally reach the 5 seconds before<br />

my machine starts to move. I panic, thinking he must be broken, but then<br />

both bots start moving forward. As my bot approaches his victim, I smile. The<br />

crowd cheers... I’m thinking, “I’ve got him now!”<br />

But the bots just pass each other as if each one is the only player in the ring, and<br />

the crowd goes silent. My bot is now heading full-steam ahead toward the edge of<br />

the ring, and I suddenly think, “What if the edge sensors aren’t working?!” As<br />

soon as my machine gets to the white edge of the sumo ring, it stops, backs up a bit,<br />

then spins around, and I breathe a sigh of relief that all seems to be working correctly.<br />

This time, my bot is heading right for his opponent, and nothing will stop<br />

him this time.<br />

As my bot approaches his foe, he makes a couple of quick course corrections in<br />

order to zero in on the enemy. I’m thrilled that my object detection sensors are<br />

working. My bot closes in on his adversary, and the crowd starts cheering again.<br />

Just as he’s about to hit his opponent, the rival bot suddenly turns toward mine.<br />

The crowd cheers louder. The bots crash into each other. My breathing almost<br />

stops as both machines halt in the center of the ring. The wheels of my bot are spinning<br />

on the ring surface.<br />

My robot starts pushing his challenger steadily backward. Just as I think I’ve<br />

won the match for sure, the other bot gets better wheel traction and starts pushing<br />

mine backward. The crowd goes wild. I bite my lower lip. Thankfully, my bot’s<br />

traction improves and he begins pushing his foe backward. As the backward and<br />

forward motions continue inside a one-inch area, our bots both start slipping sideways.<br />

As soon as they come apart, they shoot toward each other again—but their<br />

wheels get caught, and they start the classic “spinning dance.” The crowd quiets<br />

down. This is turning out to be a much tougher battle than I’d anticipated.<br />

The referee stops the match to separate the bots. I take a couple of deep breaths,<br />

and we restart. This time, when my bot reaches the edge of the sumo ring and<br />

backs up, he only turns 90 degrees. I’m glad I used a random turning method in the<br />

software! This time my machine approaches the rear of his rival. I smile to myself,<br />

because I can see he’s going for the vulnerable spot. The crowd goes wild. I look at<br />

my human opponent’s face, and I can see in his eyes that he knows his bot will lose.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!