Technical requirements
For this chapter, you will need the following:
- The robot with the pan-and-tilt mechanism from Chapter 11, Programming Encoders with Python.
- Code for the robot up to Chapter 11, Programming Encoders with Python, which you can download from GitHub at https://github.com/PacktPublishing/Learn-Robotics-Programming-Second-Edition/tree/master/chapter11. We will be extending and modifying this for new functionality.
- A Raspberry Pi camera.
- A 300 mm-long Pi Camera cable, as the cable included with the camera is too short. Be sure that the cable is not for a Pi Zero (which has different connectors).
- Two M2 bolts and an M2 nut.
- A small square of thin cardboard—a cereal box will do.
- A small jeweler's screwdriver.
- A pencil.
- A kids' bowling set—the type with differently colored pins (plain, with no pictures).
- A well-lit space for the robot to drive in.
- Internet access.
The code for this chapter is...