For this chapter, you will need the following items:
- The robot with the pan-and-tilt mechanism from Chapter 12, Programming Encoders with Python.
- The Python code for the robot up to Chapter 12, Programming Encoders with Python, which can be downloaded from the GitHub at https://github.com/PacktPublishing/Learn-Robotics-Fundamentals-of-Robotics-Programming/tree/master/chapter12. We will be extending and modifying this for new functionality.
- The Raspberry Pi Camera v2.
- A 300 mm-long Pi Camera cable. This is because the cable included with the camera is too short. Be sure this is a Raspberry Pi 3 cable, and not a Pi Zero cable.
- 2 M2 bolts and M2 nuts.
- A small square of thin cardboard—a cereal box will do.
- A small jeweler's screwdriver.
- A kids' bowling set—the type with differently colored pins (plain, with no pictures).
- A well lit space...