@flightpath/flightpath 0.0.4 → 0.0.5
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.
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file flightpath/extended_sys_state.proto (package flightpath, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file flightpath/extended_sys_state.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_flightpath_extended_sys_state: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("CiNmbGlnaHRwYXRoL2V4dGVuZGVkX3N5c19zdGF0ZS5wcm90bxIKZmxpZ2h0cGF0aCIiCiBTdWJzY3JpYmVFeHRlbmRlZFN5c1N0YXRlUmVxdWVzdCKcAQohU3Vic2NyaWJlRXh0ZW5kZWRTeXNTdGF0ZVJlc3BvbnNlEhQKDHRpbWVzdGFtcF9tcxgBIAEoAxIRCglzeXN0ZW1faWQYAiABKA0SFAoMY29tcG9uZW50X2lkGAMgASgNEjgKEmV4dGVuZGVkX3N5c19zdGF0ZRgEIAEoCzIcLmZsaWdodHBhdGguRXh0ZW5kZWRTeXNTdGF0ZSJyChBFeHRlbmRlZFN5c1N0YXRlEiwKCnZ0b2xfc3RhdGUYASABKA4yGC5mbGlnaHRwYXRoLk1hdlZ0b2xTdGF0ZRIwCgxsYW5kZWRfc3RhdGUYAiABKA4yGi5mbGlnaHRwYXRoLk1hdkxhbmRlZFN0YXRlKqYBCgxNYXZWdG9sU3RhdGUSHgoaTUFWX1ZUT0xfU1RBVEVfVU5TUEVDSUZJRUQQABIjCh9NQVZfVlRPTF9TVEFURV9UUkFOU0lUSU9OX1RPX0ZXEAESIwofTUFWX1ZUT0xfU1RBVEVfVFJBTlNJVElPTl9UT19NQxACEhUKEU1BVl9WVE9MX1NUQVRFX01DEAMSFQoRTUFWX1ZUT0xfU1RBVEVfRlcQBCqrAQoOTWF2TGFuZGVkU3RhdGUSIAocTUFWX0xBTkRFRF9TVEFURV9VTlNQRUNJRklFRBAAEh4KGk1BVl9MQU5ERURfU1RBVEVfT05fR1JPVU5EEAESGwoXTUFWX0xBTkRFRF9TVEFURV9JTl9BSVIQAhIcChhNQVZfTEFOREVEX1NUQVRFX1RBS0VPRkYQAxIcChhNQVZfTEFOREVEX1NUQVRFX0xBTkRJTkcQBDKVAQoXRXh0ZW5kZWRTeXNTdGF0ZVNlcnZpY2USegoZU3Vic2NyaWJlRXh0ZW5kZWRTeXNTdGF0ZRIsLmZsaWdodHBhdGguU3Vic2NyaWJlRXh0ZW5kZWRTeXNTdGF0ZVJlcXVlc3QaLS5mbGlnaHRwYXRoLlN1YnNjcmliZUV4dGVuZGVkU3lzU3RhdGVSZXNwb25zZTABQm8KDmNvbS5mbGlnaHRwYXRoQhVFeHRlbmRlZFN5c1N0YXRlUHJvdG9QAaICA0ZYWKoCCkZsaWdodHBhdGjKAgpGbGlnaHRwYXRo4gIWRmxpZ2h0cGF0aFxHUEJNZXRhZGF0YeoCCkZsaWdodHBhdGhiBnByb3RvMw");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* SubscribeExtendedSysStateRequest is the request message for SubscribeExtendedSysState
|
|
17
|
+
*
|
|
18
|
+
* @generated from message flightpath.SubscribeExtendedSysStateRequest
|
|
19
|
+
*/
|
|
20
|
+
export type SubscribeExtendedSysStateRequest = Message<"flightpath.SubscribeExtendedSysStateRequest"> & {
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message flightpath.SubscribeExtendedSysStateRequest.
|
|
25
|
+
* Use `create(SubscribeExtendedSysStateRequestSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const SubscribeExtendedSysStateRequestSchema: GenMessage<SubscribeExtendedSysStateRequest> = /*@__PURE__*/
|
|
28
|
+
messageDesc(file_flightpath_extended_sys_state, 0);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* SubscribeExtendedSysStateResponse contains EXTENDED_SYS_STATE message data
|
|
32
|
+
*
|
|
33
|
+
* @generated from message flightpath.SubscribeExtendedSysStateResponse
|
|
34
|
+
*/
|
|
35
|
+
export type SubscribeExtendedSysStateResponse = Message<"flightpath.SubscribeExtendedSysStateResponse"> & {
|
|
36
|
+
/**
|
|
37
|
+
* Timestamp when this extended system state 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 extended system state
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: uint32 system_id = 2;
|
|
47
|
+
*/
|
|
48
|
+
systemId: number;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Component ID of the component sending the extended system state
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: uint32 component_id = 3;
|
|
54
|
+
*/
|
|
55
|
+
componentId: number;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* EXTENDED_SYS_STATE message data
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: flightpath.ExtendedSysState extended_sys_state = 4;
|
|
61
|
+
*/
|
|
62
|
+
extendedSysState?: ExtendedSysState;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message flightpath.SubscribeExtendedSysStateResponse.
|
|
67
|
+
* Use `create(SubscribeExtendedSysStateResponseSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const SubscribeExtendedSysStateResponseSchema: GenMessage<SubscribeExtendedSysStateResponse> = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_flightpath_extended_sys_state, 1);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* ExtendedSysState represents the EXTENDED_SYS_STATE (245) MAVLink message
|
|
74
|
+
* Provides state for additional features including VTOL operation state and landed state.
|
|
75
|
+
*
|
|
76
|
+
* @generated from message flightpath.ExtendedSysState
|
|
77
|
+
*/
|
|
78
|
+
export type ExtendedSysState = Message<"flightpath.ExtendedSysState"> & {
|
|
79
|
+
/**
|
|
80
|
+
* VTOL state if applicable. MAV_VTOL_STATE_UNSPECIFIED if the vehicle is not configured as VTOL.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: flightpath.MavVtolState vtol_state = 1;
|
|
83
|
+
*/
|
|
84
|
+
vtolState: MavVtolState;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Landed state. MAV_LANDED_STATE_UNSPECIFIED if landed state is unknown.
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: flightpath.MavLandedState landed_state = 2;
|
|
90
|
+
*/
|
|
91
|
+
landedState: MavLandedState;
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Describes the message flightpath.ExtendedSysState.
|
|
96
|
+
* Use `create(ExtendedSysStateSchema)` to create a new message.
|
|
97
|
+
*/
|
|
98
|
+
export const ExtendedSysStateSchema: GenMessage<ExtendedSysState> = /*@__PURE__*/
|
|
99
|
+
messageDesc(file_flightpath_extended_sys_state, 2);
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* MavVtolState represents VTOL states from MAVLink MAV_VTOL_STATE enum
|
|
103
|
+
* MAVLink 0 (UNDEFINED) maps to proto 0 (UNSPECIFIED), MAVLink 1 (TRANSITION_TO_FW) maps to proto 1, etc.
|
|
104
|
+
*
|
|
105
|
+
* @generated from enum flightpath.MavVtolState
|
|
106
|
+
*/
|
|
107
|
+
export enum MavVtolState {
|
|
108
|
+
/**
|
|
109
|
+
* MAVLink 0: VTOL state is undefined
|
|
110
|
+
*
|
|
111
|
+
* @generated from enum value: MAV_VTOL_STATE_UNSPECIFIED = 0;
|
|
112
|
+
*/
|
|
113
|
+
UNSPECIFIED = 0,
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* MAVLink 1: Transitioning to fixed-wing
|
|
117
|
+
*
|
|
118
|
+
* @generated from enum value: MAV_VTOL_STATE_TRANSITION_TO_FW = 1;
|
|
119
|
+
*/
|
|
120
|
+
TRANSITION_TO_FW = 1,
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* MAVLink 2: Transitioning to multi-copter
|
|
124
|
+
*
|
|
125
|
+
* @generated from enum value: MAV_VTOL_STATE_TRANSITION_TO_MC = 2;
|
|
126
|
+
*/
|
|
127
|
+
TRANSITION_TO_MC = 2,
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* MAVLink 3: Multi-copter mode
|
|
131
|
+
*
|
|
132
|
+
* @generated from enum value: MAV_VTOL_STATE_MC = 3;
|
|
133
|
+
*/
|
|
134
|
+
MC = 3,
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* MAVLink 4: Fixed-wing mode
|
|
138
|
+
*
|
|
139
|
+
* @generated from enum value: MAV_VTOL_STATE_FW = 4;
|
|
140
|
+
*/
|
|
141
|
+
FW = 4,
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Describes the enum flightpath.MavVtolState.
|
|
146
|
+
*/
|
|
147
|
+
export const MavVtolStateSchema: GenEnum<MavVtolState> = /*@__PURE__*/
|
|
148
|
+
enumDesc(file_flightpath_extended_sys_state, 0);
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* MavLandedState represents landed states from MAVLink MAV_LANDED_STATE enum
|
|
152
|
+
* MAVLink 0 (UNDEFINED) maps to proto 0 (UNSPECIFIED), MAVLink 1 (ON_GROUND) maps to proto 1, etc.
|
|
153
|
+
*
|
|
154
|
+
* @generated from enum flightpath.MavLandedState
|
|
155
|
+
*/
|
|
156
|
+
export enum MavLandedState {
|
|
157
|
+
/**
|
|
158
|
+
* MAVLink 0: Landed state is undefined
|
|
159
|
+
*
|
|
160
|
+
* @generated from enum value: MAV_LANDED_STATE_UNSPECIFIED = 0;
|
|
161
|
+
*/
|
|
162
|
+
UNSPECIFIED = 0,
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* MAVLink 1: On the ground
|
|
166
|
+
*
|
|
167
|
+
* @generated from enum value: MAV_LANDED_STATE_ON_GROUND = 1;
|
|
168
|
+
*/
|
|
169
|
+
ON_GROUND = 1,
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* MAVLink 2: In the air
|
|
173
|
+
*
|
|
174
|
+
* @generated from enum value: MAV_LANDED_STATE_IN_AIR = 2;
|
|
175
|
+
*/
|
|
176
|
+
IN_AIR = 2,
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* MAVLink 3: Taking off
|
|
180
|
+
*
|
|
181
|
+
* @generated from enum value: MAV_LANDED_STATE_TAKEOFF = 3;
|
|
182
|
+
*/
|
|
183
|
+
TAKEOFF = 3,
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* MAVLink 4: Landing
|
|
187
|
+
*
|
|
188
|
+
* @generated from enum value: MAV_LANDED_STATE_LANDING = 4;
|
|
189
|
+
*/
|
|
190
|
+
LANDING = 4,
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Describes the enum flightpath.MavLandedState.
|
|
195
|
+
*/
|
|
196
|
+
export const MavLandedStateSchema: GenEnum<MavLandedState> = /*@__PURE__*/
|
|
197
|
+
enumDesc(file_flightpath_extended_sys_state, 1);
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* ExtendedSysStateService handles EXTENDED_SYS_STATE (245) messages from the drone
|
|
201
|
+
*
|
|
202
|
+
* @generated from service flightpath.ExtendedSysStateService
|
|
203
|
+
*/
|
|
204
|
+
export const ExtendedSysStateService: GenService<{
|
|
205
|
+
/**
|
|
206
|
+
* Subscribe to EXTENDED_SYS_STATE messages from the drone
|
|
207
|
+
*
|
|
208
|
+
* @generated from rpc flightpath.ExtendedSysStateService.SubscribeExtendedSysState
|
|
209
|
+
*/
|
|
210
|
+
subscribeExtendedSysState: {
|
|
211
|
+
methodKind: "server_streaming";
|
|
212
|
+
input: typeof SubscribeExtendedSysStateRequestSchema;
|
|
213
|
+
output: typeof SubscribeExtendedSysStateResponseSchema;
|
|
214
|
+
},
|
|
215
|
+
}> = /*@__PURE__*/
|
|
216
|
+
serviceDesc(file_flightpath_extended_sys_state, 0);
|
|
217
|
+
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file flightpath/statustext.proto (package flightpath, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file flightpath/statustext.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_flightpath_statustext: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("ChtmbGlnaHRwYXRoL3N0YXR1c3RleHQucHJvdG8SCmZsaWdodHBhdGgiHAoaU3Vic2NyaWJlU3RhdHVzVGV4dFJlcXVlc3QiiQEKG1N1YnNjcmliZVN0YXR1c1RleHRSZXNwb25zZRIUCgx0aW1lc3RhbXBfbXMYASABKAMSEQoJc3lzdGVtX2lkGAIgASgNEhQKDGNvbXBvbmVudF9pZBgDIAEoDRIrCgtzdGF0dXNfdGV4dBgEIAEoCzIWLmZsaWdodHBhdGguU3RhdHVzVGV4dCJFCgpTdGF0dXNUZXh0EikKCHNldmVyaXR5GAEgASgOMhcuZmxpZ2h0cGF0aC5NYXZTZXZlcml0eRIMCgR0ZXh0GAIgASgJKvQBCgtNYXZTZXZlcml0eRIcChhNQVZfU0VWRVJJVFlfVU5TUEVDSUZJRUQQABIaChZNQVZfU0VWRVJJVFlfRU1FUkdFTkNZEAESFgoSTUFWX1NFVkVSSVRZX0FMRVJUEAISGQoVTUFWX1NFVkVSSVRZX0NSSVRJQ0FMEAMSFgoSTUFWX1NFVkVSSVRZX0VSUk9SEAQSGAoUTUFWX1NFVkVSSVRZX1dBUk5JTkcQBRIXChNNQVZfU0VWRVJJVFlfTk9USUNFEAYSFQoRTUFWX1NFVkVSSVRZX0lORk8QBxIWChJNQVZfU0VWRVJJVFlfREVCVUcQCDJ9ChFTdGF0dXNUZXh0U2VydmljZRJoChNTdWJzY3JpYmVTdGF0dXNUZXh0EiYuZmxpZ2h0cGF0aC5TdWJzY3JpYmVTdGF0dXNUZXh0UmVxdWVzdBonLmZsaWdodHBhdGguU3Vic2NyaWJlU3RhdHVzVGV4dFJlc3BvbnNlMAFCaQoOY29tLmZsaWdodHBhdGhCD1N0YXR1c3RleHRQcm90b1ABogIDRlhYqgIKRmxpZ2h0cGF0aMoCCkZsaWdodHBhdGjiAhZGbGlnaHRwYXRoXEdQQk1ldGFkYXRh6gIKRmxpZ2h0cGF0aGIGcHJvdG8z");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* SubscribeStatusTextRequest is the request message for SubscribeStatusText
|
|
17
|
+
*
|
|
18
|
+
* @generated from message flightpath.SubscribeStatusTextRequest
|
|
19
|
+
*/
|
|
20
|
+
export type SubscribeStatusTextRequest = Message<"flightpath.SubscribeStatusTextRequest"> & {
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message flightpath.SubscribeStatusTextRequest.
|
|
25
|
+
* Use `create(SubscribeStatusTextRequestSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const SubscribeStatusTextRequestSchema: GenMessage<SubscribeStatusTextRequest> = /*@__PURE__*/
|
|
28
|
+
messageDesc(file_flightpath_statustext, 0);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* SubscribeStatusTextResponse contains STATUSTEXT message data
|
|
32
|
+
*
|
|
33
|
+
* @generated from message flightpath.SubscribeStatusTextResponse
|
|
34
|
+
*/
|
|
35
|
+
export type SubscribeStatusTextResponse = Message<"flightpath.SubscribeStatusTextResponse"> & {
|
|
36
|
+
/**
|
|
37
|
+
* Timestamp when this status text 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 status text
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: uint32 system_id = 2;
|
|
47
|
+
*/
|
|
48
|
+
systemId: number;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Component ID of the component sending the status text
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: uint32 component_id = 3;
|
|
54
|
+
*/
|
|
55
|
+
componentId: number;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* STATUSTEXT message data
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: flightpath.StatusText status_text = 4;
|
|
61
|
+
*/
|
|
62
|
+
statusText?: StatusText;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message flightpath.SubscribeStatusTextResponse.
|
|
67
|
+
* Use `create(SubscribeStatusTextResponseSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const SubscribeStatusTextResponseSchema: GenMessage<SubscribeStatusTextResponse> = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_flightpath_statustext, 1);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* StatusText represents the STATUSTEXT (253) MAVLink message
|
|
74
|
+
* Status text message. These messages should be kept minimal and kept only for very important status and error messages.
|
|
75
|
+
* The id and chunk_seq fields are used for reassembling long messages split across multiple packets.
|
|
76
|
+
*
|
|
77
|
+
* @generated from message flightpath.StatusText
|
|
78
|
+
*/
|
|
79
|
+
export type StatusText = Message<"flightpath.StatusText"> & {
|
|
80
|
+
/**
|
|
81
|
+
* Severity of status message
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: flightpath.MavSeverity severity = 1;
|
|
84
|
+
*/
|
|
85
|
+
severity: MavSeverity;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Status text message, without null termination character
|
|
89
|
+
*
|
|
90
|
+
* @generated from field: string text = 2;
|
|
91
|
+
*/
|
|
92
|
+
text: string;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Describes the message flightpath.StatusText.
|
|
97
|
+
* Use `create(StatusTextSchema)` to create a new message.
|
|
98
|
+
*/
|
|
99
|
+
export const StatusTextSchema: GenMessage<StatusText> = /*@__PURE__*/
|
|
100
|
+
messageDesc(file_flightpath_statustext, 2);
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* MavSeverity represents severity levels from MAVLink MAV_SEVERITY enum
|
|
104
|
+
* All values are incremented by 1 to accommodate MAV_SEVERITY_UNSPECIFIED at 0.
|
|
105
|
+
* MAVLink 0 (EMERGENCY) maps to proto 1 (EMERGENCY), MAVLink 1 (ALERT) maps to proto 2, etc.
|
|
106
|
+
*
|
|
107
|
+
* @generated from enum flightpath.MavSeverity
|
|
108
|
+
*/
|
|
109
|
+
export enum MavSeverity {
|
|
110
|
+
/**
|
|
111
|
+
* @generated from enum value: MAV_SEVERITY_UNSPECIFIED = 0;
|
|
112
|
+
*/
|
|
113
|
+
UNSPECIFIED = 0,
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* MAVLink 0: System is unusable. This is a "panic" condition.
|
|
117
|
+
*
|
|
118
|
+
* @generated from enum value: MAV_SEVERITY_EMERGENCY = 1;
|
|
119
|
+
*/
|
|
120
|
+
EMERGENCY = 1,
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* MAVLink 1: Action should be taken immediately. Indicates error in non-critical systems.
|
|
124
|
+
*
|
|
125
|
+
* @generated from enum value: MAV_SEVERITY_ALERT = 2;
|
|
126
|
+
*/
|
|
127
|
+
ALERT = 2,
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* MAVLink 2: Action must be taken immediately. Indicates failure in a primary system.
|
|
131
|
+
*
|
|
132
|
+
* @generated from enum value: MAV_SEVERITY_CRITICAL = 3;
|
|
133
|
+
*/
|
|
134
|
+
CRITICAL = 3,
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* MAVLink 3: Indicates an error in secondary/redundant systems.
|
|
138
|
+
*
|
|
139
|
+
* @generated from enum value: MAV_SEVERITY_ERROR = 4;
|
|
140
|
+
*/
|
|
141
|
+
ERROR = 4,
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* MAVLink 4: Indicates about a possible future error if not resolved within a given timeframe.
|
|
145
|
+
*
|
|
146
|
+
* @generated from enum value: MAV_SEVERITY_WARNING = 5;
|
|
147
|
+
*/
|
|
148
|
+
WARNING = 5,
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* MAVLink 5: An unusual event has occurred, though not an error condition.
|
|
152
|
+
*
|
|
153
|
+
* @generated from enum value: MAV_SEVERITY_NOTICE = 6;
|
|
154
|
+
*/
|
|
155
|
+
NOTICE = 6,
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* MAVLink 6: Normal operational messages. Useful for logging.
|
|
159
|
+
*
|
|
160
|
+
* @generated from enum value: MAV_SEVERITY_INFO = 7;
|
|
161
|
+
*/
|
|
162
|
+
INFO = 7,
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* MAVLink 7: Debug-level messages.
|
|
166
|
+
*
|
|
167
|
+
* @generated from enum value: MAV_SEVERITY_DEBUG = 8;
|
|
168
|
+
*/
|
|
169
|
+
DEBUG = 8,
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Describes the enum flightpath.MavSeverity.
|
|
174
|
+
*/
|
|
175
|
+
export const MavSeveritySchema: GenEnum<MavSeverity> = /*@__PURE__*/
|
|
176
|
+
enumDesc(file_flightpath_statustext, 0);
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* StatusTextService handles STATUSTEXT (253) messages from the drone
|
|
180
|
+
*
|
|
181
|
+
* @generated from service flightpath.StatusTextService
|
|
182
|
+
*/
|
|
183
|
+
export const StatusTextService: GenService<{
|
|
184
|
+
/**
|
|
185
|
+
* Subscribe to STATUSTEXT messages from the drone
|
|
186
|
+
*
|
|
187
|
+
* @generated from rpc flightpath.StatusTextService.SubscribeStatusText
|
|
188
|
+
*/
|
|
189
|
+
subscribeStatusText: {
|
|
190
|
+
methodKind: "server_streaming";
|
|
191
|
+
input: typeof SubscribeStatusTextRequestSchema;
|
|
192
|
+
output: typeof SubscribeStatusTextResponseSchema;
|
|
193
|
+
},
|
|
194
|
+
}> = /*@__PURE__*/
|
|
195
|
+
serviceDesc(file_flightpath_statustext, 0);
|
|
196
|
+
|