pymammotion 0.4.2__py3-none-any.whl → 0.4.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,7 @@ class RangeLimit:
11
11
  class DeviceLimits:
12
12
  blade_height: RangeLimit = field(default_factory=RangeLimit)
13
13
  working_speed: RangeLimit = field(default_factory=RangeLimit)
14
- working_path: RangeLimit = field(default_factory=RangeLimit)
14
+ path_spacing: RangeLimit = field(default_factory=RangeLimit)
15
15
  work_area_num_max: int = 60
16
16
  display_image_type: int = 0
17
17
 
@@ -20,7 +20,7 @@ class DeviceLimits:
20
20
  return {
21
21
  "blade_height": {"min": self.blade_height.min, "max": self.blade_height.max},
22
22
  "working_speed": {"min": self.working_speed.min, "max": self.working_speed.max},
23
- "working_path": {"min": self.working_path.min, "max": self.working_path.max},
23
+ "path_spacing": {"min": self.path_spacing.min, "max": self.path_spacing.max},
24
24
  "work_area_num_max": self.work_area_num_max,
25
25
  "display_image_type": self.display_image_type,
26
26
  }
@@ -31,7 +31,7 @@ class DeviceLimits:
31
31
  return cls(
32
32
  blade_height=RangeLimit(min=data["blade_height"]["min"], max=data["blade_height"]["max"]),
33
33
  working_speed=RangeLimit(min=data["working_speed"]["min"], max=data["working_speed"]["max"]),
34
- working_path=RangeLimit(min=data["working_path"]["min"], max=data["working_path"]["max"]),
34
+ path_spacing=RangeLimit(min=data["path_spacing"]["min"], max=data["path_spacing"]["max"]),
35
35
  work_area_num_max=data["work_area_num_max"],
36
36
  display_image_type=data["display_image_type"],
37
37
  )
@@ -42,7 +42,7 @@ class DeviceLimits:
42
42
  [
43
43
  self.blade_height.min <= self.blade_height.max,
44
44
  self.working_speed.min <= self.working_speed.max,
45
- self.working_path.min <= self.working_path.max,
45
+ self.path_spacing.min <= self.path_spacing.max,
46
46
  self.work_area_num_max > 0,
47
47
  self.display_image_type in (0, 1),
48
48
  ]
@@ -141,11 +141,12 @@ class HashList(DataClassORJSONMixin):
141
141
 
142
142
  @property
143
143
  def missing_hashlist(self) -> list[int]:
