Skip to Main Content
The LEGO MINDSTORMS EV3 Laboratory
book

The LEGO MINDSTORMS EV3 Laboratory

by Daniele Benedettelli
October 2013
Intermediate to advanced content levelIntermediate to advanced
432 pages
11h 44m
English
No Starch Press
Content preview from The LEGO MINDSTORMS EV3 Laboratory

Chapter 16. programming the T-R3X

In this chapter, you’ll program the fearsome T-R3X! The first program will make the dinosaur explore its environment by walking, detecting obstacles, looking around, and turning away from obstacles. Then, we’ll model more complex autonomous behavior to make the T-R3X look around, react to “prey” (the IR Beacon), and hunt it down. You’ll also learn the basics of using state machines to model behavior for a robot and how to compute complex logic expressions using mathematical formulas.

building the My Blocks for the Wander program

Before making the first program, Wander, for the T-R3X, we need to prepare the My Blocks. As you build the My Blocks, I’ll point out noteworthy techniques and ideas. The My Blocks include ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Building Smart LEGO MINDSTORMS EV3 Robots

Building Smart LEGO MINDSTORMS EV3 Robots

Kyle Markland

Publisher Resources

ISBN: 9781457185229Errata