Core LEGO MINDSTORMS Programming

Core LEGO MINDSTORMS Programming : Unleash the Power of the Java Platform

By (author) 

List price: US$39.99

Currently unavailable

We can notify you when this item is back in stock

Add to wishlist

AbeBooks may have this title (opens in new window).

Try AbeBooks

Description

LEGO Mindstorms robots can do more than you ever imagined! The secret: go beyond the built-in tools, and leverage the full power of Java -- the world's hottest programming language. Core LEGO Mindstorms shows you how, step-by-step -- as you build sophisticated robots and custom sensors that will amaze you. No matter what version of LEGO Mindstorms you own -- 1.0, 1.5, 2.0, even the USB version -- this book will take you farther than ever before. Brian Bagnall guides you through installing leJOS, a full-fledged Java Virtual Machine for the programmable RCX "brick" that gives LEGO robots their intelligence. Next, you'll master each key programming task step-by-step, with practical examples and photographs. You'll master behavior control programming, a simple but brilliant concept developed at MIT. Then, working from beautifully rendered 3-D plans, you'll walk through constructing five unique robots, each capable of increasingly powerful navigation. In later chapters, you'll walk through building and programming powerful custom sensors, including proximity sensors -- and even the "Holy Grail" of navigation sensors: the compass sensor. Bagnall concludes by introducing several powerful new techniques for advanced programmers.show more

Product details

  • Paperback | 560 pages
  • 178 x 230 x 30mm | 879.96g
  • Pearson Education (US)
  • Prentice Hall
  • Upper Saddle River, United States
  • English
  • Repr.
  • w. numerous figs.
  • 0130093645
  • 9780130093646
  • 1,454,843

Back cover copy

Complete 3-D plans for building five unique robotsAdvanced control techniquesincluding distance and compass sensorsBehavior control programming, the breakthrough methodology invented at MITFor LEGO Mindstorms Robotics Invention System, versions 1.0, 1.5, and 2.0 Your LEGO Mindstorms robots can do more than you ever imagined. The secret: go beyond the built-in tools, and leverage the power of the Java platformthe world's hottest programming technology. "Core LEGO Mindstorms" shows you how, step by step. Working from beautifully rendered 3-D plans, you'll construct five unique robots-each capable of increasingly powerful navigation. You'll build and program two powerful custom sensors-an accurate distance sensor and the "Holy Grail" of navigation sensors: the compass sensor. Brian Bagnall, co-creator of the leJOS Java Virtual Machine for LEGO Mindstorms, starts with the absolute basics then teaches you sophisticated, never-before-published techniques for controlling LEGO Mindstorms robots. No matter what version of LEGO Mindstorms you own, this book will teach you how to build robots with remarkable intelligence and amazing power. Installing leJOS, the Java Virtual Machine designed for the LEGO Mindstorms RCX programmable controllerSetting up your Java platform development environment for LEGO MindstormsProgramming rotation and custom sensorsUsing behavior control programming, the biologically inspired MIT breakthrough in robot controlNew techniques for improving navigation accuracy Gathering map data and transmitting it back to your computerFor LEGO Mindstorms RIS versions 1.0, 1.5, and 2.0including USB versions "show more

About Brian Bagnall

BRIAN BAGNALL is a Sun Certified Java Programmer and Developer and co-author of the Sun Certified Programmer for Java 2 Study Guide. He is a key programmer of leJOS, a Java SDK for Lego Mindstorms. Bagnall also develops distributed processing solutions for businesses with supercomputing requirements and has worked for IBM and other leading computer companies.show more

Table of contents

