User Guide

D. Steering Servo + Steering Linkage ....................................................................................... 39
E. Front Chassis + Upper Plate ................................................................................................... 40
F. Plates + Servo Rocker Arms ................................................................................................... 41
G. Pan/Tilt Servo + Plate .............................................................................................................. 42
H. Pan Servo Plate + Tilt Servo Plate ......................................................................................... 43
I. Servos + Rocker Arm Plates ................................................................................................... 44
J. Mount + Car ............................................................................................................................. 45
Car Calibration (Operation on PC) ................................................................................................... 47
A. Get the source code ............................................................................................................. 47
B. Install Python software ........................................................................................................... 47
C. Run cali_client .......................................................................................................................... 48
D. Start Calibration ...................................................................................................................... 50
Motor Adjustment ................................................................................................................... 50
Turning Adjustment ................................................................................................................. 51
Mount Adjustment .................................................................................................................. 51
MJPG-streamer (Operation on Raspberry Pi) .................................................................................. 52
A. MJPG-streamer Installation ................................................................................................... 52
B. Testing ........................................................................................................................................ 53
Get on the Road! .................................................................................................................................. 55
A. Run TCP server (Operation on Raspberry Pi) ..................................................................... 55
B. Run the Client (operation on PC) ........................................................................................ 55
Program Analysis and Explanation .................................................................................................... 58
Abstract ............................................................................................................................................ 58
Introduction of Socket ........................................................................................................... 58
1. Server .................................................................................................................................. 59
Process Diagram of Server Program ................................................................................... 60
2. Client .................................................................................................................................. 60
Introduction of Tkinter ............................................................................................................ 60
Process Diagram of Client Program .................................................................................... 62
Summary .................................................................................................................................................. 63
SunFounder