144
+ """Return missing hashlist."""
144
145
  return [
145
146
  i
146
147
  for obj in self.root_hash_list.data
147
148
  for i in obj.data_couple
148
- if i
149
+ if f"{i}"
149
150
  not in set(self.area.keys()).union(
150
151
  self.path.keys(), self.obstacle.keys(), self.dump.keys(), self.svg.keys()
151
152
  )
@@ -4,7 +4,7 @@ from pymammotion.utility.device_type import DeviceType
4
4
  default_luba_config = {
5
5
  "blade_height": {"min": 20, "max": 35},
6
6
  "working_speed": {"min": 0.2, "max": 1.2},
7
- "working_path": {"min": 8, "max": 14},
7
+ "path_spacing": {"min": 8, "max": 14},
8
8
  "work_area_num_max": 60,
9
9
  "display_image_type": 0,
10
10
  }
@@ -12,7 +12,7 @@ default_luba_config = {
12
12
  default_yuka_config = {
13
13
  "blade_height": {"min": 0, "max": 0},
14
14
  "working_speed": {"min": 0.2, "max": 0.6},
15
- "working_path": {"min": 8, "max": 30},
15
+ "path_spacing": {"min": 8, "max": 30},
16
16
  "work_area_num_max": 60,
17
17
  "display_image_type": 0,
18
18
  }
@@ -31,8 +31,8 @@ class DeviceConfig:
31
31
  "working_speed_min": 0.2,
32
32
  "working_speed_max": 0.4,
33
33
  "work_area_num_max": 3,
34
- "working_path_min": 20,
35
- "working_path_max": 35,
34
+ "path_spacing_min": 20,
35
+ "path_spacing_max": 35,
36
36
  "display_image_type": 1,
37
37
  },
38
38
  "a1nf9kRBWoH": {
@@ -42,8 +42,8 @@ class DeviceConfig:
42
42
  "working_speed_min": 0.2,
43
43
  "working_speed_max": 0.6,
44
44
  "work_area_num_max": 6,
45
- "working_path_min": 20,
46
- "working_path_max": 35,
45
+ "path_spacing_min": 20,
46
+ "path_spacing_max": 35,
47
47
  "display_image_type": 1,
48
48
  },
49
49
  "a1ae1QnXZGf": {
@@ -53,8 +53,8 @@ class DeviceConfig:
53
53
  "working_speed_min": 0.2,
54
54
  "working_speed_max": 0.6,
55
55
  "work_area_num_max": 3,
56
- "working_path_min": 20,
57
- "working_path_max": 35,
56
+ "path_spacing_min": 20,
57
+ "path_spacing_max": 35,
58
58
  "display_image_type": 1,
59
59
  },
60
60
  "a1K4Ki2L5rK": {
@@ -64,8 +64,8 @@ class DeviceConfig:
64
64
  "working_speed_min": 0.2,
65
65
  "working_speed_max": 0.6,
66
66
  "work_area_num_max": 10,
67
- "working_path_min": 20,
68
- "working_path_max": 35,
67
+ "path_spacing_min": 20,
68
+ "path_spacing_max": 35,
69
69
  "display_image_type": 0,
70
70
  },
71
71
  "a1jOhAYOIG8": {
@@ -75,8 +75,8 @@ class DeviceConfig:
75
75
  "working_speed_min": 0.2,
76
76
  "working_speed_max": 0.6,
77
77
  "work_area_num_max": 10,
78
- "working_path_min": 20,
79
- "working_path_max": 35,
78
+ "path_spacing_min": 20,
79
+ "path_spacing_max": 35,
80
80
  "display_image_type": 0,
81
81
  },
82
82
  "a1BmXWlsdbA": {
@@ -86,8 +86,8 @@ class DeviceConfig:
86
86
  "working_speed_min": 0.2,
87
87
  "working_speed_max": 0.6,
88
88
  "work_area_num_max": 10,
89
- "working_path_min": 20,
90
- "working_path_max": 35,
89
+ "path_spacing_min": 20,
90
+ "path_spacing_max": 35,
91
91
  "display_image_type": 0,
92
92
  },
93
93
  "a1JFpmAV5Ur": {
@@ -97,8 +97,8 @@ class DeviceConfig:
97
97
  "working_speed_min": 0.2,
98
98
  "working_speed_max": 0.6,
99
99
  "work_area_num_max": 10,
100
- "working_path_min": 20,
101
- "working_path_max": 35,
100
+ "path_spacing_min": 20,
101
+ "path_spacing_max": 35,
102
102
  "display_image_type": 0,
103
103
  },
104
104
  "a1kweSOPylG": {
@@ -108,8 +108,8 @@ class DeviceConfig:
108
108
  "working_speed_min": 0.2,
109
109
  "working_speed_max": 0.6,
110
110
  "work_area_num_max": 6,
111
- "working_path_min": 20,
112
- "working_path_max": 35,
111
+ "path_spacing_min": 20,
112
+ "path_spacing_max": 35,
113
113
  "display_image_type": 1,
114
114
  },
115
115
  "a1pvCnb3PPu": {
@@ -119,8 +119,8 @@ class DeviceConfig:
119
119
  "working_speed_min": 0.2,
120
120
  "working_speed_max": 0.6,
121
121
  "work_area_num_max": 3,
122
- "working_path_min": 20,
123
- "working_path_max": 35,
122
+ "path_spacing_min": 20,
123
+ "path_spacing_max": 35,
124
124
  "display_image_type": 1,
125
125
  },
126
126
  "a1x0zHD3Xop": {
@@ -130,8 +130,8 @@ class DeviceConfig:
130
130
  "working_speed_min": 0.2,
131
131
  "working_speed_max": 0.6,
132
132
  "work_area_num_max": 10,
133
- "working_path_min": 20,
134
- "working_path_max": 35,
133
+ "path_spacing_min": 20,
134
+ "path_spacing_max": 35,
135
135
  "display_image_type": 0,
136
136
  },
137
137
  "a1UBFdq6nNz": {
@@ -141,8 +141,8 @@ class DeviceConfig:
141
141
  "working_speed_min": 0.2,
142
142
  "working_speed_max": 0.6,
143
143
  "work_area_num_max": 10,
144
- "working_path_min": 20,
145
- "working_path_max": 35,
144
+ "path_spacing_min": 20,
145
+ "path_spacing_max": 35,
146
146
  "display_image_type": 0,
147
147
  },
148
148
  "a1FbaU4Bqk5": {
@@ -152,8 +152,8 @@ class DeviceConfig:
152
152
  "working_speed_min": 0.2,
153
153
  "working_speed_max": 0.6,
154
154
  "work_area_num_max": 10,
155
- "working_path_min": 20,
156
- "working_path_max": 35,
155
+ "path_spacing_min": 20,
156
+ "path_spacing_max": 35,
157
157
  "display_image_type": 0,
158
158
  },
159
159
  }
@@ -166,8 +166,8 @@ class DeviceConfig:
166
166
  "working_speed_min": 0.2,
