forked from mholow/gsp-r10-adapter
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.json
More file actions
44 lines (44 loc) · 1.75 KB
/
Copy pathsettings.json
File metadata and controls
44 lines (44 loc) · 1.75 KB
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
{
"openConnect": {
"ip": "127.0.0.1",
"port": 49152 // GSPro default port
},
"secondaryOpenConnect": {
"enabled": false,
"ip": "127.0.0.1",
"port": 921 // OSG default port
},
"r10E6Server": {
"enabled": true,
"port": 2483
},
"bluetooth": {
"enabled": true, //bluetooth enabled
"platform": "linux", // bluetooth stack to use: windows or linux
"bluetoothDeviceName": "Approach R10",
"bluetoothDeviceAddress": "F4:9D:AA:D0:05:05", // MAC required when platform=linux
"reconnectInterval": 10, // seconds
"sendStatusChangesToGSP": false, // send device readiness updates to gsp (does nothing as of today)
"autoWake": true, // wake device if falls asleep
"calibrateTiltOnConnect": true, // recalibrate tilt at the start of every session
"debugLogging": true,
"altitude": 0, // feet
"humidity": 0.5, // percent (0 - 1)
"temperature": 60, // fahrenheit
"airDensity": 1.225, // kg/m^3
"teeDistanceInFeet": 7 // distance from R10 to ball in feet
},
"putting": {
"enabled": false,
"port": 8888,
"launchBallTracker": true, // if true, program will launch ball tracking software. If false, you will need to launch it independantly of this program
"onlyLaunchWhenPutting": true, // if true, program will launch and close depending on club selection. If false, program will launch and stay open
"keepPuttingCamOnTop": true, // if true, always bring putting window to front when putting
"webcamIndex": 0,
"ballColor": "white",
"camPreviewWidth": 300, // (pixels) resize camera view
"exePath": "./ball_tracking/ball_tracking.exe",
"additionalExeArgs": "", // additional arguments for putting exe. ie '-d 1' for debug
"hideExeLogs": false
}
}