-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_global_.py
55 lines (46 loc) · 1.06 KB
/
_global_.py
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
47
48
49
50
51
52
53
54
55
from database import SYSTEM_IDS
import numpy as np
server = None
NUMBER_OF_ROBOTS = 1
gui_properties = {
"section_1a": {
"filter_borders": False,
"filter_gray": False,
"filter_blur": False
},
"section_1b": {
"detection_view": True,
"all_squares_view": False
},
"section_2": {
"variable_fps": 24,
"variable_blur": 7,
"variable_minsqr": 350,
"variable_maxsqr": 120000,
"variable_sqrdst": .4,
"variable_cannyt": .7,
"variable_errorr": 2,
"variable_errord": .5
},
"section_3": {
"server": False
},
"section_4": {
"plan": None,
"points": []
}
}
robots_manager = { identification: {"node": np.empty((2, 2), dtype=int),
"radius": 0,
"indetified": False,
"hardware": None,
"running_plan": False,
"battery": "" }
for identification in SYSTEM_IDS[0] }
task_manager = {"solve_task": False,
"busy": False,
"task_ID": "",
"solution_points":[],
"solved_tasks": [],
"available_robot": False,
"busy_robots": 0 }