167
167
  "working_speed_max": 0.6,
168
168
  "work_area_num_max": 3,
169
- "working_path_min": 20,
170
- "working_path_max": 35,
169
+ "path_spacing_min": 20,
170
+ "path_spacing_max": 35,
171
171
  "display_image_type": 1,
172
172
  },
173
173
  "HM030080LBAWD30": {
@@ -177,8 +177,8 @@ class DeviceConfig:
177
177
  "working_speed_min": 0.2,
178
178
  "working_speed_max": 0.6,
179
179
  "work_area_num_max": 6,
180
- "working_path_min": 20,
181
- "working_path_max": 35,
180
+ "path_spacing_min": 20,
181
+ "path_spacing_max": 35,
182
182
  "display_image_type": 1,
183
183
  },
184
184
  "HM050080LBAWD50": {
@@ -188,8 +188,8 @@ class DeviceConfig:
188
188
  "working_speed_min": 0.2,
189
189
  "working_speed_max": 0.6,
190
190
  "work_area_num_max": 10,
191
- "working_path_min": 20,
192
- "working_path_max": 35,
191
+ "path_spacing_min": 20,
192
+ "path_spacing_max": 35,
193
193
  "display_image_type": 0,
194
194
  },
195
195
  "HM030060LBAWD50OMNI": {
@@ -199,8 +199,8 @@ class DeviceConfig:
199
199
  "working_speed_min": 0.2,
200
200
  "working_speed_max": 0.6,
201
201
  "work_area_num_max": 10,
202
- "working_path_min": 20,
203
- "working_path_max": 35,
202
+ "path_spacing_min": 20,
203
+ "path_spacing_max": 35,
204
204
  "display_image_type": 1,
205
205
  },
206
206
  "HM060100LBAWD50OMNIH": {
@@ -210,8 +210,8 @@ class DeviceConfig:
210
210
  "working_speed_min": 0.2,
211
211
  "working_speed_max": 0.6,
212
212
  "work_area_num_max": 10,
213
- "working_path_min": 20,
214
- "working_path_max": 35,
213
+ "path_spacing_min": 20,
214
+ "path_spacing_max": 35,
215
215
  "display_image_type": 0,
216
216
  },
217
217
  "HM030070LBVAWD10OMNI": {
@@ -221,8 +221,8 @@ class DeviceConfig:
221
221
  "working_speed_min": 0.2,
222
222
  "working_speed_max": 0.6,
223
223
  "work_area_num_max": 10,
224
- "working_path_min": 20,
225
- "working_path_max": 35,
224
+ "path_spacing_min": 20,
225
+ "path_spacing_max": 35,
226
226
  "display_image_type": 0,
227
227
  },
228
228
  "HM060100LBVAWD10OMNIH": {
@@ -232,8 +232,8 @@ class DeviceConfig:
232
232
  "working_speed_min": 0.2,
233
233
  "working_speed_max": 0.6,
234
234
  "work_area_num_max": 10,
235
- "working_path_min": 20,
236
- "working_path_max": 35,
235
+ "path_spacing_min": 20,
236
+ "path_spacing_max": 35,
237
237
  "display_image_type": 0,
238
238
  },
239
239
  "HM030070LBVAWD30OMNI": {
@@ -243,8 +243,8 @@ class DeviceConfig:
243
243
  "working_speed_min": 0.2,
244
244
  "working_speed_max": 0.6,
245
245
  "work_area_num_max": 20,
246
- "working_path_min": 20,
247
- "working_path_max": 35,
246
+ "path_spacing_min": 20,
247
+ "path_spacing_max": 35,
248
248
  "display_image_type": 0,
249
249
  },
250
250
  "HM060100LBVAWD30OMNIH": {
@@ -254,8 +254,8 @@ class DeviceConfig:
254
254
  "working_speed_min": 0.2,
255
255
  "working_speed_max": 0.6,
256
256
  "work_area_num_max": 20,
257
- "working_path_min": 20,
258
- "working_path_max": 35,
257
+ "path_spacing_min": 20,
258
+ "path_spacing_max": 35,
259
259
  "display_image_type": 0,
260
260
  },
261
261
  "HM030070LBVAWD50OMNI": {
@@ -265,8 +265,8 @@ class DeviceConfig:
265
265
  "working_speed_min": 0.2,
266
266
  "working_speed_max": 0.6,
267
267
  "work_area_num_max": 30,
268
- "working_path_min": 20,
269
- "working_path_max": 35,
268
+ "path_spacing_min": 20,
269
+ "path_spacing_max": 35,
270
270
  "display_image_type": 0,
271
271
  },
