-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmanifest.json
More file actions
229 lines (229 loc) · 8.79 KB
/
manifest.json
File metadata and controls
229 lines (229 loc) · 8.79 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
{
"package": "PowerLoop",
"language": "python",
"author": "amerkay",
"description": "PowerLoop for Farmbot: Loop your farmbot by plants with search filters, or by automatic waypoint calculation to cover Plant search results grid area. Features include executing sequences and saving meta data. The code is as annotated as could be, so have a look at https://github.com/amerkay/powerloop/",
"version": "1.2.16",
"min_os_version_major": 6,
"url": "https://raw.githubusercontent.com/amerkay/powerloop/master/manifest_v1.json",
"zip": "https://github.com/amerkay/powerloop/archive/master.zip",
"executable": "python",
"args": ["powerloop-master/src/main.py"],
"config": [
{
"name": "filter_pointname",
"label": "Filter by plant name, case insensitive. 'aru' matches 'Arugula', * for all.",
"help": ["Uses string contains. "],
"value": "*"
},
{
"name": "filter_openfarm_slug",
"label": "Filter by Openfarm slug name, case insensitive. 'aru' matches 'Arugula', * for all.",
"help": [""],
"value": "*"
},
{
"name": "filter_age_min_day",
"label": "Filter by plant age (minimum days)",
"help": [""],
"value": "-1"
},
{
"name": "filter_age_max_day",
"label": "Filter by plant age (maximum days)",
"help": [""],
"value": "36500"
},
{
"name": "filter_meta_key",
"label": "Filter by meta data : key",
"help": [""],
"value": "None"
},
{
"name": "filter_meta_op",
"label": "Filter by meta data : operator (==,!=,>,<,>=,<=,regex,daysmin,daysmax,minutesmin,minutesmax)",
"help": [
" Default: '==' equals (numeric/string)",
" '!=' different (numeric/string)",
" '>' superior (numeric)",
" '<' inferior (numeric)",
" '>=' superior or equal (numeric)",
" '<=' inferior or equal (numeric)",
" 'regex' regular expression",
" 'daysmin' minimum days number from now to include plant (datetime)",
" 'daysmax' maximum days number from now to include plant (datetime)",
" 'minutesmin' minimum minutes number from now to include plant (datetime)",
" 'minutesmax' maximum minutes number from now to include plant (datetime)."
],
"value": "=="
},
{
"name": "filter_meta_value",
"label": "Filter by meta data : value",
"help": [""],
"value": "None"
},
{
"name": "filter_plant_stage",
"label": "Filter by plant stage (Allowed: None, planned, planted, sprouted, harvested). Multiple allowed comma separated.",
"help": ["Eg: 'planted, sprouted', no quotes."],
"value": "None"
},
{
"name": "filter_min_x",
"label": "Filter by coordinates - Min X",
"help": [""],
"value": "None"
},
{
"name": "filter_max_x",
"label": "Filter by coordinates - Max X",
"help": [""],
"value": "None"
},
{
"name": "filter_min_y",
"label": "Filter by coordinates - Min Y",
"help": [""],
"value": "None"
},
{
"name": "filter_max_y",
"label": "Filter by coordinates - Max Y",
"help": [""],
"value": "None"
},
{
"name": "sequence_init",
"label": "Init Sequences, one-time execution. Eg. 'SeqName1, SeqName2'",
"help": [
"Default: 'None' -> no execute sequence",
"Sequence name matched using equals, case-insensitive.",
"Can be an ordered list of sequences with ',' seperator. Eg. 'Seq1,Seq2,...'"
],
"value": "None"
},
{
"name": "sequence_beforemove",
"label": "Sequences Before Next Move, for each plant. Eg. 'SeqName1, SeqName2'",
"help": [
"Default: 'None' -> no execute sequence",
"Sequence name matched using equals, case-insensitive.",
"Can be an ordered list of sequences with ',' seperator. Eg. 'Seq1,Seq2,...'"
],
"value": "None"
},
{
"name": "sequence_aftermove",
"label": "Sequences After Move, for each plant. Eg. 'SeqName1, SeqName2'",
"help": [
"Default: 'None' -> no execute sequence",
"Sequence name matched using equals, case-insensitive.",
"Can be an ordered list of sequences with ',' seperator. Eg. 'Seq1,Seq2,...'"
],
"value": "None"
},
{
"name": "sequence_end",
"label": "End Sequences, one-time execution. Eg. 'SeqName1, SeqName2'",
"help": [
"Default: 'None' -> no execute sequence",
"Sequence name matched using equals, case-insensitive.",
"Can be an ordered list of sequences with ',' seperator. Eg. 'Seq1,Seq2,...'"
],
"value": "None"
},
{
"name": "save_meta_key",
"label": "Save in meta data : key",
"help": [""],
"value": "None"
},
{
"name": "save_meta_value",
"label": "Save in meta data : value (str / #NOW#)",
"help": [""],
"value": "None"
},
{
"name": "save_plant_stage",
"label": "Set plant stage (None, planned, planted, sprouted, harvested)",
"help": ["If planted, 'planted_at' property is changed to now UTC (like web app)"],
"value": "None"
},
{
"name": "move_offset_x",
"label": "Offset X value when moving - (integer, randint(i,j))",
"help": ["Optional: set to 'randint(i,j)' no quotes, returns a random integer N such that i <= N <= j."],
"value": 0
},
{
"name": "move_offset_y",
"label": "Offset Y value when moving - (integer, randint(i,j))",
"help": ["Optional: set to 'randint(i,j)' no quotes, returns a random integer N such that i <= N <= j."],
"value": 0
},
{
"name": "move_z",
"label": "Default Z axis value when moving",
"help": [""],
"value": 0
},
{
"name": "move_speed",
"label": "Default speed value when moving. Percent of max speed (1-100)",
"help": [""],
"value": 100
},
{
"name": "use_simple_sort",
"label": "Use simple X, Y sort instead of Travelling Salesman Problem Greedy algorithm to optimize route? If 'False' (default), no quotes, TSP Greedy Algorithm will be used.",
"help": ["Default: False -> Use simple sort(x,y) rather than travelling salesman greedy solution. See README, Fig. 1."],
"value": "False"
},
{
"name": "grid_coverage_per_step",
"label": "Grid coverage (x, y) per step. None to disable (default), set to enable. E.g camera fov '(220, 310)'. When used, no point data will be saved.",
"help": [
"Default: 'None' to disable grid coverage. Min value (100, 100). Uses the default plant search and filter for the points data.",
"Grid coverage (x, y) per step. E.g for camera field of view enter '(220, 310)', no quotes, depending on your z axis height for camera FoV. If set it uses the results of Plant filtering, then calculates waypoints based on grid_coverage_per_step value.",
"Min is (100, 100) otherwise plant radius won't fit, and it will fail."
],
"value": "None"
},
{
"name": "grid_coverage_offset",
"label": "Grid coverage offset (x, y) from center. Default (0,0), set to enable. E.g camera is offset '(50, 100)'.",
"help": ["Max is 50% of the grid_coverage_per_step"],
"value": "(0,0)"
},
{
"name": "grid_coverage_overlap",
"label": "Grid coverage overlap. The overlap between coverage-area rectangles. Default 0. Max value 75 (%).",
"help": [
"Max is 75. If set to 30 or higher, summary mode will be used, see calc_waypoints_summary function.",
"If you want to scan entire planted area without overlap, set to 0."
],
"value": "0"
},
{
"name": "grid_coverage_summarize",
"label": "Grid coverage, summarize steps attempting to cover each Plant once at least. Default: False. If set True, waypoint summary mode with radius coverage will be used.",
"help": [
""
],
"value": "False"
},
{
"name": "debug",
"label": "Debug mode (0-> No FW debug msg, 1-> FW debug msg (default), 2-> No move/exec - do save point data, 3-> simulation, log only)",
"help": [
"0 -> no farmware debug log",
"1 -> farmware debug log",
"2 -> no move, no execute sequences. Do save point data and farmware debug log",
"3 -> simulation mode. No move, no execute sequence, no save meta data. Enable farmware debug log"
],
"value": 1
}]
}