@flightpath/flightpath 0.0.3 → 0.0.4
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.
|
@@ -70,7 +70,7 @@ export const SubscribeRawGpsResponseSchema: GenMessage<SubscribeRawGpsResponse>
|
|
|
70
70
|
messageDesc(file_flightpath_gps_raw_int, 1);
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
* GpsRawInt represents the GPS_RAW_INT MAVLink message
|
|
73
|
+
* GpsRawInt represents the GPS_RAW_INT (24) MAVLink message
|
|
74
74
|
* The global position, as returned by the Global Positioning System (GPS).
|
|
75
75
|
* This is NOT the global position estimate of the system, but rather a RAW sensor value.
|
|
76
76
|
*
|
|
@@ -66,6 +66,8 @@ export const SubscribeHeartbeatResponseSchema: GenMessage<SubscribeHeartbeatResp
|
|
|
66
66
|
messageDesc(file_flightpath_heartbeat, 1);
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
+
* Heartbeat represents the HEARTBEAT (0) MAVLink message
|
|
70
|
+
*
|
|
69
71
|
* @generated from message flightpath.Heartbeat
|
|
70
72
|
*/
|
|
71
73
|
export type Heartbeat = Message<"flightpath.Heartbeat"> & {
|
|
@@ -0,0 +1,446 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file flightpath/sys_status.proto (package flightpath, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file flightpath/sys_status.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_flightpath_sys_status: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("Cht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gIMnkKEFN5c1N0YXR1c1NlcnZpY2USZQoSU3Vic2NyaWJlU3lzU3RhdHVzEiUuZmxpZ2h0cGF0aC5TdWJzY3JpYmVTeXNTdGF0dXNSZXF1ZXN0GiYuZmxpZ2h0cGF0aC5TdWJzY3JpYmVTeXNTdGF0dXNSZXNwb25zZTABQmgKDmNvbS5mbGlnaHRwYXRoQg5TeXNTdGF0dXNQcm90b1ABogIDRlhYqgIKRmxpZ2h0cGF0aMoCCkZsaWdodHBhdGjiAhZGbGlnaHRwYXRoXEdQQk1ldGFkYXRh6gIKRmxpZ2h0cGF0aGIGcHJvdG8z");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* SubscribeSysStatusRequest is the request message for SubscribeSysStatus
|
|
17
|
+
*
|
|
18
|
+
* @generated from message flightpath.SubscribeSysStatusRequest
|
|
19
|
+
*/
|
|
20
|
+
export type SubscribeSysStatusRequest = Message<"flightpath.SubscribeSysStatusRequest"> & {
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message flightpath.SubscribeSysStatusRequest.
|
|
25
|
+
* Use `create(SubscribeSysStatusRequestSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const SubscribeSysStatusRequestSchema: GenMessage<SubscribeSysStatusRequest> = /*@__PURE__*/
|
|
28
|
+
messageDesc(file_flightpath_sys_status, 0);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* SubscribeSysStatusResponse contains SYS_STATUS message data
|
|
32
|
+
*
|
|
33
|
+
* @generated from message flightpath.SubscribeSysStatusResponse
|
|
34
|
+
*/
|
|
35
|
+
export type SubscribeSysStatusResponse = Message<"flightpath.SubscribeSysStatusResponse"> & {
|
|
36
|
+
/**
|
|
37
|
+
* Timestamp when this system status data was captured (milliseconds since Unix epoch)
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: int64 timestamp_ms = 1;
|
|
40
|
+
*/
|
|
41
|
+
timestampMs: bigint;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* System ID of the component sending the system status
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: uint32 system_id = 2;
|
|
47
|
+
*/
|
|
48
|
+
systemId: number;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Component ID of the component sending the system status
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: uint32 component_id = 3;
|
|
54
|
+
*/
|
|
55
|
+
componentId: number;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* SYS_STATUS message data
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: flightpath.SysStatus sys_status = 4;
|
|
61
|
+
*/
|
|
62
|
+
sysStatus?: SysStatus;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message flightpath.SubscribeSysStatusResponse.
|
|
67
|
+
* Use `create(SubscribeSysStatusResponseSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const SubscribeSysStatusResponseSchema: GenMessage<SubscribeSysStatusResponse> = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_flightpath_sys_status, 1);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* SysStatus represents the SYS_STATUS (1) MAVLink message
|
|
74
|
+
* Sensor and subsystem status information. Provides a compact representation of
|
|
75
|
+
* sensor/subsystem status and a few other basic statistics.
|
|
76
|
+
*
|
|
77
|
+
* @generated from message flightpath.SysStatus
|
|
78
|
+
*/
|
|
79
|
+
export type SysStatus = Message<"flightpath.SysStatus"> & {
|
|
80
|
+
/**
|
|
81
|
+
* Bitmap showing which onboard controllers and sensors are present.
|
|
82
|
+
* Value of 0: not present. Value of 1: present.
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: flightpath.MavSysStatusSensor onboard_control_sensors_present = 1;
|
|
85
|
+
*/
|
|
86
|
+
onboardControlSensorsPresent?: MavSysStatusSensor;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Bitmap showing which onboard controllers and sensors are enabled.
|
|
90
|
+
* Value of 0: not enabled. Value of 1: enabled.
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: flightpath.MavSysStatusSensor onboard_control_sensors_enabled = 2;
|
|
93
|
+
*/
|
|
94
|
+
onboardControlSensorsEnabled?: MavSysStatusSensor;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Bitmap showing which onboard controllers and sensors have an error (or are operational).
|
|
98
|
+
* Value of 0: error. Value of 1: healthy.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: flightpath.MavSysStatusSensor onboard_control_sensors_health = 3;
|
|
101
|
+
*/
|
|
102
|
+
onboardControlSensorsHealth?: MavSysStatusSensor;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Maximum usage in percent of the mainloop time.
|
|
106
|
+
* Values: [0-1000] - should always be below 1000
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: uint32 load = 4;
|
|
109
|
+
*/
|
|
110
|
+
load: number;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Battery voltage in millivolts.
|
|
114
|
+
* UINT16_MAX (65535): Voltage not sent by autopilot
|
|
115
|
+
*
|
|
116
|
+
* @generated from field: uint32 voltage_battery = 5;
|
|
117
|
+
*/
|
|
118
|
+
voltageBattery: number;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Battery current in centiamperes (cA).
|
|
122
|
+
* -1: Current not sent by autopilot
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: int32 current_battery = 6;
|
|
125
|
+
*/
|
|
126
|
+
currentBattery: number;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Battery energy remaining in percent.
|
|
130
|
+
* -1: Battery remaining energy not sent by autopilot
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: int32 battery_remaining = 7;
|
|
133
|
+
*/
|
|
134
|
+
batteryRemaining: number;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Communication drop rate in centipercent (c%).
|
|
138
|
+
* Dropped packets on all links (packets that were corrupted on reception on the MAV).
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: uint32 drop_rate_comm = 8;
|
|
141
|
+
*/
|
|
142
|
+
dropRateComm: number;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Communication errors (UART, I2C, SPI, CAN).
|
|
146
|
+
* Dropped packets on all links (packets that were corrupted on reception on the MAV).
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: uint32 errors_comm = 9;
|
|
149
|
+
*/
|
|
150
|
+
errorsComm: number;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Autopilot-specific errors
|
|
154
|
+
*
|
|
155
|
+
* @generated from field: uint32 errors_count1 = 10;
|
|
156
|
+
*/
|
|
157
|
+
errorsCount1: number;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Autopilot-specific errors
|
|
161
|
+
*
|
|
162
|
+
* @generated from field: uint32 errors_count2 = 11;
|
|
163
|
+
*/
|
|
164
|
+
errorsCount2: number;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Autopilot-specific errors
|
|
168
|
+
*
|
|
169
|
+
* @generated from field: uint32 errors_count3 = 12;
|
|
170
|
+
*/
|
|
171
|
+
errorsCount3: number;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Autopilot-specific errors
|
|
175
|
+
*
|
|
176
|
+
* @generated from field: uint32 errors_count4 = 13;
|
|
177
|
+
*/
|
|
178
|
+
errorsCount4: number;
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Describes the message flightpath.SysStatus.
|
|
183
|
+
* Use `create(SysStatusSchema)` to create a new message.
|
|
184
|
+
*/
|
|
185
|
+
export const SysStatusSchema: GenMessage<SysStatus> = /*@__PURE__*/
|
|
186
|
+
messageDesc(file_flightpath_sys_status, 2);
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* MavSysStatusSensor represents the MAV_SYS_STATUS_SENSOR bitfield as structured boolean flags.
|
|
190
|
+
* Bits are ordered from least significant (bit 0) to most significant (bit 31),
|
|
191
|
+
* matching https://mavlink.io/en/messages/common.html#MAV_SYS_STATUS_SENSOR.
|
|
192
|
+
*
|
|
193
|
+
* @generated from message flightpath.MavSysStatusSensor
|
|
194
|
+
*/
|
|
195
|
+
export type MavSysStatusSensor = Message<"flightpath.MavSysStatusSensor"> & {
|
|
196
|
+
/**
|
|
197
|
+
* Bit 0 (0x01): 3D gyro
|
|
198
|
+
*
|
|
199
|
+
* @generated from field: bool sensor_3d_gyro = 1;
|
|
200
|
+
*/
|
|
201
|
+
sensor3dGyro: boolean;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Bit 1 (0x02): 3D accelerometer
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: bool sensor_3d_accel = 2;
|
|
207
|
+
*/
|
|
208
|
+
sensor3dAccel: boolean;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Bit 2 (0x04): 3D magnetometer
|
|
212
|
+
*
|
|
213
|
+
* @generated from field: bool sensor_3d_mag = 3;
|
|
214
|
+
*/
|
|
215
|
+
sensor3dMag: boolean;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Bit 3 (0x08): absolute pressure
|
|
219
|
+
*
|
|
220
|
+
* @generated from field: bool sensor_absolute_pressure = 4;
|
|
221
|
+
*/
|
|
222
|
+
sensorAbsolutePressure: boolean;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Bit 4 (0x10): differential pressure
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: bool sensor_differential_pressure = 5;
|
|
228
|
+
*/
|
|
229
|
+
sensorDifferentialPressure: boolean;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Bit 5 (0x20): GPS
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: bool sensor_gps = 6;
|
|
235
|
+
*/
|
|
236
|
+
sensorGps: boolean;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Bit 6 (0x40): optical flow
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: bool sensor_optical_flow = 7;
|
|
242
|
+
*/
|
|
243
|
+
sensorOpticalFlow: boolean;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Bit 7 (0x80): computer vision position
|
|
247
|
+
*
|
|
248
|
+
* @generated from field: bool sensor_vision_position = 8;
|
|
249
|
+
*/
|
|
250
|
+
sensorVisionPosition: boolean;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* Bit 8 (0x100): laser based position
|
|
254
|
+
*
|
|
255
|
+
* @generated from field: bool sensor_laser_position = 9;
|
|
256
|
+
*/
|
|
257
|
+
sensorLaserPosition: boolean;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Bit 9 (0x200): external ground truth (Vicon or Leica)
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: bool sensor_external_ground_truth = 10;
|
|
263
|
+
*/
|
|
264
|
+
sensorExternalGroundTruth: boolean;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Bit 10 (0x400): 3D angular rate control
|
|
268
|
+
*
|
|
269
|
+
* @generated from field: bool sensor_angular_rate_control = 11;
|
|
270
|
+
*/
|
|
271
|
+
sensorAngularRateControl: boolean;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Bit 11 (0x800): attitude stabilization
|
|
275
|
+
*
|
|
276
|
+
* @generated from field: bool sensor_attitude_stabilization = 12;
|
|
277
|
+
*/
|
|
278
|
+
sensorAttitudeStabilization: boolean;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Bit 12 (0x1000): yaw position
|
|
282
|
+
*
|
|
283
|
+
* @generated from field: bool sensor_yaw_position = 13;
|
|
284
|
+
*/
|
|
285
|
+
sensorYawPosition: boolean;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Bit 13 (0x2000): z/altitude control
|
|
289
|
+
*
|
|
290
|
+
* @generated from field: bool sensor_z_altitude_control = 14;
|
|
291
|
+
*/
|
|
292
|
+
sensorZAltitudeControl: boolean;
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Bit 14 (0x4000): x/y position control
|
|
296
|
+
*
|
|
297
|
+
* @generated from field: bool sensor_xy_position_control = 15;
|
|
298
|
+
*/
|
|
299
|
+
sensorXyPositionControl: boolean;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Bit 15 (0x8000): motor outputs / control
|
|
303
|
+
*
|
|
304
|
+
* @generated from field: bool sensor_motor_outputs = 16;
|
|
305
|
+
*/
|
|
306
|
+
sensorMotorOutputs: boolean;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Bit 16 (0x10000): rc receiver
|
|
310
|
+
*
|
|
311
|
+
* @generated from field: bool sensor_rc_receiver = 17;
|
|
312
|
+
*/
|
|
313
|
+
sensorRcReceiver: boolean;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Bit 17 (0x20000): 2nd 3D gyro
|
|
317
|
+
*
|
|
318
|
+
* @generated from field: bool sensor_3d_gyro2 = 18;
|
|
319
|
+
*/
|
|
320
|
+
sensor3dGyro2: boolean;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Bit 18 (0x40000): 2nd 3D accelerometer
|
|
324
|
+
*
|
|
325
|
+
* @generated from field: bool sensor_3d_accel2 = 19;
|
|
326
|
+
*/
|
|
327
|
+
sensor3dAccel2: boolean;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Bit 19 (0x80000): 2nd 3D magnetometer
|
|
331
|
+
*
|
|
332
|
+
* @generated from field: bool sensor_3d_mag2 = 20;
|
|
333
|
+
*/
|
|
334
|
+
sensor3dMag2: boolean;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Bit 20 (0x100000): geofence
|
|
338
|
+
*
|
|
339
|
+
* @generated from field: bool sensor_geofence = 21;
|
|
340
|
+
*/
|
|
341
|
+
sensorGeofence: boolean;
|
|
342
|
+
|
|
343
|
+
/**
|
|
344
|
+
* Bit 21 (0x200000): AHRS subsystem health
|
|
345
|
+
*
|
|
346
|
+
* @generated from field: bool sensor_ahrs = 22;
|
|
347
|
+
*/
|
|
348
|
+
sensorAhrs: boolean;
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Bit 22 (0x400000): Terrain subsystem health
|
|
352
|
+
*
|
|
353
|
+
* @generated from field: bool sensor_terrain = 23;
|
|
354
|
+
*/
|
|
355
|
+
sensorTerrain: boolean;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Bit 23 (0x800000): Motors are reversed
|
|
359
|
+
*
|
|
360
|
+
* @generated from field: bool sensor_reverse_motor = 24;
|
|
361
|
+
*/
|
|
362
|
+
sensorReverseMotor: boolean;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Bit 24 (0x1000000): Logging
|
|
366
|
+
*
|
|
367
|
+
* @generated from field: bool sensor_logging = 25;
|
|
368
|
+
*/
|
|
369
|
+
sensorLogging: boolean;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Bit 25 (0x2000000): Battery
|
|
373
|
+
*
|
|
374
|
+
* @generated from field: bool sensor_battery = 26;
|
|
375
|
+
*/
|
|
376
|
+
sensorBattery: boolean;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Bit 26 (0x4000000): Proximity
|
|
380
|
+
*
|
|
381
|
+
* @generated from field: bool sensor_proximity = 27;
|
|
382
|
+
*/
|
|
383
|
+
sensorProximity: boolean;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Bit 27 (0x8000000): Satellite Communication
|
|
387
|
+
*
|
|
388
|
+
* @generated from field: bool sensor_satcom = 28;
|
|
389
|
+
*/
|
|
390
|
+
sensorSatcom: boolean;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* Bit 28 (0x10000000): pre-arm check status. Always healthy when armed
|
|
394
|
+
*
|
|
395
|
+
* @generated from field: bool sensor_prearm_check = 29;
|
|
396
|
+
*/
|
|
397
|
+
sensorPrearmCheck: boolean;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Bit 29 (0x20000000): Avoidance/collision prevention
|
|
401
|
+
*
|
|
402
|
+
* @generated from field: bool sensor_obstacle_avoidance = 30;
|
|
403
|
+
*/
|
|
404
|
+
sensorObstacleAvoidance: boolean;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Bit 30 (0x40000000): propulsion (actuator, esc, motor or propellor)
|
|
408
|
+
*
|
|
409
|
+
* @generated from field: bool sensor_propulsion = 31;
|
|
410
|
+
*/
|
|
411
|
+
sensorPropulsion: boolean;
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Bit 31 (0x80000000): Extension used (extended sensor status is present)
|
|
415
|
+
*
|
|
416
|
+
* @generated from field: bool extension_used = 32;
|
|
417
|
+
*/
|
|
418
|
+
extensionUsed: boolean;
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Describes the message flightpath.MavSysStatusSensor.
|
|
423
|
+
* Use `create(MavSysStatusSensorSchema)` to create a new message.
|
|
424
|
+
*/
|
|
425
|
+
export const MavSysStatusSensorSchema: GenMessage<MavSysStatusSensor> = /*@__PURE__*/
|
|
426
|
+
messageDesc(file_flightpath_sys_status, 3);
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* SysStatusService handles SYS_STATUS messages from the drone
|
|
430
|
+
*
|
|
431
|
+
* @generated from service flightpath.SysStatusService
|
|
432
|
+
*/
|
|
433
|
+
export const SysStatusService: GenService<{
|
|
434
|
+
/**
|
|
435
|
+
* Subscribe to SYS_STATUS messages from the drone
|
|
436
|
+
*
|
|
437
|
+
* @generated from rpc flightpath.SysStatusService.SubscribeSysStatus
|
|
438
|
+
*/
|
|
439
|
+
subscribeSysStatus: {
|
|
440
|
+
methodKind: "server_streaming";
|
|
441
|
+
input: typeof SubscribeSysStatusRequestSchema;
|
|
442
|
+
output: typeof SubscribeSysStatusResponseSchema;
|
|
443
|
+
},
|
|
444
|
+
}> = /*@__PURE__*/
|
|
445
|
+
serviceDesc(file_flightpath_sys_status, 0);
|
|
446
|
+
|