O'Reilly logo

The LEGO MINDSTORMS EV3 Discovery Book (Full Color) by Laurens Valk

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required