Home Page Icon
Home Page
Table of Contents for
Title
Close
Title
by Mannie Lowe, James J. Trobaugh
Winning LEGO MINDSTORMS Programming
Title
Dedication
Contents at a Glance
Contents
About the Authors
About the Technical Reviewer
Acknowledgments
Introduction
Chapter 1: Meeting the NXT-G Software
Flavors of NXT-G
Connecting the NXT
Summary
Chapter 2: Software Design Process
Choosing the Right Problem
Define the Problem
Write Pseudo code
Identify Possible Solutions
Create the Code
Test the Solution
Summary
Chapter 3: Working with My Blocks
Why use My Blocks?
Starting Off Simple
Editing My Block contents
Using a My Block
My Block Properties
Managing and Sharing My Blocks
Summary
Chapter 4: When Things Go Wrong
Walking the Code
Viewing Values
Breaking the code down
Common Mistakes
Environment
Summary
Chapter 5: Moving Data
Data Wires
Variables
Constants
Summary
Chapter 6: Making Smart Decisions
Switch Block
Logic Block
Compare Block
Range Block
Summary
Chapter 7: Motors and Motion
Wheel Circumference
Programming to Go Straight
Turning the Robot
Stall Detection
Summary
Chapter 8: Light Detection
NXT Light sensor
Calibration
Line Following
Line Detection
Summary
Chapter 9: Touching and Bumping
The Touch Sensor
Using the Touch Sensor
When Is Pressed Not Pressed?
Determining When to Turn
Squaring Up
Remote NXT Orange Button
Limit Switch
Touch Sensor As an Indicator of an Object
Summary
Chapter 10: Seeing with Ultrasonics
How It Works
Making It Work on the Game Field
Finding Nearby Objects
Summary
Chapter 11: Programming Like a Pro
Data Arrays
State Machines
Master Programs
Summary
Chapter 12: Code Management
Single-Computer Scenario
Multiple-Computer Scenario
Online Repositories
Flash Drives
File Naming
Pack and Go
Code Comments
Summary
Chapter 13: Programming Pitfalls
Block and Program Defaults
Port Defaults
The Yellow-Orange Error
Bad Data Wires
Use of Stop Block Instead of Stop Motors
Hardware/Software Mismatches
Changing Units of Measure
Forgetting What You Meant
Conclusion
Chapter 14: Tips and Tricks
Understand Your Program Flow
Manage Your Data Flow
Debugging Tips
Apply Design Patterns
Understand What You Wrote
Know How to Navigate Your Program
Hardware Tips That Help the Software
Consolidate Logic into My Blocks
Keep Your NXT Firmware Updated
Don’t Reinvent the Wheel
Summary
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
Copyright
Winning LEGO MINDSTORMS Programming
James J. Trobaugh
Mannie Lowe
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset