Manual
48
45), as shown below:
Fill in the values according to your actual measurements to calibrate the robot correctly.
Uploading Code for Verification
Modify Lines 32-34 as follows (uncomment the Line 34 #define VERIFY), compile and upload
the sketch to the SunFounder Servo Control Board, and then remove the USB cable.
Switch on SunFounder Servo Control Board. At this point, the crawling robot will keep the
verification poses.
Verifying
Place the crawling robot on the calibration chart, and then measure the 3D coordinates (x,
y, z) with a ruler. If it is close to the calibration coordinates (100, 80, 42) set in adjust_site[3]
and the error of each axis is less than 10mm, it means calibration is successful. Otherwise,
recalibrate it until it succeeds.
SunFounder