CHAPTER 8StringBot—Program It
The StringBot is a unique little bot. When you ask someone to describe a robot, my guess is that he or she will probably have a mental picture of a wheeled robot or a bot with legs. Our StringBot has neither—it's going to move along a string. But whether your bot has wheels, legs, or some other method for moving, it has to be programmed properly to accomplish its desired tasks. The StringBot needs to move along a string, successfully drop a small object into a jar, then return to you. This chapter will show you how to make that happen.
Get Familiar with the Blocks
In Chapter 4, you used the MOVE
, WAIT
, and LOOP
programming blocks to get the ExploroBot to complete its task. For the StringBot, you're going to use ...
Get LEGO MINDSTORMS NXT: The Mayan Adventure now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.