272
272
  "HM060100LBVAWD50OMNIH": {
@@ -276,8 +276,8 @@ class DeviceConfig:
276
276
  "working_speed_min": 0.2,
277
277
  "working_speed_max": 0.6,
278
278
  "work_area_num_max": 30,
279
- "working_path_min": 20,
280
- "working_path_max": 35,
279
+ "path_spacing_min": 20,
280
+ "path_spacing_max": 35,
281
281
  "display_image_type": 0,
282
282
  },
283
283
  "HM030070LBVAWD100OMNI": {
@@ -287,8 +287,8 @@ class DeviceConfig:
287
287
  "working_speed_min": 0.2,
288
288
  "working_speed_max": 0.6,
289
289
  "work_area_num_max": 60,
290
- "working_path_min": 20,
291
- "working_path_max": 35,
290
+ "path_spacing_min": 20,
291
+ "path_spacing_max": 35,
292
292
  "display_image_type": 0,
293
293
  },
294
294
  "HM060100LBVAWD100OMNIH": {
@@ -298,8 +298,8 @@ class DeviceConfig:
298
298
  "working_speed_min": 0.2,
299
299
  "working_speed_max": 0.6,
300
300
  "work_area_num_max": 60,
301
- "working_path_min": 20,
302
- "working_path_max": 35,
301
+ "path_spacing_min": 20,
302
+ "path_spacing_max": 35,
303
303
  "display_image_type": 0,
304
304
  },
305
305
  "HM030070LB2PAWD30OMNI": {
@@ -309,8 +309,8 @@ class DeviceConfig:
309
309
  "working_speed_min": 0.2,
310
310
  "working_speed_max": 0.8,
311
311
  "work_area_num_max": 60,
312
- "working_path_min": 20,
313
- "working_path_max": 35,
312
+ "path_spacing_min": 20,
313
+ "path_spacing_max": 35,
314
314
  "display_image_type": 0,
315
315
  },
316
316
  "HM060100LB2PAWD30OMNIH": {
@@ -320,8 +320,8 @@ class DeviceConfig:
320
320
  "working_speed_min": 0.2,
321
321
  "working_speed_max": 0.8,
322
322
  "work_area_num_max": 60,
323
- "working_path_min": 20,
324
- "working_path_max": 35,
323
+ "path_spacing_min": 20,
324
+ "path_spacing_max": 35,
325
325
  "display_image_type": 0,
326
326
  },
327
327
  "HM030070LB2PAWD50OMNI": {
@@ -331,8 +331,8 @@ class DeviceConfig:
331
331
  "working_speed_min": 0.2,
332
332
  "working_speed_max": 1.0,
333
333
  "work_area_num_max": 60,
334
- "working_path_min": 20,
335
- "working_path_max": 35,
334
+ "path_spacing_min": 20,
335
+ "path_spacing_max": 35,
336
336
  "display_image_type": 0,
337
337
  },
338
338
  "HM060100LB2PAWD50OMNIH": {
@@ -342,8 +342,8 @@ class DeviceConfig:
342
342
  "working_speed_min": 0.2,
343
343
  "working_speed_max": 1.0,
344
344
  "work_area_num_max": 60,
345
- "working_path_min": 20,
346
- "working_path_max": 35,
345
+ "path_spacing_min": 20,
346
+ "path_spacing_max": 35,
347
347
  "display_image_type": 0,
348
348
  },
349
349
  "HM030070LB2PAWD100OMNI": {
@@ -353,8 +353,8 @@ class DeviceConfig:
353
353
  "working_speed_min": 0.2,
354
354
  "working_speed_max": 1.0,
355
355
  "work_area_num_max": 60,
356
- "working_path_min": 20,
357
- "working_path_max": 35,
356
+ "path_spacing_min": 20,
357
+ "path_spacing_max": 35,
358
358
  "display_image_type": 0,
359
359
  },
360
360
  "HM060100LB2PAWD100OMNIH": {
@@ -364,8 +364,8 @@ class DeviceConfig:
364
364
  "working_speed_min": 0.2,
365
365
  "working_speed_max": 1.0,
366
366
  "work_area_num_max": 60,
367
- "working_path_min": 20,
368
- "working_path_max": 35,
367
+ "path_spacing_min": 20,
368
+ "path_spacing_max": 35,
369
369
  "display_image_type": 0,
370
370
  },
371
371
  "HM020065LB2MINIAWD08OMNI": {
@@ -375,8 +375,8 @@ class DeviceConfig:
375
375
  "working_speed_min": 0.2,
376
376
  "working_speed_max": 0.6,
377
377
  "work_area_num_max": 60,
378
- "working_path_min": 5,
379
- "working_path_max": 20,
378
+ "path_spacing_min": 5,
379
+ "path_spacing_max": 20,
380
380
  "display_image_type": 0,
381
381
  },
