Chapter 13. ANTY: the robotic ant
By now, you’ve gotten the hang of building models that move on wheels. Another fun, but slightly more challenging, kind of model you can build is an animal robot that uses legs to move instead of wheels. In this chapter, you’ll build and program ANTY (see Figure 13-1). ANTY is a six-legged, insect-like creature that walks around and responds to its environment by expressing different types of behavior based on what its sensors “see.”
The Infrared Sensor serves as ANTY’s eyes, allowing the robot to detect objects in its surroundings and to find food. The Color Sensor in the robot’s tail enables ANTY to detect changes in its environment. Different surroundings—that is, different colored objects—make the robot behave ...
Get The LEGO MINDSTORMS EV3 Discovery Book (Full Color) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.