Skip to Main Content
The Art of LEGO MINDSTORMS NXT-G Programming
book

The Art of LEGO MINDSTORMS NXT-G Programming

by Terry Griffin
August 2010
Intermediate to advanced content levelIntermediate to advanced
288 pages
13h 21m
English
No Starch Press
Content preview from The Art of LEGO MINDSTORMS NXT-G Programming

the motor block

One nice thing about the Move block is that it handles all the details involved in controlling a motor. You can set the duration to six rotations, and the block will take care of bringing the motor up to speed, moving at the power level you selected, and then slowing down and stopping at just the right distance. This works great almost all of the time, but in some situations, you may want more control over a motor. For example, the Move block may speed up too quickly, or the synchronization between two wheels may not be good enough for certain surfaces or robot designs.

The Motor block controls a single motor and lets you choose how quickly the motor accelerates (speeds up) at the beginning of a move and how quickly it decelerates ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The Art of LEGO MINDSTORMS EV3 Programming (Full Color)

The Art of LEGO MINDSTORMS EV3 Programming (Full Color)

Terry Griffin

Publisher Resources

ISBN: 9781593272180Errata