My Account Log in

1 option

Programming Lego Mindstorms NXT / Owen Bishop.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Bishop, O. N. (Owen Neville)
Language:
English
Subjects (All):
Robots--Programming.
Robots.
Robots--Design and construction.
LEGO toys.
Physical Description:
1 online resource (198 p.)
Edition:
1st edition
Place of Publication:
Burlington, MA : Syngress Publishing, c2008.
Language Note:
English
System Details:
text file
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 ran
Contents:
Front Cover; Programming Lego Mindstorms NXT; Copyright Page; Author; Contents; Chapter 1: Robots and Programs; Introduction; What is a Program?; Designing a Robot; Specify the Robot's Environment; Intelligent or Smart?; Summary; Chapter 2: About NXT-G Programs; Introduction; Creating a Program; First Steps; Out of Memory?; Coming for a Spin?; Tying it Together; Chapter 3: Data; Introduction; Sources of Data; Variables; A Variable Has a Name, a Type, and a Value; Arithmetic Operators; Logical Operators; Flag Variables; Chapter 4: Loops; Introduction; Outside Events; Time Limit
Counting the LoopsDance Some More; Use Loops to Make Actions Repeat; Another Way to Use the Loop Counter; Logical Conclusions; Use a Loop (or a Wait Block) to Wait for an Event to Occur; Nested Loops; The Wait Block; Chapter 5: Switches and Other Topics; The Switch Block; Switch Blocks Direct Execution Along Alternative Pathways; Simultaneous Processing; Diagnostic Programming; Chapter 6: Using the Light Sensor; Introduction; Light Sensor Directed Downward; Lined in; Line Follower; Edge Follower; Light Sensor Directed Upward; Housefly; Light Sensor Directed Forward; Lightfinder1; LightFinder2
Almost an InterruptLightFinder3; LightFinder4; Summary; Chapter 7: Using the Touch Sensor and the NXT Buttons; Introduction; Waiting for Contact; Bumper; Waiting for Input; Scanning the NXT Buttons; Entering Numbers; Chapter 8: Using the Ultrasonic Sensor; Introduction; Avoidance Routine for Alpha Rex; Ultrasonic Search; Chapter 9: Sounds Received and Emitted; Introduction; Start and Stop; Start, Stop, and Turn; One Clap or Two?; Playing a Tune (with a Little Dance); Choreography; Song Snippets; Dance Snippets; Chapter 10: The Magnetic Compass Sensor; Introduction
Heading in the Right DirectionPolygon; Circle; Chapter 11: More Mathematics; Introduction; Floating Point Arithmetic; Calculating Cosines; Calculating Sines; Square Root; Factorials; Combinations; X modulo Y; Modulo Counting; Chapter 12: Navigation; Introduction; Distance Traveled; Magnetic Compass; Edge Follower 1; No-go Response to a Line; Steering Alpha Rex; Marching Orders; Rex On Line; Rex On Edge; Pathfinder; Cosine Rule; Chapter 13: Games Robots Play; Introduction; Maze Runner-Version 1; Maze Runner-Version 2; Maze Runner-Version 3; Maze Learner; Scissors, Paper, Stone
Signalling by SemaphoreMagic; The Program; Chapter 14: Databases for Robots; Introduction; Lookup Table for Weekdays; Writable Lookup Table; Another Way of Using a Lookup Table; Reading Data from a File Access Block; Acknowledgements; Index
Notes:
Includes index.
ISBN:
1-281-71688-X
9786611716882
0-08-056996-X
OCLC:
476221087

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account