Cover  by Gordon McComb

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

O'Reilly logo
Chapter   5
Programming the Teachbot: Seeing It React
Robots need information about the world around them, or they just stumble around looking stupid. Just like us humans, a robot uses senses to know when it’s run into something; when it’s light or dark; when it’s too hot or too cold; when it’s about to fall over; when it’s found the way to the cheese at the center of a maze.
Senses require sensors. And in the practice of robotics, the basic senses make do with the most basic of sensors—mechanical switches for detecting contact with objects, and photosensitive resistors and transistors for detecting the presence (or absence) of light. A robot can perform a remarkable amount of work with just the sense of touch and the gift of simple sight.

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