382
382
  "HM020065LB2MINIAWD15OMNI": {
@@ -386,8 +386,8 @@ class DeviceConfig:
386
386
  "working_speed_min": 0.2,
387
387
  "working_speed_max": 0.6,
388
388
  "work_area_num_max": 60,
389
- "working_path_min": 5,
390
- "working_path_max": 20,
389
+ "path_spacing_min": 5,
390
+ "path_spacing_max": 20,
391
391
  "display_image_type": 0,
392
392
  },
393
393
  "HM020065LB2MINIAWD15OMNILD": {
@@ -397,8 +397,8 @@ class DeviceConfig:
397
397
  "working_speed_min": 0.2,
398
398
  "working_speed_max": 0.6,
399
399
  "work_area_num_max": 60,
400
- "working_path_min": 5,
401
- "working_path_max": 20,
400
+ "path_spacing_min": 5,
401
+ "path_spacing_max": 20,
402
402
  "display_image_type": 0,
403
403
  },
404
404
  "HM055100LB2MINIAWD08OMNIH": {
@@ -408,8 +408,8 @@ class DeviceConfig:
408
408
  "working_speed_min": 0.2,
409
409
  "working_speed_max": 0.6,
410
410
  "work_area_num_max": 60,
411
- "working_path_min": 5,
412
- "working_path_max": 20,
411
+ "path_spacing_min": 5,
412
+ "path_spacing_max": 20,
413
413
  "display_image_type": 0,
414
414
  },
415
415
  "HM055100LB2MINIAWD15OMNIH": {
@@ -419,8 +419,8 @@ class DeviceConfig:
419
419
  "working_speed_min": 0.2,
420
420
  "working_speed_max": 0.6,
421
421
  "work_area_num_max": 60,
422
- "working_path_min": 5,
423
- "working_path_max": 20,
422
+ "path_spacing_min": 5,
423
+ "path_spacing_max": 20,
424
424
  "display_image_type": 0,
425
425
  },
426
426
  "HM055100LB2MINIAWD15OMNIHLD": {
@@ -430,8 +430,8 @@ class DeviceConfig:
430
430
  "working_speed_min": 0.2,
431
431
  "working_speed_max": 0.6,
432
432
  "work_area_num_max": 60,
433
- "working_path_min": 5,
434
- "working_path_max": 20,
433
+ "path_spacing_min": 5,
434
+ "path_spacing_max": 20,
435
435
  "display_image_type": 0,
436
436
  },
437
437
  "HM030070YK06": {
@@ -441,8 +441,8 @@ class DeviceConfig:
441
441
  "working_speed_min": 0.2,
442
442
  "working_speed_max": 0.6,
443
443
  "work_area_num_max": 60,
444
- "working_path_min": 15,
445
- "working_path_max": 30,
444
+ "path_spacing_min": 15,
445
+ "path_spacing_max": 30,
446
446
  "display_image_type": 0,
447
447
  },
448
448
  "HM030100YK06H": {
@@ -452,8 +452,8 @@ class DeviceConfig:
452
452
  "working_speed_min": 0.2,
453
453
  "working_speed_max": 0.6,
454
454
  "work_area_num_max": 60,
455
- "working_path_min": 15,
456
- "working_path_max": 30,
455
+ "path_spacing_min": 15,
456
+ "path_spacing_max": 30,
457
457
  "display_image_type": 0,
458
458
  },
459
459
  "HM030070YK10": {
@@ -463,8 +463,8 @@ class DeviceConfig:
463
463
  "working_speed_min": 0.2,
464
464
  "working_speed_max": 0.6,
465
465
  "work_area_num_max": 60,
466
- "working_path_min": 15,
467
- "working_path_max": 30,
466
+ "path_spacing_min": 15,
467
+ "path_spacing_max": 30,
468
468
  "display_image_type": 0,
469
469
  },
470
470
  "HM030100YK10H": {
@@ -474,8 +474,8 @@ class DeviceConfig:
474
474
  "working_speed_min": 0.2,
475
475
  "working_speed_max": 0.6,
476
476
  "work_area_num_max": 60,
477
- "working_path_min": 15,
478
- "working_path_max": 30,
477
+ "path_spacing_min": 15,
478
+ "path_spacing_max": 30,
479
479
  "display_image_type": 0,
480
480
  },
481
481
  "HM030070YK15": {
@@ -485,8 +485,8 @@ class DeviceConfig:
485
485
  "working_speed_min": 0.2,
486
486
  "working_speed_max": 0.6,
487
487
  "work_area_num_max": 60,
488
- "working_path_min": 15,
489
- "working_path_max": 30,
488
+ "path_spacing_min": 15,
489
+ "path_spacing_max": 30,
490
490
  "display_image_type": 0,
491
491
  },
