O'Reilly logo

LEGO MINDSTORMS NXT: The Mayan Adventure by James Floyd Kelly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 12SnapShotBot—Program It

You might think that programming the SnapShotBot is a little more involved than the previous bots. Although the program might be a little larger in size, the truth is that you're already experienced with all the programming blocks you'll need.

For this chapter, I'm going to walk you through the programming using a slightly different method. When I program my bots, many times I create the program in full and then upload it to my bot for testing. From there, I add and remove blocks as needed. Although this is perfectly fine for many bots, for a large program this might not be the best way to test your bot. If you find a mistake early in the program, it can cause you to have to delete other portions of your program. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required