-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
46 lines (46 loc) · 997 Bytes
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"cam_pan_servo": {
"servo_pin": "P0",
"min_angle": -90,
"max_angle": 90,
"calibration_offset": 0.0,
"calibration_mode": "negative",
"name": "Camera Pan"
},
"cam_tilt_servo": {
"servo_pin": "P1",
"min_angle": -35,
"max_angle": 65,
"calibration_offset": 0.0,
"calibration_mode": "negative",
"name": "Camera Tilt"
},
"steering_servo": {
"servo_pin": "P2",
"min_angle": -30,
"max_angle": 30,
"calibration_offset": 0.0,
"calibration_mode": "sum",
"name": "Steering Direction"
},
"left_motor": {
"dir_pin": "D4",
"pwm_pin": "P12",
"max_speed": 100,
"name": "left",
"calibration_direction": 1,
"calibration_speed_offset": 0.0,
"period": 4095,
"prescaler": 10
},
"right_motor": {
"dir_pin": "D5",
"pwm_pin": "P13",
"max_speed": 100,
"name": "right",
"calibration_direction": 1,
"calibration_speed_offset": 0.0,
"period": 4095,
"prescaler": 10
}
}