5AVOIDING OBSTACLES
NOW YOU CAN CONTROL HOW YOUR ROBOT MOVES, AND THAT’S PRETTY COOL! BUT WOULDN’T IT BE COOLER STILL TO GET YOUR ROBOT TO CONTROL ITSELF?
You may have noticed that your little two-wheeler is quite vulnerable to all kinds of hazards while it’s running around the floor. Crashing into walls and other objects can be very annoying and even dangerous to your hardware. In this chapter, I’ll show you how to enable your robot to autonomously detect and avoid obstacles. We’ll cover the theory behind obstacle detection and how to use the sensor you’ll need.
OBSTACLE DETECTION
In order for your robot to avoid obstacles, it will first need to be able to sense them. In electronics we use specialized sensors for this purpose. There’s a variety ...
Get Learn Robotics with Raspberry Pi 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.