October 2013
Intermediate to advanced
432 pages
11h 44m
English
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.
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 ...