Preface. Acknowledgments. 1. Meet MINDSTORMS. Enter MINDSTORMS. The Robotics Invention System. RCX Brick. IR Tower. Motors. Sensors. LEGO Parts. Building Tippy. The RIS CD Software. The World of MINDSTORMS. ROBOLAB(tm). LogIT Sensors. Technic. Robotics Discovery Set. Vision Command. RIS Expansion Sets. Code Pilot. Droid Developer Kit. Dark Side Developer Kit. CyberMaster. Ultimate Accessory Kit. Ultimate Builders Set.2. Getting Started with leJOS. leJOS Overview. JVM. RCX Platform Extensions. Java API. Robotics Programming. Installing leJOS. Windows 98/Windows Me. Windows NT/Windows 2000. Linux. Macintosh OSX. Testing leJOS. Creating and Running a Program. Uploading More Than One Program. Setting Up an IDE. JCreator (Windows Platforms). How leJOS "Stacks Up". NQC. PbFORTH. LegOS. Visual Basic. leJOS vs. TinyVM.3. Learn Java in 2.4 Hours! Java Core Language. OOP. Source Files. Classes. Interfaces. Import and Package Statements. Methods. Overloading Methods. Fields and Variables. Naming Rules. Operators. Program Flow Control. The java.lang Package. Math. Object. Runtime. String. StringBuffer. System. Threads. Throwable. java.util. BitSet. Hashtable. Random. Vector.4. THE leJOS API. josx.platform.rcx. Button. LCD. MinLCD. Motor. ROM. Sensor. Serial. Sound. MinSound. TextLCD. The josx.util Package. Timer. josx.robotics. java.io and josx.platform.rcx.comm..5. LEGO 101. RIS Parts Library. Bricks. Classic LEGO Bricks. Technic Beams. Specialized Bricks. Slope Bricks. Plates Overview. Rectangular Plates. Plates Overview. Specialty Plates. Pins. Tires, Wheel Hubs, and Treads. Axles. Axle Accessories. Gears. Pulleys. Pulley Drive Belts. Lift Arms. Other Parts. Common LEGO Structures. Chassis. Caster Wheels. Ratchets. Single Motor Navigation. Walking Mechanism. Building Philosophy 101.6. Behavior Control. Behavior Control Theory. Programming Behavior with leJOS. The Behavior API. Advanced Behavior Coding. Coding Foolproof takeControl() Methods. Coding Solid action() and suppress() Methods.7. Navigation. Understanding the Problem of Navigation. Navigation Theory. Trigonometry. Using the Navigator API. Creating a Navigator Robot. Building the Trilobot. Programming Trilobot. TimingNavigator Accuracy. Systematic Errors. Nonsystematic Errors. Summary.8. Navigation with Rotation Sensors. Understanding Rotation Sensors. Trailer Odometer. Handheld Odometer. On-Axle Odometers. Off-Axle Odometers. Angle Measurement. Using the RotationNavigator Class. Creating a Navigator Robot. Building Instructions. Programming Tippy Senior. RotationNavigator Accuracy. Systematic Errors. Nonsystematic Errors.9. Proximity Detection. Creating a Simple Proximity Sensor. Programming the Sensor. Reliability. Creating a Distance Sensor. The Sharp GP2D12 Sensor. A Primer in Electronics. Building the Distance Sensor. Permanent Assembly. Enclosing the Circuit. Programming the Proximity Sensor Driver. A Wall Follower.10. Navigation with a Compass Sensor. The Compass Sensor. Theory of Calculating Direction. Building the Compass Interface. Tools. Circuit Assembly. Testing the Circuit. Programming the Compass Class. Calibration. Compass Driver. Programming CompassNavigator. A Robot Using the Compass. Chassis. Compass Basket. Front Bumper. Final Assembly. Compass Accuracy.11. RCX Communications. The Communications API. InputStream. DataInputStream. DataOutputStream. DataPort. PCDataPort. RCXDataPort. Installation. IDE Setup. Uploading Map Data. Controlling the RCX Through a Network. Controlling the RCX from a Web Page. Installing a Web Server. A Simple Project. Alternate Data Transfer Methods. Alternate Communication Uses.12. Advanced leJOS Topics. Memory Issues. Monitoring Memory Use. Programming Efficient Code. Hacking leJOS to Save Memory. Performance Tips. Alternate Languages for the JVM. Using NetRexx on the RCX. leJOS Architecture Overview. The Firmware. The API. The Linker. Modifying and Recompiling the Firmware. Adding Native Methods. Portability of leJOS.Appendix A. Parts and Kits. LEGO Shop At Home. Pitsco LEGO Dacta. LogIT Sensors. Mindsensors.Appendix B. Electronics Projects. Electronics Sources. Europe. North America. International. Distance Sensor Parts. Europe. North America. Compass Sensor Parts. Europe. North America. Compass Sensor Circuit Building. Experimentor Board. Punchboard. Etched PC Board.Appendix C. Utilities. leJOS Binaries. lejosc.exe. lejos.exe. lejosfirmdl.exe. lejosrun.exe. emu-lejos.exe. emu-lejosrun.exe. lejosp.exe. lejosp1.exe. lejosc1.exe. emu-dump.exe. leJOS Utilities. RCX Direct-Mode. RCX Download. Bricks Music Studio. Text to LCD Display. leJOS Visual Interface. LEGO Utilities. Ldraw. MLCAD. L3P. LEO Cad.Appendix D. Internet Resources. leJOS Resources. leJOS Home Page. leJOS Project Development Home Page. Java Resources. Sun's Official Java Site. LEGO Resources. LEGO Users Group (LUGNet). RCX Resources. RCX Internals. Analysis of the RCX. Sensors and Actuators. Distance Sensor. Compass Sensor. Homebrew RCX Sensors. Resistor Color Bands. RCX Projects. Rubik's Cube Solver (and More). LEGO Robotics Network. Robot Navigation. Mobile Robot Positioning. Dead Reckoning Contest. Other Hardware. Tower Hobbies. Draganfly.Index.show more