pymammotion 0.4.0b8__py3-none-any.whl → 0.4.1__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.
Files changed (41) hide show
  1. pymammotion/bluetooth/ble_message.py +6 -7
  2. pymammotion/data/model/device.py +2 -7
  3. pymammotion/data/model/hash_list.py +84 -10
  4. pymammotion/data/model/raw_data.py +1 -8
  5. pymammotion/data/state_manager.py +30 -10
  6. pymammotion/mammotion/commands/abstract_message.py +2 -2
  7. pymammotion/mammotion/commands/messages/driver.py +27 -20
  8. pymammotion/mammotion/commands/messages/media.py +13 -14
  9. pymammotion/mammotion/commands/messages/navigation.py +16 -13
  10. pymammotion/mammotion/commands/messages/network.py +13 -10
  11. pymammotion/mammotion/commands/messages/ota.py +9 -14
  12. pymammotion/mammotion/commands/messages/system.py +36 -25
  13. pymammotion/mammotion/commands/messages/video.py +8 -10
  14. pymammotion/mammotion/devices/base.py +10 -10
  15. pymammotion/mammotion/devices/mammotion.py +18 -14
  16. pymammotion/mammotion/devices/mammotion_bluetooth.py +2 -3
  17. pymammotion/mammotion/devices/mammotion_cloud.py +1 -2
  18. pymammotion/mqtt/mammotion_mqtt.py +1 -1
  19. pymammotion/proto/__init__.py +2174 -1
  20. pymammotion/proto/luba_mul_pb2.py +8 -8
  21. pymammotion/proto/luba_mul_pb2.pyi +1 -0
  22. pymammotion/proto/mctrl_nav.proto +3 -3
  23. pymammotion/proto/mctrl_nav_pb2.py +69 -67
  24. pymammotion/proto/mctrl_nav_pb2.pyi +13 -5
  25. pymammotion/proto/mctrl_sys_pb2.py +41 -37
  26. pymammotion/proto/mctrl_sys_pb2.pyi +34 -11
  27. pymammotion/utility/device_config.py +2 -2
  28. {pymammotion-0.4.0b8.dist-info → pymammotion-0.4.1.dist-info}/METADATA +1 -1
  29. {pymammotion-0.4.0b8.dist-info → pymammotion-0.4.1.dist-info}/RECORD +31 -41
  30. pymammotion/proto/basestation.py +0 -59
  31. pymammotion/proto/common.py +0 -12
  32. pymammotion/proto/dev_net.py +0 -381
  33. pymammotion/proto/luba_msg.py +0 -81
  34. pymammotion/proto/luba_mul.py +0 -77
  35. pymammotion/proto/mctrl_driver.py +0 -100
  36. pymammotion/proto/mctrl_nav.py +0 -664
  37. pymammotion/proto/mctrl_ota.py +0 -48
  38. pymammotion/proto/mctrl_pept.py +0 -41
  39. pymammotion/proto/mctrl_sys.py +0 -574
  40. {pymammotion-0.4.0b8.dist-info → pymammotion-0.4.1.dist-info}/LICENSE +0 -0
  41. {pymammotion-0.4.0b8.dist-info → pymammotion-0.4.1.dist-info}/WHEEL +0 -0
