-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.py
More file actions
23 lines (18 loc) · 785 Bytes
/
config.py
File metadata and controls
23 lines (18 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
USE_FAKE_DATA = False
USE_MYSQL_LOGGING = True #enable mysql database logging
DEFAULT_MAP = 'conf.jpg' #what map is loaded by default
DEFAULT_MAP_DIMENSIONS = ('default',1,1)
TRACKING_ENABLED = False #program initializes with tracking enabled
TRACKING_HISTORY = 100
DATA_FREQ = 30 #number of data points per second
POLL_PERIOD = 100
if USE_FAKE_DATA:
RECEIVER_POSITIONS = {'mac1' : (0, 0, 0),
'mac2' : (0, 1, 0),
'mac3' : (1, 1, 0),
'mac4' : (1, 0, 0)}
else:
RECEIVER_POSITIONS = {'00:09:5b:f8:14:43' : (1, 0, 0),
'00:0f:b5:0b:d8:e6' : (1, 1, 0),
'00:0f:b5:0b:df:42' : (0, 1, 0),
'00:09:5b:f8:a1:35' : (0, 0, 0)}