In the previous chapters, you learned wheeled or tracked movement and then used the compass to move in a different specific direction. Now your robot can be manipulated through space. But what if you want your robot to sense the outside world, so you don't run into things? In this chapter, you'll discover how to add some sensors to help us avoid barriers.
In this chapter, we will cover the following the following topics:
- Connecting the BeagleBone Blue to a sonar sensor through an Arduino so that it can learn more about the world around it
- Showing how to use three sensors to give your mobile robot a robust view of the world around it
- Exploring some simple path planning algorithms that take into account obstacle avoidance