@@ -1,664 +0,0 @@
1
- # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # sources: pymammotion/proto/mctrl_nav.proto
3
- # plugin: python-betterproto
4
- from dataclasses import dataclass
5
- from .common import *
6
-
7
- import betterproto
8
-
9
-
10
- @dataclass
11
- class NavLatLonUp(betterproto.Message):
12
- lat: float = betterproto.double_field(1)
13
- lon: float = betterproto.double_field(2)
14
-
15
-
16
- @dataclass
17
- class NavBorderState(betterproto.Message):
18
- bdstate: int = betterproto.int32_field(1)
19
-
20
-
21
- @dataclass
22
- class NavPosUp(betterproto.Message):
23
- x: float = betterproto.float_field(1)
24
- y: float = betterproto.float_field(2)
25
- status: int = betterproto.int32_field(3)
26
- toward: int = betterproto.int32_field(4)
27
- stars: int = betterproto.int32_field(5)
28
- age: float = betterproto.float_field(6)
29
- lat_stddev: float = betterproto.float_field(7)
30
- lon_stddev: float = betterproto.float_field(8)
31
- l2df_stars: int = betterproto.int32_field(9)
32
- pos_type: int = betterproto.int32_field(10)
33
- c_hash_id: int = betterproto.int64_field(11)
34
- pos_level: int = betterproto.int32_field(12)
35
-
36
-
37
- @dataclass
38
- class NavBorderDataGetAck(betterproto.Message):
39
- job_id: int = betterproto.int32_field(1)
40
- current_frame: int = betterproto.int32_field(2)
41
-
42
-
43
- @dataclass
44
- class NavObstiBorderDataGet(betterproto.Message):
45
- obstacle_index: int = betterproto.int32_field(1)
46
- current_frame: int = betterproto.int32_field(2)
47
- obstacles_len: int = betterproto.int32_field(3)
48
-
49
-
50
- @dataclass
51
- class NavObstiBorderDataGetAck(betterproto.Message):
52
- obstacle_index: int = betterproto.int32_field(1)
53
- current_frame: int = betterproto.int32_field(2)
54
-
55
-
56
- @dataclass
57
- class NavCHlLineData(betterproto.Message):
58
- start_job_r_i: int = betterproto.int32_field(1)
59
- end_job_r_i: int = betterproto.int32_field(2)
60
- current_frame: int = betterproto.int32_field(3)
61
- channel_line_len: int = betterproto.int32_field(4)
62
-
63
-
64
- @dataclass
65
- class NavCHlLineDataAck(betterproto.Message):
66
- start_job_r_i: int = betterproto.int32_field(1)
67
- end_job_r_i: int = betterproto.int32_field(2)
68
- current_frame: int = betterproto.int32_field(3)
69
-
70
-
71
- @dataclass
72
- class NavTaskInfo(betterproto.Message):
73
- area: int = betterproto.int32_field(1)
74
- time: int = betterproto.int32_field(2)
75
- all_frame: int = betterproto.int32_field(3)
76
- current_frame: int = betterproto.int32_field(4)
77
- pathlen: int = betterproto.int32_field(5)
78
- dc: list["CommDataCouple"] = betterproto.message_field(6)
79
-
80
-
81
- @dataclass
82
- class NavBorderDataGet(betterproto.Message):
83
- job_id: int = betterproto.int32_field(1)
84
- current_frame: int = betterproto.int32_field(2)
85
- border_len: int = betterproto.int32_field(3)
86
-
87
-
88
- @dataclass
89
- class NavOptLineUp(betterproto.Message):
90
- start_job_r_i: int = betterproto.int32_field(1)
91
- end_job_r_i: int = betterproto.int32_field(2)
92
- all_frame: int = betterproto.int32_field(3)
93
- current_frame: int = betterproto.int32_field(4)
94
- channel_data_len: int = betterproto.int32_field(5)
95
- dc: list["CommDataCouple"] = betterproto.message_field(6)
96
-
97
-
98
- @dataclass
99
- class NavOptiBorderInfo(betterproto.Message):
100
- job_id: int = betterproto.int32_field(1)
101
- all_frame: int = betterproto.int32_field(2)
102
- current_frame: int = betterproto.int32_field(3)
103
- border_data_len: int = betterproto.int32_field(4)
104
- dc: list["CommDataCouple"] = betterproto.message_field(5)
105
-
106
-
107
- @dataclass
108
- class NavOptObsInfo(betterproto.Message):
109
- obstacle_id: int = betterproto.int32_field(1)
110
- all_frame: int = betterproto.int32_field(2)
111
- current_frame: int = betterproto.int32_field(3)
112
- obstacle_data_len: int = betterproto.int32_field(4)
113
- dc: list["CommDataCouple"] = betterproto.message_field(5)
114
-
115
-
116
- @dataclass
117
- class NavStartJob(betterproto.Message):
118
- job_id: int = betterproto.int64_field(1)
119
- job_ver: int = betterproto.int32_field(2)
120
- job_mode: int = betterproto.int32_field(3)
121
- rain_tactics: int = betterproto.int32_field(4)
122
- knife_height: int = betterproto.int32_field(5)
123
- speed: float = betterproto.float_field(6)
124
- channel_width: int = betterproto.int32_field(7)
125
- ultra_wave: int = betterproto.int32_field(8)
126
- channel_mode: int = betterproto.int32_field(9)
127
-
128
-
129
- @dataclass
130
- class NavTaskProgress(betterproto.Message):
131
- task_progress: int = betterproto.int32_field(1)
132
-
133
-
134
- @dataclass
135
- class NavResFrame(betterproto.Message):
136
- frameid: int = betterproto.int32_field(1)
137
-
138
-
139
- @dataclass
140
- class NavGetHashList(betterproto.Message):
141
- pver: int = betterproto.int32_field(1)
142
- sub_cmd: int = betterproto.int32_field(2)
143
- total_frame: int = betterproto.int32_field(3)
144
- current_frame: int = betterproto.int32_field(4)
145
- data_hash: int = betterproto.fixed64_field(5)
146
- reserved: str = betterproto.string_field(6)
147
-
148
-
149
- @dataclass
150
- class NavGetHashListAck(betterproto.Message):
151
- pver: int = betterproto.int32_field(1)
152
- sub_cmd: int = betterproto.int32_field(2)
153
- total_frame: int = betterproto.int32_field(3)
154
- current_frame: int = betterproto.int32_field(4)
155
- data_hash: int = betterproto.fixed64_field(5)
156
- hash_len: int = betterproto.int32_field(6)
157
- reserved: str = betterproto.string_field(7)
158
- result: int = betterproto.int32_field(8)
159
- data_couple: list[int] = betterproto.int64_field(13)
160
-
161
-
162
- @dataclass
163
- class NavGetCommData(betterproto.Message):
164
- pver: int = betterproto.int32_field(1)
165
- sub_cmd: int = betterproto.int32_field(2)
166
- action: int = betterproto.int32_field(3)
167
- type: int = betterproto.int32_field(4)
168
- hash: int = betterproto.int64_field(5)
169
- paternal_hash_a: int = betterproto.int64_field(6)
170
- paternal_hash_b: int = betterproto.int64_field(7)
171
- total_frame: int = betterproto.int32_field(8)
172
- current_frame: int = betterproto.int32_field(9)
173
- data_hash: int = betterproto.fixed64_field(10)
174
- reserved: str = betterproto.string_field(11)
175
-
176
- @dataclass
177
- class AreaLabel(betterproto.Message):
178
- label: str = betterproto.string_field(1)
179
-
180
- @dataclass
181
- class NavGetCommDataAck(betterproto.Message):
182
- pver: int = betterproto.int32_field(1)
183
- sub_cmd: int = betterproto.int32_field(2)
184
- result: int = betterproto.int32_field(3)
185
- action: int = betterproto.int32_field(4)
186
- type: int = betterproto.int32_field(5)
187
- hash: int = betterproto.fixed64_field(6)
188
- paternal_hash_a: int = betterproto.fixed64_field(7)
189
- paternal_hash_b: int = betterproto.fixed64_field(8)
190
- total_frame: int = betterproto.int32_field(9)
191
- current_frame: int = betterproto.int32_field(10)
192
- data_hash: int = betterproto.fixed64_field(11)
193
- data_len: int = betterproto.int32_field(12)
194
- data_couple: list["CommDataCouple"] = betterproto.message_field(13)
195
- reserved: str = betterproto.string_field(14)
196
- area_label: AreaLabel = betterproto.message_field(15)
197
-
198
-
199
- @dataclass
200
- class NavReqCoverPath(betterproto.Message):
201
- pver: int = betterproto.int32_field(1)
202
- job_id: int = betterproto.int64_field(2)
203
- job_ver: int = betterproto.int32_field(3)
204
- job_mode: int = betterproto.int32_field(4)
205
- sub_cmd: int = betterproto.int32_field(5)
206
- edge_mode: int = betterproto.int32_field(6)
207
- knife_height: int = betterproto.int32_field(7)
208
- channel_width: int = betterproto.int32_field(8)
209
- ultra_wave: int = betterproto.int32_field(9)
210
- channel_mode: int = betterproto.int32_field(10)
211
- toward: int = betterproto.int32_field(11)
212
- speed: float = betterproto.float_field(12)
213
- zone_hashs: list[int] = betterproto.fixed64_field(13)
214
- path_hash: int = betterproto.fixed64_field(14)
215
- reserved: str = betterproto.string_field(15)
216
- result: int = betterproto.int32_field(16)
217
- toward_mode: int = betterproto.int32_field(17)
218
- toward_included_angle: int = betterproto.int32_field(18)
219
-
220
-
221
- @dataclass
222
- class NavUploadZigZagResult(betterproto.Message):
223
- pver: int = betterproto.int32_field(1)
224
- job_id: int = betterproto.int64_field(2)
225
- job_ver: int = betterproto.int32_field(3)
226
- result: int = betterproto.int32_field(4)
227
- area: int = betterproto.int32_field(5)
228
- time: int = betterproto.int32_field(6)
229
- total_zone_num: int = betterproto.int32_field(7)
230
- current_zone_path_num: int = betterproto.int32_field(8)
231
- current_zone_path_id: int = betterproto.int32_field(9)
232
- current_zone: int = betterproto.int32_field(10)
233
- current_hash: int = betterproto.fixed64_field(11)
234
- total_frame: int = betterproto.int32_field(12)
235
- current_frame: int = betterproto.int32_field(13)
236
- channel_mode: int = betterproto.int32_field(14)
237
- channel_mode_id: int = betterproto.int32_field(15)
238
- data_hash: int = betterproto.fixed64_field(16)
239
- data_len: int = betterproto.int32_field(17)
240
- reserved: str = betterproto.string_field(18)
241
- data_couple: list["CommDataCouple"] = betterproto.message_field(19)
242
- sub_cmd: int = betterproto.int32_field(20)
243
-
244
-
245
- @dataclass
246
- class NavUploadZigZagResultAck(betterproto.Message):
247
- pver: int = betterproto.int32_field(1)
248
- current_zone: int = betterproto.int32_field(2)
249
- current_hash: int = betterproto.fixed64_field(3)
250
- total_frame: int = betterproto.int32_field(4)
251
- current_frame: int = betterproto.int32_field(5)
252
- data_hash: int = betterproto.fixed64_field(6)
253
- reserved: str = betterproto.string_field(7)
254
- sub_cmd: int = betterproto.int32_field(8)
255
-
256
-
257
- @dataclass
258
- class NavTaskCtrl(betterproto.Message):
259
- type: int = betterproto.int32_field(1)
260
- action: int = betterproto.int32_field(2)
261
- result: int = betterproto.int32_field(3)
262
- reserved: str = betterproto.string_field(4)
263
-
264
-
265
- @dataclass
266
- class NavTaskIdRw(betterproto.Message):
267
- pver: int = betterproto.int32_field(1)
268
- sub_cmd: int = betterproto.int32_field(2)
269
- task_name: str = betterproto.string_field(3)
270
- task_id: str = betterproto.string_field(4)
271
- result: int = betterproto.int32_field(5)
272
- reserved: str = betterproto.string_field(6)
273
-
274
-
275
- @dataclass
276
- class NavSysHashOverview(betterproto.Message):
277
- commonhash_overview: int = betterproto.fixed64_field(1)
278
- path_hash_overview: int = betterproto.fixed64_field(2)
279
-
280
-
281
- @dataclass
282
- class NavTaskBreakPoint(betterproto.Message):
283
- x: float = betterproto.float_field(1)
284
- y: float = betterproto.float_field(2)
285
- toward: int = betterproto.int32_field(3)
286
- flag: int = betterproto.int32_field(4)
287
- action: int = betterproto.int32_field(5)
288
- zone_hash: int = betterproto.fixed64_field(6)
289
-
290
-
291
- @dataclass
292
- class NavPlanJobSet(betterproto.Message):
293
- pver: int = betterproto.int32_field(1)
294
- sub_cmd: int = betterproto.int32_field(2)
295
- area: int = betterproto.int32_field(3)
296
- work_time: int = betterproto.int32_field(4)
297
- version: str = betterproto.string_field(5)
298
- id: str = betterproto.string_field(6)
299
- user_id: str = betterproto.string_field(7)
300
- device_id: str = betterproto.string_field(8)
301
- plan_id: str = betterproto.string_field(9)
302
- task_id: str = betterproto.string_field(10)
303
- job_id: str = betterproto.string_field(11)
304
- start_time: str = betterproto.string_field(12)
305
- end_time: str = betterproto.string_field(13)
306
- week: int = betterproto.int32_field(14)
307
- knife_height: int = betterproto.int32_field(15)
308
- model: int = betterproto.int32_field(16)
309
- edge_mode: int = betterproto.int32_field(17)
310
- required_time: int = betterproto.int32_field(18)
311
- route_angle: int = betterproto.int32_field(19)
312
- route_model: int = betterproto.int32_field(20)
313
- route_spacing: int = betterproto.int32_field(21)
314
- ultrasonic_barrier: int = betterproto.int32_field(22)
315
- total_plan_num: int = betterproto.int32_field(23)
316
- plan_index: int = betterproto.int32_field(24)
317
- result: int = betterproto.int32_field(25)
318
- speed: float = betterproto.float_field(26)
319
- task_name: str = betterproto.string_field(27)
320
- job_name: str = betterproto.string_field(28)
321
- zone_hashs: list[int] = betterproto.fixed64_field(29)
322
- reserved: str = betterproto.string_field(30)
323
- start_date: str = betterproto.string_field(31)
324
- end_date: str = betterproto.string_field(32)
325
- trigger_type: int = betterproto.int32_field(33)
326
- day: int = betterproto.int32_field(34)
327
- weeks: list[int] = betterproto.fixed32_field(35)
328
- remained_seconds: int = betterproto.int64_field(36)
329
- toward_mode: int = betterproto.int32_field(37)
330
- toward_included_angle: int = betterproto.int32_field(38)
331
-
332
-
333
- @dataclass
334
- class NavUnableTimeSet(betterproto.Message):
335
- sub_cmd: int = betterproto.int32_field(1)
336
- device_id: str = betterproto.string_field(2)
337
- unable_start_time: str = betterproto.string_field(3)
338
- unable_end_time: str = betterproto.string_field(4)
339
- result: int = betterproto.int32_field(5)
340
- reserved: str = betterproto.string_field(6)
341
-
342
-
343
- @dataclass
344
- class ChargePileType(betterproto.Message):
345
- toward: int = betterproto.int32_field(1)
346
- x: float = betterproto.float_field(2)
347
- y: float = betterproto.float_field(3)
348
-
349
-
350
- @dataclass
351
- class SimulationCmdData(betterproto.Message):
352
- sub_cmd: int = betterproto.int32_field(1)
353
- param_id: int = betterproto.int32_field(2)
354
- param_value: list[int] = betterproto.int32_field(3)
355
-
356
-
357
- @dataclass
358
- class WorkReportUpdateCmd(betterproto.Message):
359
- sub_cmd: int = betterproto.int32_field(1)
360
-
361
-
362
- @dataclass
363
- class WorkReportUpdateAck(betterproto.Message):
364
- update_flag: bool = betterproto.bool_field(1)
365
- info_num: int = betterproto.int32_field(2)
366
-
367
-
368
- @dataclass
369
- class WorkReportCmdData(betterproto.Message):
370
- sub_cmd: int = betterproto.int32_field(1)
371
- get_info_num: int = betterproto.int32_field(2)
372
-
373
-
374
- @dataclass
375
- class WorkReportInfoAck(betterproto.Message):
376
- interrupt_flag: bool = betterproto.bool_field(1)
377
- start_work_time: int = betterproto.int64_field(2)
378
- end_work_time: int = betterproto.int64_field(3)
379
- work_time_used: int = betterproto.int32_field(4)
380
- work_ares: float = betterproto.double_field(5)
381
- work_progress: int = betterproto.int32_field(6)
382
- height_of_knife: int = betterproto.int32_field(7)
383
- work_type: int = betterproto.int32_field(8)
384
- work_result: int = betterproto.int32_field(9)
385
- total_ack_num: int = betterproto.int32_field(10)
386
- current_ack_num: int = betterproto.int32_field(11)
387
-
388
-
389
- @dataclass
390
- class AppRequestCoverPathsT(betterproto.Message):
391
- pver: int = betterproto.int32_field(1)
392
- sub_cmd: int = betterproto.int32_field(2)
393
- total_frame: int = betterproto.int32_field(3)
394
- current_frame: int = betterproto.int32_field(4)
395
- data_hash: int = betterproto.fixed64_field(5)
396
- transaction_id: int = betterproto.int64_field(6)
397
- reserved: list[int] = betterproto.int64_field(7)
398
- hash_list: list[int] = betterproto.fixed64_field(8)
399
-
400
-
401
- @dataclass
402
- class CoverPathPacketT(betterproto.Message):
403
- path_hash: int = betterproto.fixed64_field(1)
404
- path_type: int = betterproto.int32_field(2)
405
- path_total: int = betterproto.int32_field(3)
406
- path_cur: int = betterproto.int32_field(4)
407
- zone_hash: int = betterproto.fixed64_field(5)
408
- data_couple: list["CommDataCouple"] = betterproto.message_field(6)
409
-
410
-
411
- @dataclass
412
- class CoverPathUploadT(betterproto.Message):
413
- pver: int = betterproto.int32_field(1)
414
- result: int = betterproto.int32_field(2)
415
- sub_cmd: int = betterproto.int32_field(3)
416
- area: int = betterproto.int32_field(4)
417
- time: int = betterproto.int32_field(5)
418
- total_frame: int = betterproto.int32_field(6)
419
- current_frame: int = betterproto.int32_field(7)
420
- total_path_num: int = betterproto.int32_field(8)
421
- vaild_path_num: int = betterproto.int32_field(9)
422
- data_hash: int = betterproto.fixed64_field(10)
423
- transaction_id: int = betterproto.int64_field(11)
424
- reserved: list[int] = betterproto.int64_field(12)
425
- data_len: int = betterproto.int32_field(13)
426
- path_packets: list["CoverPathPacketT"] = betterproto.message_field(14)
427
-
428
-
429
- @dataclass
430
- class ZoneStartPrecentT(betterproto.Message):
431
- data_hash: int = betterproto.fixed64_field(1)
432
- x: float = betterproto.float_field(2)
433
- y: float = betterproto.float_field(3)
434
- index: int = betterproto.int32_field(4)
435
-
436
-
437
- @dataclass
438
- class VisionCtrlMsg(betterproto.Message):
439
- type: int = betterproto.int32_field(1)
440
- cmd: int = betterproto.int32_field(2)
441
-
442
-
443
- @dataclass
444
- class NavSysParamMsg(betterproto.Message):
445
- rw: int = betterproto.int32_field(1)
446
- id: int = betterproto.int32_field(2)
447
- context: int = betterproto.int32_field(3)
448
-
449
-
450
- @dataclass
451
- class NavPlanTaskExecute(betterproto.Message):
452
- sub_cmd: int = betterproto.int32_field(1)
453
- id: str = betterproto.string_field(2)
454
- name: str = betterproto.string_field(3)
455
- result: int = betterproto.int32_field(4)
456
-
457
-
458
- @dataclass
459
- class CostmapT(betterproto.Message):
460
- width: int = betterproto.int32_field(1)
461
- height: int = betterproto.int32_field(2)
462
- center_x: float = betterproto.float_field(3)
463
- center_y: float = betterproto.float_field(4)
464
- yaw: float = betterproto.float_field(5)
465
- res: float = betterproto.float_field(6)
466
- costmap: list[int] = betterproto.int32_field(7)
467
-
468
-
469
- @dataclass
470
- class PlanTaskNameIdT(betterproto.Message):
471
- id: str = betterproto.string_field(1)
472
- name: str = betterproto.string_field(2)
473
-
474
-
475
- @dataclass
476
- class NavGetAllPlanTask(betterproto.Message):
477
- tasks: list["PlanTaskNameIdT"] = betterproto.message_field(1)
478
-
479
-
480
- @dataclass
481
- class NavTaskCtrlAck(betterproto.Message):
482
- """Define the NavTaskCtrlAck message"""
483
-
484
- type: int = betterproto.int32_field(1)
485
- action: int = betterproto.int32_field(2)
486
- result: int = betterproto.int32_field(3)
487
- nav_state: int = betterproto.int32_field(4)
488
- reserved: str = betterproto.string_field(5)
489
-
490
-
491
- @dataclass
492
- class NavMapNameMsg(betterproto.Message):
493
- rw: int = betterproto.int32_field(1)
494
- hash: int = betterproto.int64_field(2)
495
- name: str = betterproto.string_field(3)
496
- result: int = betterproto.int32_field(4)
497
- device_id: str = betterproto.string_field(5)
498
-
499
-
500
- @dataclass
501
- class SvgMessageT(betterproto.Message):
502
- x_move: float = betterproto.double_field(1)
503
- y_move: float = betterproto.double_field(2)
504
- scale: float = betterproto.double_field(3)
505
- rotate: float = betterproto.double_field(4)
506
- base_width_m: float = betterproto.double_field(5)
507
- base_width_pix: int = betterproto.int32_field(7)
508
- base_height_m: float = betterproto.double_field(6)
509
- base_height_pix: int = betterproto.int32_field(8)
510
- data_count: int = betterproto.int32_field(12)
511
- hide_svg: bool = betterproto.bool_field(13)
512
- name_count: int = betterproto.int32_field(11)
513
- svg_file_name: str = betterproto.string_field(9)
514
- svg_file_data: str = betterproto.string_field(10)
515
-
516
-
517
- @dataclass
518
- class SvgMessageAckT(betterproto.Message):
519
- pver: int = betterproto.int32_field(1)
520
- sub_cmd: int = betterproto.int32_field(2)
521
- total_frame: int = betterproto.int32_field(3)
522
- current_frame: int = betterproto.int32_field(4)
523
- data_hash: int = betterproto.fixed64_field(5)
524
- paternal_hash_a: int = betterproto.fixed64_field(6)
525
- type: int = betterproto.int32_field(7)
526
- result: int = betterproto.int32_field(8)
527
- svg_message: "SvgMessageT" = betterproto.message_field(9)
528
-
529
-
530
- @dataclass
531
- class AreaHashName(betterproto.Message):
532
- name: str = betterproto.string_field(2)
533
- hash: int = betterproto.fixed64_field(1)
534
-
535
-
536
- @dataclass
537
- class AppGetAllAreaHashName(betterproto.Message):
538
- device_id: str = betterproto.string_field(1)
539
- hashnames: list["AreaHashName"] = betterproto.message_field(2)
540
-
541
-
542
- @dataclass
543
- class MctlNav(betterproto.Message):
544
- toapp_lat_up: "NavLatLonUp" = betterproto.message_field(1, group="SubNavMsg")
545
- toapp_pos_up: "NavPosUp" = betterproto.message_field(2, group="SubNavMsg")
546
- todev_chl_line_data: "NavCHlLineData" = betterproto.message_field(
547
- 3, group="SubNavMsg"
548
- )
549
- toapp_task_info: "NavTaskInfo" = betterproto.message_field(4, group="SubNavMsg")
550
- toapp_opt_line_up: "NavOptLineUp" = betterproto.message_field(5, group="SubNavMsg")
551
- toapp_opt_border_info: "NavOptiBorderInfo" = betterproto.message_field(
552
- 6, group="SubNavMsg"
553
- )
554
- toapp_opt_obs_info: "NavOptObsInfo" = betterproto.message_field(
555
- 7, group="SubNavMsg"
556
- )
557
- todev_task_info_ack: "NavResFrame" = betterproto.message_field(8, group="SubNavMsg")
558
- todev_opt_border_info_ack: "NavResFrame" = betterproto.message_field(
559
- 9, group="SubNavMsg"
560
- )
561
- todev_opt_obs_info_ack: "NavResFrame" = betterproto.message_field(
562
- 10, group="SubNavMsg"
563
- )
564
- todev_opt_line_up_ack: "NavResFrame" = betterproto.message_field(
565
- 11, group="SubNavMsg"
566
- )
567
- toapp_chgpileto: "ChargePileType" = betterproto.message_field(12, group="SubNavMsg")
568
- todev_sustask: int = betterproto.int32_field(13, group="SubNavMsg")
569
- todev_rechgcmd: int = betterproto.int32_field(14, group="SubNavMsg")
570
- todev_edgecmd: int = betterproto.int32_field(15, group="SubNavMsg")
571
- todev_draw_border: int = betterproto.int32_field(16, group="SubNavMsg")
572
- todev_draw_border_end: int = betterproto.int32_field(17, group="SubNavMsg")
573
- todev_draw_obs: int = betterproto.int32_field(18, group="SubNavMsg")
574
- todev_draw_obs_end: int = betterproto.int32_field(19, group="SubNavMsg")
575
- todev_chl_line: int = betterproto.int32_field(20, group="SubNavMsg")
576
- todev_chl_line_end: int = betterproto.int32_field(21, group="SubNavMsg")
577
- todev_save_task: int = betterproto.int32_field(22, group="SubNavMsg")
578
- todev_cancel_suscmd: int = betterproto.int32_field(23, group="SubNavMsg")
579
- todev_reset_chg_pile: int = betterproto.int32_field(24, group="SubNavMsg")
580
- todev_cancel_draw_cmd: int = betterproto.int32_field(25, group="SubNavMsg")
581
- todev_one_touch_leave_pile: int = betterproto.int32_field(26, group="SubNavMsg")
582
- todev_mow_task: "NavStartJob" = betterproto.message_field(27, group="SubNavMsg")
583
- toapp_bstate: "NavBorderState" = betterproto.message_field(28, group="SubNavMsg")
584
- todev_lat_up_ack: int = betterproto.int32_field(29, group="SubNavMsg")
585
- todev_gethash: "NavGetHashList" = betterproto.message_field(30, group="SubNavMsg")
586
- toapp_gethash_ack: "NavGetHashListAck" = betterproto.message_field(
587
- 31, group="SubNavMsg"
588
- )
589
- todev_get_commondata: "NavGetCommData" = betterproto.message_field(
590
- 32, group="SubNavMsg"
591
- )
592
- toapp_get_commondata_ack: "NavGetCommDataAck" = betterproto.message_field(
593
- 33, group="SubNavMsg"
594
- )
595
- bidire_reqconver_path: "NavReqCoverPath" = betterproto.message_field(
596
- 34, group="SubNavMsg"
597
- )
598
- toapp_zigzag: "NavUploadZigZagResult" = betterproto.message_field(
599
- 35, group="SubNavMsg"
600
- )
601
- todev_zigzag_ack: "NavUploadZigZagResultAck" = betterproto.message_field(
602
- 36, group="SubNavMsg"
603
- )
604
- todev_taskctrl: "NavTaskCtrl" = betterproto.message_field(37, group="SubNavMsg")
605
- bidire_taskid: "NavTaskIdRw" = betterproto.message_field(38, group="SubNavMsg")
606
- toapp_bp: "NavTaskBreakPoint" = betterproto.message_field(39, group="SubNavMsg")
607
- todev_planjob_set: "NavPlanJobSet" = betterproto.message_field(
608
- 40, group="SubNavMsg"
609
- )
610
- todev_unable_time_set: "NavUnableTimeSet" = betterproto.message_field(
611
- 41, group="SubNavMsg"
612
- )
613
- simulation_cmd: "SimulationCmdData" = betterproto.message_field(
614
- 42, group="SubNavMsg"
615
- )
616
- todev_work_report_update_cmd: "WorkReportUpdateCmd" = betterproto.message_field(
617
- 43, group="SubNavMsg"
618
- )
619
- toapp_work_report_update_ack: "WorkReportUpdateAck" = betterproto.message_field(
620
- 44, group="SubNavMsg"
621
- )
622
- todev_work_report_cmd: "WorkReportCmdData" = betterproto.message_field(
623
- 45, group="SubNavMsg"
624
- )
625
- toapp_work_report_ack: "WorkReportInfoAck" = betterproto.message_field(
626
- 46, group="SubNavMsg"
627
- )
628
- toapp_work_report_upload: "WorkReportInfoAck" = betterproto.message_field(
629
- 47, group="SubNavMsg"
630
- )
631
- app_request_cover_paths: "AppRequestCoverPathsT" = betterproto.message_field(
632
- 48, group="SubNavMsg"
633
- )
634
- cover_path_upload: "CoverPathUploadT" = betterproto.message_field(
635
- 49, group="SubNavMsg"
636
- )
637
- zone_start_precent: "ZoneStartPrecentT" = betterproto.message_field(
638
- 50, group="SubNavMsg"
639
- )
640
- vision_ctrl: "VisionCtrlMsg" = betterproto.message_field(51, group="SubNavMsg")
641
- nav_sys_param_cmd: "NavSysParamMsg" = betterproto.message_field(
642
- 52, group="SubNavMsg"
643
- )
644
- plan_task_execute: "NavPlanTaskExecute" = betterproto.message_field(
645
- 53, group="SubNavMsg"
646
- )
647
- toapp_costmap: "CostmapT" = betterproto.message_field(54, group="SubNavMsg")
648
- plan_task_name_id: "PlanTaskNameIdT" = betterproto.message_field(
649
- 55, group="SubNavMsg"
650
- )
651
- all_plan_task: "NavGetAllPlanTask" = betterproto.message_field(
652
- 56, group="SubNavMsg"
653
- )
654
- todev_taskctrl_ack: "NavTaskCtrlAck" = betterproto.message_field(
655
- 57, group="SubNavMsg"
656
- )
657
- toapp_map_name_msg: "NavMapNameMsg" = betterproto.message_field(
658
- 58, group="SubNavMsg"
659
- )
660
- todev_svg_msg: "SvgMessageAckT" = betterproto.message_field(59, group="SubNavMsg")
661
- toapp_svg_msg: "SvgMessageAckT" = betterproto.message_field(60, group="SubNavMsg")
662
- toapp_all_hash_name: "AppGetAllAreaHashName" = betterproto.message_field(
663
- 61, group="SubNavMsg"
664
- )