492
492
  "HM030100YK15H": {
@@ -496,8 +496,8 @@ class DeviceConfig:
496
496
  "working_speed_min": 0.2,
497
497
  "working_speed_max": 0.6,
498
498
  "work_area_num_max": 60,
499
- "working_path_min": 15,
500
- "working_path_max": 30,
499
+ "path_spacing_min": 15,
500
+ "path_spacing_max": 30,
501
501
  "display_image_type": 0,
502
502
  },
503
503
  "HM020090YK20": {
@@ -507,8 +507,8 @@ class DeviceConfig:
507
507
  "working_speed_min": 0.2,
508
508
  "working_speed_max": 0.6,
509
509
  "work_area_num_max": 60,
510
- "working_path_min": 15,
511
- "working_path_max": 30,
510
+ "path_spacing_min": 15,
511
+ "path_spacing_max": 30,
512
512
  "display_image_type": 0,
513
513
  },
514
514
  "HM030100YK20H": {
@@ -518,8 +518,8 @@ class DeviceConfig:
518
518
  "working_speed_min": 0.2,
519
519
  "working_speed_max": 0.6,
520
520
  "work_area_num_max": 60,
521
- "working_path_min": 15,
522
- "working_path_max": 30,
521
+ "path_spacing_min": 15,
522
+ "path_spacing_max": 30,
523
523
  "display_image_type": 0,
524
524
  },
525
525
  "HM020080YKMINI05": {
@@ -529,8 +529,8 @@ class DeviceConfig:
529
529
  "working_speed_min": 0.2,
530
530
  "working_speed_max": 0.6,
531
531
  "work_area_num_max": 60,
532
- "working_path_min": 8,
533
- "working_path_max": 14,
532
+ "path_spacing_min": 8,
533
+ "path_spacing_max": 14,
534
534
  "display_image_type": 0,
535
535
  },
536
536
  "HM050090YKMINI05H": {
@@ -540,8 +540,8 @@ class DeviceConfig:
540
540
  "working_speed_min": 0.2,
541
541
  "working_speed_max": 0.6,
542
542
  "work_area_num_max": 60,
543
- "working_path_min": 8,
544
- "working_path_max": 14,
543
+ "path_spacing_min": 8,
544
+ "path_spacing_max": 14,
545
545
  "display_image_type": 0,
546
546
  },
547
547
  "HM020080YKMINI08": {
@@ -551,8 +551,8 @@ class DeviceConfig:
551
551
  "working_speed_min": 0.2,
552
552
  "working_speed_max": 0.6,
553
553
  "work_area_num_max": 60,
554
- "working_path_min": 8,
555
- "working_path_max": 14,
554
+ "path_spacing_min": 8,
555
+ "path_spacing_max": 14,
556
556
  "display_image_type": 0,
557
557
  },
558
558
  "HM050090YKMINI08H": {
@@ -562,8 +562,8 @@ class DeviceConfig:
562
562
  "working_speed_min": 0.2,
563
563
  "working_speed_max": 0.6,
564
564
  "work_area_num_max": 60,
565
- "working_path_min": 8,
566
- "working_path_max": 14,
565
+ "path_spacing_min": 8,
566
+ "path_spacing_max": 14,
567
567
  "display_image_type": 0,
568
568
  },
569
569
  "HM020080YKMINI06": {
@@ -573,8 +573,8 @@ class DeviceConfig:
573
573
  "working_speed_min": 0.2,
574
574
  "working_speed_max": 0.6,
575
575
  "work_area_num_max": 60,
576
- "working_path_min": 8,
577
- "working_path_max": 14,
576
+ "path_spacing_min": 8,
577
+ "path_spacing_max": 14,
578
578
  "display_image_type": 0,
579
579
  },
580
580
  "HM020080YKMINI07": {
@@ -584,8 +584,8 @@ class DeviceConfig:
584
584
  "working_speed_min": 0.2,
585
585
  "working_speed_max": 0.6,
586
586
  "work_area_num_max": 60,
587
- "working_path_min": 8,
588
- "working_path_max": 14,
587
+ "path_spacing_min": 8,
588
+ "path_spacing_max": 14,
589
589
  "display_image_type": 0,
590
590
  },
591
591
  "HM050090YKMINI06H": {
@@ -595,8 +595,8 @@ class DeviceConfig:
595
595
  "working_speed_min": 0.2,
596
596
  "working_speed_max": 0.6,
597
597
  "work_area_num_max": 60,
598
- "working_path_min": 8,
599
- "working_path_max": 14,
598
+ "path_spacing_min": 8,
599
+ "path_spacing_max": 14,
600
600
  "display_image_type": 0,
601
601
  },
