SunFounder PiDog Kit, Release 1.0
2.2 Funny Project
2.2.1 Calibrate the PiDog
Due to possible deviations during PiDog installation or limitations of the servos themselves, some servo angles may
be slightly tilted, so you can calibrate them.
Of course you can skip this chapter if you think the assembly is perfect and doesn’t require calibration.
The specific steps are as follows:
1. Put the PiDog on the base.
2. Run the 0_calibration.py.
cd /home/pi/pidog/examples
sudo python3 0_calibration.py
After running the above code, you will see the following interface displayed in the terminal.
44 Chapter 2. Play with Python