-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
38 lines (29 loc) · 946 Bytes
/
config.py
File metadata and controls
38 lines (29 loc) · 946 Bytes
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
######################
# Serial port config #
######################
SERIAL_PORT = "/dev/tty.usbserial-UUT2"
SERIAL_BAUD = 256000 # 921600
####################
# Algorithm config #
####################
MAX_HISTORY = 20 # How many historical cycles to feed to algorithm
##################
# Backend config #
##################
ENABLE_BACKEND = True
BACKEND_URL = "https://web.mnslac.xtriage.com/graphql"
###############
# Site config #
###############
AUTO_SETUP_BASE = True
MANUAL_BASE_DIST = 47000 # Units in mm. Only used if AUTO_SETUP_BASE is False
NODES = {
"0": {"name": "Base 1", "is_base": True, "base_type": "anchored"},
"1": {"name": "Base 2", "is_base": True, "base_type": "calculated"},
"2": {"name": "Yassine 0"}, # N1
"3": {"name": "Sai 0"}, # N2
"4": {"name": "Node 3"}, # N3
"5": {"name": "Norris 0"} # N4
}
ANCHORED_BASE_GPS = 34.21797, -83.95238
CALCULATED_BASE_GPS = 34.21763, -83.95173