Designing and Programming a DIY Mobile Robot from Scratch
In previous chapters, we explored how to install and configure ROS 2 packages to implement autonomous navigation, localization, and mapping for a simulated robot. In this chapter, we will focus on building a simple and affordable differential drive robot and equipping it with navigation capabilities.
To follow along with this chapter, you will need some hardware components. However, the programs and configurations provided here can be slightly adapted to work with any DIY mobile platform. The goal of this chapter is to guide you through configuring the complete navigation pipeline—from low-level motor control to localization and path planning.
We will cover the following topics in this chapter:
- Understanding the DIY mobile robot
- Understanding the electronic connection
- Programming and configuring the DIY robot
- Further improvements