Welcome to Raspbot V2 repository
当製品の日本語版マニュアル資料は、こちらからご取得ください。
4. Install servo PTZ
Install servo PTZ
When the servo gimbal is not facing forward or aligned,
The following calibration operations are required,
(1) First turn off the power of the car
(2) Keep the servo cable connected, first remove the servo gimbal, both the upper and lower servos


(2) Restart the power of the raspbotv2 car, that is, restart the system
(3) After confirming that the car has entered the system, the self-starting program will initialize the angle of the servo. After the servo rotates,
Note: After powering on, the servo has torque. Do not rotate the angle of the servo again!
(4) Install the vertical servo (upper servo) first, then install the horizontal servo (lower servo). After installation, the servo should be in this state.


Note: Due to structural problems, the horizontal servo will have a gear position difference. It is normal for the servo not to be completely straight forward.
If the deviation is too large, you can modify this program to adjust the initialization servo angle.


#Servo angle1, x-axis 0~180 degrees2, y-axis 0~110 degreesThis program will be started automatically every time the Raspberry Pi is turned on.