pymammotion 0.5.69__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.
- pymammotion/__init__.py +53 -0
- pymammotion/agora/__init__.py +0 -0
- pymammotion/agora/agora_api.py +755 -0
- pymammotion/agora/agora_rtc_capabilities.py +748 -0
- pymammotion/agora/agora_websockets.py +1175 -0
- pymammotion/aliyun/__init__.py +1 -0
- pymammotion/aliyun/client.py +235 -0
- pymammotion/aliyun/cloud_gateway.py +982 -0
- pymammotion/aliyun/model/aep_response.py +21 -0
- pymammotion/aliyun/model/connect_response.py +51 -0
- pymammotion/aliyun/model/dev_by_account_response.py +195 -0
- pymammotion/aliyun/model/login_by_oauth_response.py +64 -0
- pymammotion/aliyun/model/regions_response.py +29 -0
- pymammotion/aliyun/model/session_by_authcode_response.py +19 -0
- pymammotion/aliyun/model/thing_response.py +12 -0
- pymammotion/aliyun/regions.py +62 -0
- pymammotion/aliyun/tea/core.py +297 -0
- pymammotion/aliyun/tmp_constant.py +171 -0
- pymammotion/bluetooth/__init__.py +1 -0
- pymammotion/bluetooth/ble.py +62 -0
- pymammotion/bluetooth/ble_message.py +676 -0
- pymammotion/bluetooth/const.py +27 -0
- pymammotion/bluetooth/data/__init__.py +0 -0
- pymammotion/bluetooth/data/convert.py +25 -0
- pymammotion/bluetooth/data/framectrldata.py +40 -0
- pymammotion/bluetooth/data/notifydata.py +62 -0
- pymammotion/bluetooth/model/__init__.py +0 -0
- pymammotion/bluetooth/model/atomic_integer.py +54 -0
- pymammotion/const.py +13 -0
- pymammotion/data/__init__.py +0 -0
- pymammotion/data/model/__init__.py +8 -0
- pymammotion/data/model/account.py +8 -0
- pymammotion/data/model/device.py +192 -0
- pymammotion/data/model/device_config.py +72 -0
- pymammotion/data/model/device_info.py +60 -0
- pymammotion/data/model/device_limits.py +49 -0
- pymammotion/data/model/enums.py +77 -0
- pymammotion/data/model/errors.py +12 -0
- pymammotion/data/model/events.py +14 -0
- pymammotion/data/model/generate_geojson.py +565 -0
- pymammotion/data/model/generate_route_information.py +26 -0
- pymammotion/data/model/hash_list.py +475 -0
- pymammotion/data/model/location.py +36 -0
- pymammotion/data/model/mowing_modes.py +77 -0
- pymammotion/data/model/rapid_state.py +45 -0
- pymammotion/data/model/raw_data.py +215 -0
- pymammotion/data/model/region_data.py +102 -0
- pymammotion/data/model/report_info.py +182 -0
- pymammotion/data/model/work.py +27 -0
- pymammotion/data/mower_state_manager.py +369 -0
- pymammotion/data/mqtt/__init__.py +1 -0
- pymammotion/data/mqtt/event.py +227 -0
- pymammotion/data/mqtt/mammotion_properties.py +276 -0
- pymammotion/data/mqtt/properties.py +203 -0
- pymammotion/data/mqtt/status.py +57 -0
- pymammotion/event/__init__.py +6 -0
- pymammotion/event/event.py +96 -0
- pymammotion/homeassistant/__init__.py +3 -0
- pymammotion/homeassistant/mower_api.py +514 -0
- pymammotion/homeassistant/rtk_api.py +54 -0
- pymammotion/http/__init__.py +0 -0
- pymammotion/http/encryption.py +220 -0
- pymammotion/http/http.py +673 -0
- pymammotion/http/model/__init__.py +0 -0
- pymammotion/http/model/camera_stream.py +31 -0
- pymammotion/http/model/http.py +249 -0
- pymammotion/http/model/response_factory.py +61 -0
- pymammotion/http/model/rtk.py +16 -0
- pymammotion/mammotion/__init__.py +0 -0
- pymammotion/mammotion/commands/__init__.py +0 -0
- pymammotion/mammotion/commands/abstract_message.py +24 -0
- pymammotion/mammotion/commands/mammotion_command.py +81 -0
- pymammotion/mammotion/commands/messages/__init__.py +0 -0
- pymammotion/mammotion/commands/messages/basestation.py +43 -0
- pymammotion/mammotion/commands/messages/driver.py +122 -0
- pymammotion/mammotion/commands/messages/media.py +87 -0
- pymammotion/mammotion/commands/messages/navigation.py +564 -0
- pymammotion/mammotion/commands/messages/network.py +205 -0
- pymammotion/mammotion/commands/messages/ota.py +38 -0
- pymammotion/mammotion/commands/messages/system.py +330 -0
- pymammotion/mammotion/commands/messages/video.py +33 -0
- pymammotion/mammotion/control/__init__.py +0 -0
- pymammotion/mammotion/control/joystick.py +145 -0
- pymammotion/mammotion/devices/__init__.py +29 -0
- pymammotion/mammotion/devices/base.py +163 -0
- pymammotion/mammotion/devices/mammotion.py +571 -0
- pymammotion/mammotion/devices/mammotion_bluetooth.py +496 -0
- pymammotion/mammotion/devices/mammotion_cloud.py +355 -0
- pymammotion/mammotion/devices/mammotion_mower_ble.py +48 -0
- pymammotion/mammotion/devices/mammotion_mower_cloud.py +39 -0
- pymammotion/mammotion/devices/managers/managers.py +81 -0
- pymammotion/mammotion/devices/mower_device.py +120 -0
- pymammotion/mammotion/devices/mower_manager.py +107 -0
- pymammotion/mammotion/devices/rtk_ble.py +89 -0
- pymammotion/mammotion/devices/rtk_cloud.py +115 -0
- pymammotion/mammotion/devices/rtk_device.py +50 -0
- pymammotion/mammotion/devices/rtk_manager.py +125 -0
- pymammotion/mqtt/__init__.py +6 -0
- pymammotion/mqtt/aliyun_mqtt.py +237 -0
- pymammotion/mqtt/linkkit/__init__.py +5 -0
- pymammotion/mqtt/linkkit/h2client.py +585 -0
- pymammotion/mqtt/linkkit/linkkit.py +3025 -0
- pymammotion/mqtt/mammotion_future.py +26 -0
- pymammotion/mqtt/mammotion_mqtt.py +214 -0
- pymammotion/mqtt/mqtt_models.py +66 -0
- pymammotion/proto/__init__.py +4841 -0
- pymammotion/proto/basestation.proto +51 -0
- pymammotion/proto/basestation_pb2.py +35 -0
- pymammotion/proto/basestation_pb2.pyi +89 -0
- pymammotion/proto/common.proto +7 -0
- pymammotion/proto/common_pb2.py +25 -0
- pymammotion/proto/common_pb2.pyi +13 -0
- pymammotion/proto/dev_net.proto +321 -0
- pymammotion/proto/dev_net_pb2.py +111 -0
- pymammotion/proto/dev_net_pb2.pyi +515 -0
- pymammotion/proto/luba_msg.proto +76 -0
- pymammotion/proto/luba_msg_pb2.py +41 -0
- pymammotion/proto/luba_msg_pb2.pyi +97 -0
- pymammotion/proto/luba_mul.proto +129 -0
- pymammotion/proto/luba_mul_pb2.py +61 -0
- pymammotion/proto/luba_mul_pb2.pyi +178 -0
- pymammotion/proto/mctrl_driver.proto +107 -0
- pymammotion/proto/mctrl_driver_pb2.py +57 -0
- pymammotion/proto/mctrl_driver_pb2.pyi +167 -0
- pymammotion/proto/mctrl_nav.proto +591 -0
- pymammotion/proto/mctrl_nav_pb2.py +136 -0
- pymammotion/proto/mctrl_nav_pb2.pyi +1067 -0
- pymammotion/proto/mctrl_ota.proto +80 -0
- pymammotion/proto/mctrl_ota_pb2.py +45 -0
- pymammotion/proto/mctrl_ota_pb2.pyi +128 -0
- pymammotion/proto/mctrl_pept.proto +34 -0
- pymammotion/proto/mctrl_pept_pb2.py +33 -0
- pymammotion/proto/mctrl_pept_pb2.pyi +58 -0
- pymammotion/proto/mctrl_sys.proto +741 -0
- pymammotion/proto/mctrl_sys_pb2.py +206 -0
- pymammotion/proto/mctrl_sys_pb2.pyi +1213 -0
- pymammotion/proto/message_pool.py +3 -0
- pymammotion/proto/py.typed +0 -0
- pymammotion/py.typed +0 -0
- pymammotion/utility/constant/__init__.py +3 -0
- pymammotion/utility/constant/device_constant.py +315 -0
- pymammotion/utility/conversions.py +5 -0
- pymammotion/utility/datatype_converter.py +124 -0
- pymammotion/utility/device_config.py +755 -0
- pymammotion/utility/device_type.py +489 -0
- pymammotion/utility/map.py +259 -0
- pymammotion/utility/movement.py +18 -0
- pymammotion/utility/mur_mur_hash.py +159 -0
- pymammotion/utility/periodic.py +106 -0
- pymammotion/utility/rocker_util.py +194 -0
- pymammotion-0.5.69.dist-info/METADATA +93 -0
- pymammotion-0.5.69.dist-info/RECORD +154 -0
- pymammotion-0.5.69.dist-info/WHEEL +4 -0
- pymammotion-0.5.69.dist-info/licenses/LICENSE +674 -0
|
@@ -0,0 +1,591 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
import "pymammotion/proto/common.proto";
|
|
4
|
+
|
|
5
|
+
message NavLatLonUp {
|
|
6
|
+
double lat = 1;
|
|
7
|
+
double lon = 2;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
message NavBorderState {
|
|
11
|
+
int32 bdstate = 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message NavPosUp {
|
|
15
|
+
float x = 1;
|
|
16
|
+
float y = 2;
|
|
17
|
+
int32 status = 3;
|
|
18
|
+
int32 toward = 4;
|
|
19
|
+
int32 stars = 5;
|
|
20
|
+
float age = 6;
|
|
21
|
+
float latStddev = 7;
|
|
22
|
+
float lonStddev = 8;
|
|
23
|
+
int32 l2dfStars = 9;
|
|
24
|
+
int32 posType = 10;
|
|
25
|
+
int64 cHashId = 11;
|
|
26
|
+
int32 posLevel = 12;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
message NavBorderDataGetAck {
|
|
30
|
+
int32 jobId = 1;
|
|
31
|
+
int32 currentFrame = 2;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
message NavObstiBorderDataGet {
|
|
35
|
+
int32 obstacleIndex = 1;
|
|
36
|
+
int32 currentFrame = 2;
|
|
37
|
+
int32 obstaclesLen = 3;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
message NavObstiBorderDataGetAck {
|
|
41
|
+
int32 obstacleIndex = 1;
|
|
42
|
+
int32 currentFrame = 2;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
message NavCHlLineData {
|
|
46
|
+
int32 startJobRI = 1;
|
|
47
|
+
int32 endJobRI = 2;
|
|
48
|
+
int32 currentFrame = 3;
|
|
49
|
+
int32 channelLineLen = 4;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
message NavCHlLineDataAck {
|
|
53
|
+
int32 startJobRI = 1;
|
|
54
|
+
int32 endJobRI = 2;
|
|
55
|
+
int32 currentFrame = 3;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
message NavTaskInfo {
|
|
59
|
+
int32 area = 1;
|
|
60
|
+
int32 time = 2;
|
|
61
|
+
int32 allFrame = 3;
|
|
62
|
+
int32 currentFrame = 4;
|
|
63
|
+
int32 pathlen = 5;
|
|
64
|
+
repeated CommDataCouple dc = 6;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
message NavBorderDataGet {
|
|
68
|
+
int32 jobId = 1;
|
|
69
|
+
int32 currentFrame = 2;
|
|
70
|
+
int32 borderLen = 3;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
message NavOptLineUp {
|
|
74
|
+
int32 startJobRI = 1;
|
|
75
|
+
int32 endJobRI = 2;
|
|
76
|
+
int32 allFrame = 3;
|
|
77
|
+
int32 currentFrame = 4;
|
|
78
|
+
int32 channelDataLen = 5;
|
|
79
|
+
repeated CommDataCouple dc = 6;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
message NavOptiBorderInfo {
|
|
83
|
+
int32 jobId = 1;
|
|
84
|
+
int32 allFrame = 2;
|
|
85
|
+
int32 currentFrame = 3;
|
|
86
|
+
int32 borderDataLen = 4;
|
|
87
|
+
repeated CommDataCouple dc = 5;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
message NavOptObsInfo {
|
|
91
|
+
int32 obstacleId = 1;
|
|
92
|
+
int32 allFrame = 2;
|
|
93
|
+
int32 currentFrame = 3;
|
|
94
|
+
int32 obstacleDataLen = 4;
|
|
95
|
+
repeated CommDataCouple dc = 5;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
message NavStartJob {
|
|
99
|
+
int64 jobId = 1;
|
|
100
|
+
int32 jobVer = 2;
|
|
101
|
+
int32 jobMode = 3;
|
|
102
|
+
int32 rainTactics = 4;
|
|
103
|
+
int32 knifeHeight = 5;
|
|
104
|
+
float speed = 6;
|
|
105
|
+
int32 channelWidth = 7;
|
|
106
|
+
int32 UltraWave = 8;
|
|
107
|
+
int32 channelMode = 9;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
message NavTaskProgress {
|
|
111
|
+
int32 taskProgress = 1;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
message NavResFrame {
|
|
115
|
+
int32 frameid = 1;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
message NavGetHashList {
|
|
119
|
+
int32 pver = 1;
|
|
120
|
+
int32 subCmd = 2;
|
|
121
|
+
int32 totalFrame = 3;
|
|
122
|
+
int32 currentFrame = 4;
|
|
123
|
+
fixed64 dataHash = 5;
|
|
124
|
+
string reserved = 6;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
message NavGetHashListAck {
|
|
128
|
+
int32 pver = 1;
|
|
129
|
+
int32 subCmd = 2;
|
|
130
|
+
int32 totalFrame = 3;
|
|
131
|
+
int32 currentFrame = 4;
|
|
132
|
+
fixed64 dataHash = 5;
|
|
133
|
+
int32 hashLen = 6;
|
|
134
|
+
string reserved = 7;
|
|
135
|
+
int32 result = 8;
|
|
136
|
+
repeated int64 dataCouple = 13;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
message NavGetCommData {
|
|
140
|
+
int32 pver = 1;
|
|
141
|
+
int32 subCmd = 2;
|
|
142
|
+
int32 action = 3;
|
|
143
|
+
int32 type = 4;
|
|
144
|
+
int64 hash = 5;
|
|
145
|
+
int64 paternalHashA = 6;
|
|
146
|
+
int64 paternalHashB = 7;
|
|
147
|
+
int32 totalFrame = 8;
|
|
148
|
+
int32 currentFrame = 9;
|
|
149
|
+
fixed64 dataHash = 10;
|
|
150
|
+
string reserved = 11;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
message NavGetNameTime {
|
|
154
|
+
string name = 1;
|
|
155
|
+
fixed64 create_time = 2;
|
|
156
|
+
fixed64 modify_time = 3;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
message NavGetCommDataAck {
|
|
160
|
+
int32 pver = 1;
|
|
161
|
+
int32 subCmd = 2;
|
|
162
|
+
int32 result = 3;
|
|
163
|
+
int32 action = 4;
|
|
164
|
+
int32 type = 5;
|
|
165
|
+
fixed64 Hash = 6;
|
|
166
|
+
fixed64 paternalHashA = 7;
|
|
167
|
+
fixed64 paternalHashB = 8;
|
|
168
|
+
int32 totalFrame = 9;
|
|
169
|
+
int32 currentFrame = 10;
|
|
170
|
+
fixed64 dataHash = 11;
|
|
171
|
+
int32 dataLen = 12;
|
|
172
|
+
repeated CommDataCouple dataCouple = 13;
|
|
173
|
+
string reserved = 14;
|
|
174
|
+
NavGetNameTime nameTime = 15;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
message NavReqCoverPath {
|
|
178
|
+
int32 pver = 1;
|
|
179
|
+
fixed64 jobId = 2;
|
|
180
|
+
int32 jobVer = 3;
|
|
181
|
+
int32 jobMode = 4;
|
|
182
|
+
int32 subCmd = 5;
|
|
183
|
+
int32 edgeMode = 6;
|
|
184
|
+
int32 knifeHeight = 7;
|
|
185
|
+
int32 channelWidth = 8;
|
|
186
|
+
int32 UltraWave = 9;
|
|
187
|
+
int32 channelMode = 10;
|
|
188
|
+
int32 toward = 11;
|
|
189
|
+
float speed = 12;
|
|
190
|
+
repeated fixed64 zoneHashs = 13;
|
|
191
|
+
fixed64 pathHash = 14;
|
|
192
|
+
string reserved = 15;
|
|
193
|
+
int32 result = 16;
|
|
194
|
+
int32 toward_mode = 17;
|
|
195
|
+
int32 toward_included_angle = 18;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
message NavUploadZigZagResult {
|
|
199
|
+
int32 pver = 1;
|
|
200
|
+
fixed64 jobId = 2;
|
|
201
|
+
int32 jobVer = 3;
|
|
202
|
+
int32 result = 4;
|
|
203
|
+
int32 area = 5;
|
|
204
|
+
int32 time = 6;
|
|
205
|
+
int32 totalZoneNum = 7;
|
|
206
|
+
int32 currentZonePathNum = 8;
|
|
207
|
+
int32 currentZonePathId = 9;
|
|
208
|
+
int32 currentZone = 10;
|
|
209
|
+
fixed64 currentHash = 11;
|
|
210
|
+
int32 totalFrame = 12;
|
|
211
|
+
int32 currentFrame = 13;
|
|
212
|
+
int32 channelMode = 14;
|
|
213
|
+
int32 channelModeId = 15;
|
|
214
|
+
fixed64 dataHash = 16;
|
|
215
|
+
int32 dataLen = 17;
|
|
216
|
+
string reserved = 18;
|
|
217
|
+
repeated CommDataCouple dataCouple = 19;
|
|
218
|
+
int32 subCmd = 20;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
message NavUploadZigZagResultAck {
|
|
222
|
+
int32 pver = 1;
|
|
223
|
+
int32 currentZone = 2;
|
|
224
|
+
fixed64 currentHash = 3;
|
|
225
|
+
int32 totalFrame = 4;
|
|
226
|
+
int32 currentFrame = 5;
|
|
227
|
+
fixed64 dataHash = 6;
|
|
228
|
+
string reserved = 7;
|
|
229
|
+
int32 subCmd = 8;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
message NavTaskCtrl {
|
|
233
|
+
int32 type = 1;
|
|
234
|
+
int32 action = 2;
|
|
235
|
+
int32 result = 3;
|
|
236
|
+
string reserved = 4;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
message NavTaskIdRw {
|
|
240
|
+
int32 pver = 1;
|
|
241
|
+
int32 subCmd = 2;
|
|
242
|
+
string taskName = 3;
|
|
243
|
+
string taskId = 4;
|
|
244
|
+
int32 result = 5;
|
|
245
|
+
string reserved = 6;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
message NavSysHashOverview {
|
|
249
|
+
fixed64 commonhashOverview = 1;
|
|
250
|
+
fixed64 pathHashOverview = 2;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
message NavTaskBreakPoint {
|
|
254
|
+
float x = 1;
|
|
255
|
+
float y = 2;
|
|
256
|
+
int32 toward = 3;
|
|
257
|
+
int32 flag = 4;
|
|
258
|
+
int32 action = 5;
|
|
259
|
+
fixed64 zoneHash = 6;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
message NavPlanJobSet {
|
|
263
|
+
int32 pver = 1;
|
|
264
|
+
int32 subCmd = 2;
|
|
265
|
+
int32 area = 3;
|
|
266
|
+
int32 workTime = 4;
|
|
267
|
+
string version = 5;
|
|
268
|
+
string id = 6;
|
|
269
|
+
string userId = 7;
|
|
270
|
+
string deviceId = 8;
|
|
271
|
+
string planId = 9;
|
|
272
|
+
string taskId = 10;
|
|
273
|
+
string jobId = 11;
|
|
274
|
+
string startTime = 12;
|
|
275
|
+
string endTime = 13;
|
|
276
|
+
int32 week = 14;
|
|
277
|
+
int32 knifeHeight = 15;
|
|
278
|
+
int32 model = 16;
|
|
279
|
+
int32 edgeMode = 17;
|
|
280
|
+
int32 requiredTime = 18;
|
|
281
|
+
int32 routeAngle = 19;
|
|
282
|
+
int32 routeModel = 20;
|
|
283
|
+
int32 routeSpacing = 21;
|
|
284
|
+
int32 ultrasonicBarrier = 22;
|
|
285
|
+
int32 totalPlanNum = 23;
|
|
286
|
+
int32 PlanIndex = 24;
|
|
287
|
+
int32 result = 25;
|
|
288
|
+
float speed = 26;
|
|
289
|
+
string taskName = 27;
|
|
290
|
+
string jobName = 28;
|
|
291
|
+
repeated fixed64 zoneHashs = 29;
|
|
292
|
+
string reserved = 30;
|
|
293
|
+
string startDate = 31;
|
|
294
|
+
string endDate = 32;
|
|
295
|
+
int32 triggerType = 33;
|
|
296
|
+
int32 day = 34;
|
|
297
|
+
repeated fixed32 weeks = 35;
|
|
298
|
+
int64 remained_seconds = 36;
|
|
299
|
+
int32 towardMode = 37;
|
|
300
|
+
int32 towardIncludedAngle = 38;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
message NavUnableTimeSet {
|
|
304
|
+
int32 subCmd = 1;
|
|
305
|
+
string deviceId = 2;
|
|
306
|
+
string unableStartTime = 3;
|
|
307
|
+
string unableEndTime = 4;
|
|
308
|
+
int32 result = 5;
|
|
309
|
+
string reserved = 6;
|
|
310
|
+
int32 trigger = 7;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
message chargePileType {
|
|
314
|
+
int32 toward = 1;
|
|
315
|
+
float x = 2;
|
|
316
|
+
float y = 3;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
message SimulationCmdData {
|
|
320
|
+
int32 subCmd = 1;
|
|
321
|
+
int32 param_id = 2;
|
|
322
|
+
repeated int32 param_value = 3;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
message WorkReportUpdateCmd {
|
|
326
|
+
int32 subCmd = 1;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
message WorkReportUpdateAck {
|
|
330
|
+
bool update_flag = 1;
|
|
331
|
+
int32 info_num = 2;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
message WorkReportCmdData {
|
|
335
|
+
int32 subCmd = 1;
|
|
336
|
+
int32 getInfoNum = 2;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
message WorkReportInfoAck {
|
|
340
|
+
bool interrupt_flag = 1;
|
|
341
|
+
int64 start_work_time = 2;
|
|
342
|
+
int64 end_work_time = 3;
|
|
343
|
+
int32 work_time_used = 4;
|
|
344
|
+
double work_ares = 5;
|
|
345
|
+
int32 work_progress = 6;
|
|
346
|
+
int32 height_of_knife = 7;
|
|
347
|
+
int32 work_type = 8;
|
|
348
|
+
int32 work_result = 9;
|
|
349
|
+
int32 total_ack_num = 10;
|
|
350
|
+
int32 current_ack_num = 11;
|
|
351
|
+
int32 job_content = 12;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
message app_request_cover_paths_t {
|
|
355
|
+
int32 pver = 1;
|
|
356
|
+
int32 subCmd = 2;
|
|
357
|
+
int32 totalFrame = 3;
|
|
358
|
+
int32 currentFrame = 4;
|
|
359
|
+
fixed64 dataHash = 5;
|
|
360
|
+
int64 transaction_id = 6;
|
|
361
|
+
repeated int64 reserved = 7;
|
|
362
|
+
repeated fixed64 hash_list = 8;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
message cover_path_packet_t {
|
|
366
|
+
fixed64 path_hash = 1;
|
|
367
|
+
int32 path_type = 2;
|
|
368
|
+
int32 path_total = 3;
|
|
369
|
+
int32 path_cur = 4;
|
|
370
|
+
fixed64 zone_hash = 5;
|
|
371
|
+
repeated CommDataCouple dataCouple = 6;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
message cover_path_upload_t {
|
|
375
|
+
int32 pver = 1;
|
|
376
|
+
int32 result = 2;
|
|
377
|
+
int32 subCmd = 3;
|
|
378
|
+
int32 area = 4;
|
|
379
|
+
int32 time = 5;
|
|
380
|
+
int32 totalFrame = 6;
|
|
381
|
+
int32 currentFrame = 7;
|
|
382
|
+
int32 total_path_num = 8;
|
|
383
|
+
int32 valid_path_num = 9;
|
|
384
|
+
fixed64 dataHash = 10;
|
|
385
|
+
int64 transaction_id = 11;
|
|
386
|
+
repeated int64 reserved = 12;
|
|
387
|
+
int32 dataLen = 13;
|
|
388
|
+
repeated cover_path_packet_t path_packets = 14;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
message zone_start_precent_t {
|
|
392
|
+
fixed64 dataHash = 1;
|
|
393
|
+
float x = 2;
|
|
394
|
+
float y = 3;
|
|
395
|
+
int32 index = 4;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
message vision_ctrl_msg {
|
|
399
|
+
int32 type = 1;
|
|
400
|
+
int32 cmd = 2;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
message nav_sys_param_msg {
|
|
404
|
+
int32 rw = 1;
|
|
405
|
+
int32 id = 2;
|
|
406
|
+
int32 context = 3;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
message nav_plan_task_execute {
|
|
410
|
+
int32 subCmd = 1;
|
|
411
|
+
string id = 2;
|
|
412
|
+
string name = 3;
|
|
413
|
+
int32 result = 4;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
message costmap_t {
|
|
417
|
+
int32 width = 1;
|
|
418
|
+
int32 height = 2;
|
|
419
|
+
float center_x = 3;
|
|
420
|
+
float center_y = 4;
|
|
421
|
+
float yaw = 5;
|
|
422
|
+
float res = 6;
|
|
423
|
+
repeated int32 costmap = 7;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
message svg_message_t {
|
|
427
|
+
double x_move = 1;
|
|
428
|
+
double y_move = 2;
|
|
429
|
+
double scale = 3;
|
|
430
|
+
double rotate = 4;
|
|
431
|
+
double base_width_m = 5;
|
|
432
|
+
double base_height_m = 6;
|
|
433
|
+
int32 base_width_pix = 7;
|
|
434
|
+
int32 base_height_pix = 8;
|
|
435
|
+
string svg_file_name = 9;
|
|
436
|
+
string svg_file_data = 10;
|
|
437
|
+
int32 name_count = 11;
|
|
438
|
+
int32 data_count = 12;
|
|
439
|
+
bool hide_svg = 13;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
message svg_message_ack_t {
|
|
443
|
+
int32 pver = 1;
|
|
444
|
+
int32 subCmd = 2;
|
|
445
|
+
int32 totalFrame = 3;
|
|
446
|
+
int32 currentFrame = 4;
|
|
447
|
+
fixed64 dataHash = 5;
|
|
448
|
+
fixed64 paternalHashA = 6;
|
|
449
|
+
int32 type = 7;
|
|
450
|
+
int32 result = 8;
|
|
451
|
+
svg_message_t svg_message = 9;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
message plan_task_name_id_t {
|
|
455
|
+
string id = 1;
|
|
456
|
+
string name = 2;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
message nav_get_all_plan_task {
|
|
460
|
+
repeated plan_task_name_id_t tasks = 1;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
message area_hash_name {
|
|
464
|
+
fixed64 hash = 1;
|
|
465
|
+
string name = 2;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
message AppGetAllAreaHashName {
|
|
469
|
+
string deviceId = 1;
|
|
470
|
+
repeated area_hash_name hashnames = 2;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
message NavTaskCtrlAck {
|
|
474
|
+
int32 type = 1;
|
|
475
|
+
int32 action = 2;
|
|
476
|
+
int32 result = 3;
|
|
477
|
+
int32 nav_state = 4;
|
|
478
|
+
string reserved = 5;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
message NavMapNameMsg {
|
|
482
|
+
int32 rw = 1;
|
|
483
|
+
fixed64 hash = 2;
|
|
484
|
+
string name = 3;
|
|
485
|
+
int32 result = 4;
|
|
486
|
+
string deviceId = 5;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
message NavEdgePoints {
|
|
490
|
+
int32 result = 1;
|
|
491
|
+
int32 action = 2;
|
|
492
|
+
int32 type = 3;
|
|
493
|
+
fixed64 Hash = 4;
|
|
494
|
+
int32 totalFrame = 5;
|
|
495
|
+
int32 currentFrame = 6;
|
|
496
|
+
repeated CommDataCouple dataCouple = 7;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
message NavEdgePointsAck {
|
|
500
|
+
int32 result = 1;
|
|
501
|
+
int32 action = 2;
|
|
502
|
+
int32 type = 3;
|
|
503
|
+
fixed64 Hash = 4;
|
|
504
|
+
int32 totalFrame = 5;
|
|
505
|
+
int32 currentFrame = 6;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
message ManualElementMessage {
|
|
509
|
+
int32 pver = 1;
|
|
510
|
+
int32 type = 2;
|
|
511
|
+
int32 shape = 3;
|
|
512
|
+
int32 result = 4;
|
|
513
|
+
int32 subCmd = 5;
|
|
514
|
+
fixed64 dataHash = 6;
|
|
515
|
+
bool ifHide = 7;
|
|
516
|
+
string reserved = 8;
|
|
517
|
+
double point1_center_x = 9;
|
|
518
|
+
double point1_center_y = 10;
|
|
519
|
+
double point2_width_x = 11;
|
|
520
|
+
double point2_height_y = 12;
|
|
521
|
+
double rotate_radius = 13;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
message MctlNav {
|
|
525
|
+
oneof SubNavMsg {
|
|
526
|
+
NavLatLonUp toapp_lat_up = 1;
|
|
527
|
+
NavPosUp toapp_pos_up = 2;
|
|
528
|
+
NavCHlLineData todev_chl_line_data = 3;
|
|
529
|
+
NavTaskInfo toapp_task_info = 4;
|
|
530
|
+
NavOptLineUp toapp_opt_line_up = 5;
|
|
531
|
+
NavOptiBorderInfo toapp_opt_border_info = 6;
|
|
532
|
+
NavOptObsInfo toapp_opt_obs_info = 7;
|
|
533
|
+
NavResFrame todev_task_info_ack = 8;
|
|
534
|
+
NavResFrame todev_opt_border_info_ack = 9;
|
|
535
|
+
NavResFrame todev_opt_obs_info_ack = 10;
|
|
536
|
+
NavResFrame todev_opt_line_up_ack = 11;
|
|
537
|
+
chargePileType toapp_chgpileto = 12;
|
|
538
|
+
int32 todev_sustask = 13;
|
|
539
|
+
int32 todev_rechgcmd = 14;
|
|
540
|
+
int32 todev_edgecmd = 15;
|
|
541
|
+
int32 todev_draw_border = 16;
|
|
542
|
+
int32 todev_draw_border_end = 17;
|
|
543
|
+
int32 todev_draw_obs = 18;
|
|
544
|
+
int32 todev_draw_obs_end = 19;
|
|
545
|
+
int32 todev_chl_line = 20;
|
|
546
|
+
int32 todev_chl_line_end = 21;
|
|
547
|
+
int32 todev_save_task = 22;
|
|
548
|
+
int32 todev_cancel_suscmd = 23;
|
|
549
|
+
int32 todev_reset_chg_pile = 24;
|
|
550
|
+
int32 todev_cancel_draw_cmd = 25;
|
|
551
|
+
int32 todev_one_touch_leave_pile = 26;
|
|
552
|
+
NavStartJob todev_mow_task = 27;
|
|
553
|
+
NavBorderState toapp_bstate = 28;
|
|
554
|
+
int32 todev_lat_up_ack = 29;
|
|
555
|
+
NavGetHashList todev_gethash = 30;
|
|
556
|
+
NavGetHashListAck toapp_gethash_ack = 31;
|
|
557
|
+
NavGetCommData todev_get_commondata = 32;
|
|
558
|
+
NavGetCommDataAck toapp_get_commondata_ack = 33;
|
|
559
|
+
NavReqCoverPath bidire_reqconver_path = 34;
|
|
560
|
+
NavUploadZigZagResult toapp_zigzag = 35;
|
|
561
|
+
NavUploadZigZagResultAck todev_zigzag_ack = 36;
|
|
562
|
+
NavTaskCtrl todev_taskctrl = 37;
|
|
563
|
+
NavTaskIdRw bidire_taskid = 38;
|
|
564
|
+
NavTaskBreakPoint toapp_bp = 39;
|
|
565
|
+
NavPlanJobSet todev_planjob_set = 40;
|
|
566
|
+
NavUnableTimeSet todev_unable_time_set = 41;
|
|
567
|
+
SimulationCmdData simulation_cmd = 42;
|
|
568
|
+
WorkReportUpdateCmd todev_work_report_update_cmd = 43;
|
|
569
|
+
WorkReportUpdateAck toapp_work_report_update_ack = 44;
|
|
570
|
+
WorkReportCmdData todev_work_report_cmd = 45;
|
|
571
|
+
WorkReportInfoAck toapp_work_report_ack = 46;
|
|
572
|
+
WorkReportInfoAck toapp_work_report_upload = 47;
|
|
573
|
+
app_request_cover_paths_t app_request_cover_paths = 48;
|
|
574
|
+
cover_path_upload_t cover_path_upload = 49;
|
|
575
|
+
zone_start_precent_t zone_start_precent = 50;
|
|
576
|
+
vision_ctrl_msg vision_ctrl = 51;
|
|
577
|
+
nav_sys_param_msg nav_sys_param_cmd = 52;
|
|
578
|
+
nav_plan_task_execute plan_task_execute = 53;
|
|
579
|
+
costmap_t toapp_costmap = 54;
|
|
580
|
+
plan_task_name_id_t plan_task_name_id = 55;
|
|
581
|
+
nav_get_all_plan_task all_plan_task = 56;
|
|
582
|
+
NavTaskCtrlAck todev_taskctrl_ack = 57;
|
|
583
|
+
NavMapNameMsg toapp_map_name_msg = 58;
|
|
584
|
+
svg_message_ack_t todev_svg_msg = 59;
|
|
585
|
+
svg_message_ack_t toapp_svg_msg = 60;
|
|
586
|
+
AppGetAllAreaHashName toapp_all_hash_name = 61;
|
|
587
|
+
NavEdgePoints toapp_edge_points = 62;
|
|
588
|
+
NavEdgePointsAck toapp_edge_points_ack = 63;
|
|
589
|
+
ManualElementMessage toapp_manual_element = 64;
|
|
590
|
+
}
|
|
591
|
+
}
|