602
602
  "HM050090YKMINI07H": {
@@ -606,8 +606,8 @@ class DeviceConfig:
606
606
  "working_speed_min": 0.2,
607
607
  "working_speed_max": 0.6,
608
608
  "work_area_num_max": 60,
609
- "working_path_min": 8,
610
- "working_path_max": 14,
609
+ "path_spacing_min": 8,
610
+ "path_spacing_max": 14,
611
611
  "display_image_type": 0,
612
612
  },
613
613
  "HM020090YKPLUS15": {
@@ -617,8 +617,8 @@ class DeviceConfig:
617
617
  "working_speed_min": 0.2,
618
618
  "working_speed_max": 0.6,
619
619
  "work_area_num_max": 60,
620
- "working_path_min": 15,
621
- "working_path_max": 30,
620
+ "path_spacing_min": 15,
621
+ "path_spacing_max": 30,
622
622
  "display_image_type": 0,
623
623
  },
624
624
  "HM020090YKPLUS20": {
@@ -628,8 +628,8 @@ class DeviceConfig:
628
628
  "working_speed_min": 0.2,
629
629
  "working_speed_max": 0.6,
630
630
  "work_area_num_max": 60,
631
- "working_path_min": 15,
632
- "working_path_max": 30,
631
+ "path_spacing_min": 15,
632
+ "path_spacing_max": 30,
633
633
  "display_image_type": 0,
634
634
  },
635
635
  "HM030100YKPLUS15H": {
@@ -639,8 +639,8 @@ class DeviceConfig:
639
639
  "working_speed_min": 0.2,
640
640
  "working_speed_max": 0.6,
641
641
  "work_area_num_max": 60,
642
- "working_path_min": 15,
643
- "working_path_max": 30,
642
+ "path_spacing_min": 15,
643
+ "path_spacing_max": 30,
644
644
  "display_image_type": 0,
645
645
  },
646
646
  "HM030100YKPLUS20H": {
@@ -650,8 +650,8 @@ class DeviceConfig:
650
650
  "working_speed_min": 0.2,
651
651
  "working_speed_max": 0.6,
652
652
  "work_area_num_max": 60,
653
- "working_path_min": 15,
654
- "working_path_max": 30,
653
+ "path_spacing_min": 15,
654
+ "path_spacing_max": 30,
655
655
  "display_image_type": 0,
656
656
  },
657
657
  "HM020080MN23103": {
@@ -661,8 +661,8 @@ class DeviceConfig:
661
661
  "working_speed_min": 0.2,
662
662
  "working_speed_max": 0.6,
663
663
  "work_area_num_max": 60,
664
- "working_path_min": 8,
665
- "working_path_max": 14,
664
+ "path_spacing_min": 8,
665
+ "path_spacing_max": 14,
666
666
  "display_image_type": 0,
667
667
  },
668
668
  }
@@ -696,7 +696,7 @@ class DeviceConfig:
696
696
  config = self.get_device_config(int_mod)
697
697
  return config.get("extMod") if config else None
698
698
 
699
- def get_working_parameters(self, int_mod_or_key: str) -> DeviceLimits:
699
+ def get_working_parameters(self, int_mod_or_key: str) -> DeviceLimits | None:
700
700
  """Get working parameters for given internal model code
701
701
 
702
702
  Args:
@@ -704,6 +704,7 @@ class DeviceConfig:
704
704
 
705
705
  Returns:
706
706
  dict: Working parameters or None if not found
707
+ :param int_mod_or_key:
707
708
 
708
709
  """
709
710
  config = self.get_device_config(int_mod_or_key)
