LEGO MINDSTORMS NXT-G Programming Guide (eBook)

eBook Download: PDF
2007 | 1st ed.
196 Seiten
Apress (Verlag)
978-1-4302-0303-2 (ISBN)

Lese- und Medienproben

LEGO MINDSTORMS NXT-G Programming Guide - James Floyd Kelly
Systemvoraussetzungen
21,39 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

The NXT-G visual programming language for the NXT robot is completely new and there are currently no books available on the subject. This book is written for kids, teachers, parents or anyone new to the NXT-G programming language. It covers all of the basic, intermediate, and advanced programming blocks that are standard with the NXT-G language suite. The book uses simple, non-technical terminology with plenty of screenshots and line drawings to demonstrate proper use of all the blocks as well as basic programming techniques such as loops, If-Then statements, case statements, and use of variables.



James Floyd Kelly is a professional writer from Atlanta, Georgia. He has written numerous books on multiple subjects, including LEGO robotics, open source software, and building your own CNC machine as well as a 3D printer. He is the editor-in-chief of the number one MINDSTORMS NXT blog, The NXT Step (TheNXTStep.com), where he is joined by fellow NXT experts who share their knowledge and designs with other robot fans around the world.
LEGO MINDSTORMS NXT-G Programming Guide is suitable for young programmers, age 10 and up, as well as parents and teachers who want to learn the new language for themselves or be able to assist students/children with learning to properly program their robots. Includes easy-to-follow examples for each and every programming block Provides programming techniques simple enough to be understood by young programmers, ages 10 and up Provides a test robot (with instructions) in the appendix for running the programs

James Floyd Kelly is a professional writer from Atlanta, Georgia. He has written numerous books on multiple subjects, including LEGO robotics, open source software, and building your own CNC machine as well as a 3D printer. He is the editor-in-chief of the number one MINDSTORMS NXT blog, The NXT Step (TheNXTStep.com), where he is joined by fellow NXT experts who share their knowledge and designs with other robot fans around the world.

Contents at a Glance 5
Contents 7
About the Author 11
About the Technical Reviewer 12
Acknowledgments 13
Introduction 14
Robots and Programs 15
What Is a Robot? 15
What Is a Program? 15
NXT- G 18
Program Structure 21
What Do I Mean by Structure? 21
Hello World! 24
The DISPLAY Block 24
Data Hubs 29
Get Movin’ 33
The MOVE block 33
Record and Play Back 41
Make Some Noise! 45
The SOUND Block 45
Wired! 50
Passing Around Information 50
True or False? 58
One or the Other 58
Feedback 63
What’s Your Condition? 63
Configuring the Sensors 64
Other Input Types 70
Using the Blocks 71
Wait for It! 73
The WAIT Block 73
Round and Round 81
Do It Again and Again and Again . . . 81
Nested Loops 88
Decisions, Decisions 92
Left or Right? Door 1 or Door 2? 92
Stop It 104
The STOP Block 104
Pick a Card, Any Card 107
The RANDOM Block 107
The NUMBER TO TEXT Block 109
Apples and Oranges 112
The COMPARE Block 112
Inside or Out? 122
The RANGE Block 122
Yes? No? Maybe? 131
The LOGIC Block 131
Title = Anything You Like 138
The VARIABLE Block 138
Basic Text 151
The TEXT Block 151
Basic Math 155
The MATH Block 155
Staying Alive 158
The KEEP ALIVE Block 158
Your Own Filing Cabinet 160
The FILE ACCESS Block 160
Calibration 166
The CALIBRATE Block 166
Get Reset 170
The RESET MOTOR Block 170
Messages 173
The SEND MESSAGE Block 173
My Block Is Your Block 178
Creating a My Block 178
Math Basics for NXT 185
Converting Between Degrees and Rotations 185
Converting Degrees and Rotations into Distances 186
The X/ Y Coordinate System in NXT 187
Index 189

Erscheint lt. Verlag 10.11.2007
Zusatzinfo 196 p.
Verlagsort Berkeley
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Software Entwicklung
Informatik Weitere Themen Computerspiele
Schlagworte language • LEGO • LEGO MINDSTORMS • Logic • Mindstorms • Motor • NXT-G • programming • Programming language • robot • Software • Standard
ISBN-10 1-4302-0303-X / 143020303X
ISBN-13 978-1-4302-0303-2 / 9781430203032
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 11,0 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
das umfassende Handbuch

von Udo Brandes

eBook Download (2024)
Rheinwerk Computing (Verlag)
27,93