did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781597492782

Programming Lego Mindstorms NXT

by
  • ISBN13:

    9781597492782

  • ISBN10:

    1597492787

  • Edition: DVD
  • Format: Paperback
  • Copyright: 2008-06-16
  • Publisher: Elsevier Science Ltd
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $42.95
  • Digital
    $48.32
    Add to Cart

    DURATION
    PRICE

Supplemental Materials

What is included with this book?

Summary

Teach your robot new tricks! With this projects-based approach you can program your Mindstorms NXT robot to solve a maze, build a house, run an obstacle course, and many other activities. Along the way you will learn the basics of programming structures and techniques using NXT-G and Microsoft VPL. Includes a DVD w/ e-text, programming code, and link to accompanying website. For hobbyists, and students working on robot projects, Bishop provides the background and tools to program your robot for tasks that go beyond the simple routines provided with the robot kit. The programs range in complexity from simple contact avoidance and path following, to programs generating some degree of artificial intelligence Key Features: * a how-to guide for programming your robot, using NXT-G and Microsoft VPL * ten robot-specific projects show how to extend your robot's capabilities beyond the manufacturer's provided software. Examples of projects include: Maze solver, Robot House Builder, Search (obstacle avoidance), Song and Dance Act * flowcharts and data flow diagrams are used to illustrate how to develop programs * introduces basic programming structures * includes a DVD w/ e-text, programming code, and link to accompanying website

Table of Contents

Robots and Programsp. 1
Introductionp. 2
What is a Program?p. 4
Designing a Robotp. 6
Specify the Robot's Environmentp. 7
Intelligent or Smart?p. 8
Summaryp. 9
About NXT-G Programsp. 11
Introductionp. 12
Creating a Programp. 13
First Stepsp. 16
Out of Memory?p. 18
Coming for a Spin?p. 19
Tying it Togetherp. 19
Datap. 23
Introductionp. 24
Sources of Datap. 24
Variablesp. 26
A Variable Has a Name, a Type, and a Valuep. 27
Arithmetic Operatorsp. 28
Logical Operatorsp. 28
Flag Variablesp. 29
Loopsp. 31
Introductionp. 32
Outside Eventsp. 33
Time Limitp. 34
Counting the Loopsp. 34
Dance Some Morep. 34
Use Loops to Make Actions Repeatp. 36
Another Way to Use the Loop Counterp. 36
Logical Conclusionsp. 37
Use a Loop (or a Wait Block) to Wait for an Event to Occurp. 38
Nested Loopsp. 38
The Wait Blockp. 39
Switches and Other Topicsp. 41
The Switch Blockp. 42
Switch Blocks Direct Execution Along Alternative Pathwaysp. 44
Simultaneous Processingp. 44
Diagnostic Programmingp. 46
Using the Light Sensorp. 51
Introductionp. 52
Light Sensor Directed Downwardp. 54
Lined inp. 57
Line Followerp. 58
Edge Followerp. 59
Light Sensor Directed Upwardp. 60
Houseflyp. 61
Light Sensor Directed Forwardp. 63
Lightfinder1p. 63
LightFinder2p. 64
Almost an Interruptp. 65
LightFinder3p. 66
LightFinder4p. 67
Summaryp. 70
Using the Touch Sensor and the NXT Buttonsp. 71
Introductionp. 72
Waiting for Contactp. 73
Bumperp. 74
Waiting for Inputp. 75
Scanning the NXT Buttonsp. 76
Entering Numbersp. 79
Using the Ultrasonic Sensorp. 81
Introductionp. 82
Avoidance Routine for Alpha Rexp. 82
Ultrasonic Searchp. 84
Sounds Received and Emittedp. 87
Introductionp. 88
Start and Stopp. 88
Start, Stop, and Turnp. 89
One Clap or Two?p. 90
Playing a Tune (with a Little Dance)p. 92
Choreographyp. 93
Song Snippetsp. 94
Dance Snippetsp. 94
The Magnetic Compass Sensorp. 95
Introductionp. 96
Heading in the Right Directionp. 97
Polygonp. 98
Circlep. 99
More Mathematicsp. 103
Introductionp. 104
Floating Point Arithmeticp. 104
Calculating Cosinesp. 105
Calculating Sinesp. 107
Square Rootp. 108
Factorialsp. 110
Combinationsp. 113
X modulo Yp. 114
Modulo Countingp. 116
Navigationp. 119
Introductionp. 120
Distance Traveledp. 120
Magnetic Compassp. 122
Edge Follower 1p. 122
No-go Response to a Linep. 125
Steering Alpha Rexp. 127
Marching Ordersp. 131
Rex On Linep. 132
Rex On Edgep. 134
Pathfinderp. 137
Cosine Rulep. 142
Games Robots Playp. 147
Introductionp. 148
Maze Runner-Version 1p. 148
Maze Runner-Version 2p. 153
Maze Runner-Version 3p. 154
Maze Learnerp. 157
Scissors, Paper, Stonep. 159
Signalling by Semaphorep. 166
Magicp. 167
The Programp. 170
Databases for Robotsp. 173
Introductionp. 174
Lookup Table for Weekdaysp. 174
Writable Lookup Tablep. 176
Another Way of Using a Lookup Tablep. 177
Reading Data from a File Access Blockp. 178
Acknowledgementsp. 183
Indexp. 185
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program