User Manual
30
Thus we can calibrate as follows:
① Decrease the upper-right servo’s angle
Change 95 degrees to 90 (array_cal[0]: is the upper-right servo’s rotation angle);
② Increase the upper-left servo’s angle
Change 115 degrees to 120 (array_cal[2]: is the upper-left servo’s rotation angle);
③ Decrease the lower-right servo’s angle
Change 100 degrees to 90 (array_cal[1]: is the lower-right servo’s rotation angle);
④ Increase the lower-left servo’s angle
Change 95 degrees to 100 (array_cal[3]: is the lower-left servo’s rotation angle);
i.e.: In line 15, change code to array_cal[4] = {90, 90, 120, 100}; Then click Upload.
The edge of upper-left plate and upper plate are parallel with each other, but upper-right is
not parallel to the upper one, the deviation angles of lower-left and lower-right servos are
decreased.