O'Reilly logo

Lego Mindstorms NXT-G Programming Guide, Second Edition 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 4. Get Movin'

I would say that the MOVE block is probably one of the most important blocks when it comes to programming a robot. Without the MOVE block, you can still build robots, but they won't be able to do much. They can sit on a desk or table (just like SPOT), but they're not going to be very exciting to watch. Any robot that you design that uses one or more motors will use the MOVE block.

So, let's go over this very important block and see what it can do.

The MOVE block

Open your Mindstorms NXT software, and drag and drop a MOVE block from the Common Palette onto the beam. The configuration panel will appear in the lower left corner of the screen (see Figure 4-1).

Figure 4-1. The MOVE block and its configuration panel

Your Brick has three ...

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