@@ -714,7 +715,7 @@ class DeviceConfig:
714
715
  {
715
716
  "blade_height": {"min": config["blade_height_min"], "max": config["blade_height_max"]},
716
717
  "working_speed": {"min": config["working_speed_min"], "max": config["working_speed_max"]},
717
- "working_path": {"min": config["working_path_min"], "max": config["working_path_max"]},
718
+ "path_spacing": {"min": config["path_spacing_min"], "max": config["path_spacing_max"]},
718
719
  "work_area_num_max": config["work_area_num_max"],
719
720
  "display_image_type": config["display_image_type"],
720
721
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pymammotion
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Summary:
5
5
  License: GPL-3.0
6
6
  Author: Michael Arthur
@@ -26,12 +26,12 @@ pymammotion/data/model/account.py,sha256=vJM-KTf2q6eBfVC-UlNHBSmJvqHiCawZ40vnuhX
26
26
  pymammotion/data/model/device.py,sha256=ZiGlBCOKs0qmQ9qZtG77BoW00xbOrSw4H8CYgJ-BrCU,6867
27
27
  pymammotion/data/model/device_config.py,sha256=wjayKnzoPDmBhqWZKTPDSueNEPCIWCB20tFEDSGIUsM,2602
28
28
  pymammotion/data/model/device_info.py,sha256=Q0qJ6BflQycH_VFugwaFFXcvM69q2v9JAe2wWOcCggE,904
29
- pymammotion/data/model/device_limits.py,sha256=7SVfSiAZaPvmHrl4njdNqM1TBz1xtLqoicZt5Mj-8Js,1946
29
+ pymammotion/data/model/device_limits.py,sha256=m8HdxD-RaAkPm7jHYb9GLxMEH9IfzBPz0ZypmsLnId4,1946
30
30
  pymammotion/data/model/enums.py,sha256=EpKmO8yVUZyEnTY4yH0DMMVKYNQM42zpW1maUu0i3IE,1582
31
31
  pymammotion/data/model/excute_boarder_params.py,sha256=9CpUqrygcle1C_1hDW-riLmm4map4ZbE842NXjcomEI,1394
32
32
  pymammotion/data/model/execute_boarder.py,sha256=9rd_h4fbcsXxgnLOd2rO2hWyD1abnTGc47QTEpp8DD0,1103
33
33
  pymammotion/data/model/generate_route_information.py,sha256=pgjqURwmEIzjCMbl4Z5JDDkfxyUAdry1KhPfyir3-mU,777
34
- pymammotion/data/model/hash_list.py,sha256=2wBrXLN_sRDzkBrTwtFfGC1IufULdljF0FvPe9QG8Fo,7848
34
+ pymammotion/data/model/hash_list.py,sha256=1mwL715Q-OizowBDDPk1n_mYDZgb7kz24cIfzKu0QUM,7892
35
35
  pymammotion/data/model/location.py,sha256=PwmITejfI4pm7PI4rzqSuuHetwle6IJr_CV95435s2M,871
36
36
  pymammotion/data/model/mowing_modes.py,sha256=87R4T-hs6tZ0baPvdYII9Fd6ZbJRqkXj7MRFZ7nIPOY,941
37
37
  pymammotion/data/model/plan.py,sha256=wGlcJT-w0EdbWK9jI838TCOm_MABFg7WoR664VB8RWg,2880
@@ -111,13 +111,13 @@ pymammotion/utility/constant/__init__.py,sha256=tcY0LDeD-qDDHx2LKt55KOyv9ZI0UfCN
111
111
  pymammotion/utility/constant/device_constant.py,sha256=6uTZReQxMJvZxgHuJWAPYR9pQmK-VNz4FwJZJBjtIao,7906
112
112
  pymammotion/utility/conversions.py,sha256=v3YICy0zZwwBBzrUZgabI7GRfiDBnkiAX2qdtk3NxOY,89
113
113
  pymammotion/utility/datatype_converter.py,sha256=SPM_HuaaD_XOawlqEnA8qlRRZXGba3WjA8kGOZgeBlQ,4284
114
- pymammotion/utility/device_config.py,sha256=6MIle7yuMAIJOAWwM_bPLKpV9NncIHLyPkH5kVgf6rQ,27835
114
+ pymammotion/utility/device_config.py,sha256=65Jl73-dQDs4yMXwYXZW_bsgSvnwpFBZDu8OQPEIgx8,27877
115
115
  pymammotion/utility/device_type.py,sha256=Nkje79xlcRWB8sV2ZWCjduowJ4KNfjlKF9JLbw95Eg4,10584
116
116
  pymammotion/utility/map.py,sha256=GYscVMg2cX3IPlNpCBNHDW0S55yS1WGRf1iHnNZ7TfQ,2227
117
117
  pymammotion/utility/movement.py,sha256=N75oAoAgFydqoaOedYIxGUHmuTCtPzAOtb-d_29tpfI,615
118
118
  pymammotion/utility/periodic.py,sha256=MbeSb9cfhxzYmdT_RiE0dZe3H9IfbQW_zSqhmSX2RUc,3321
119
119
  pymammotion/utility/rocker_util.py,sha256=6tX7sS87qoQC_tsxbx3NLL-HgS08wtzXiZkhDiz7uo0,7179
120
- pymammotion-0.4.2.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
121
- pymammotion-0.4.2.dist-info/METADATA,sha256=Dk-D7f90VLKdtZI7zr5S8fV7198juXPbH77S3baqANI,3884
122
- pymammotion-0.4.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
123
- pymammotion-0.4.2.dist-info/RECORD,,
120
+ pymammotion-0.4.3.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
121
+ pymammotion-0.4.3.dist-info/METADATA,sha256=yF3K0Re6Oxr7NII4UOAHHKYkvNinZrFw9_BR0t7GoNc,3884
122
+ pymammotion-0.4.3.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
123
+ pymammotion-0.4.3.dist-info/RECORD,,