@flightpath/flightpath 0.0.5 → 0.0.7
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,171 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file flightpath/global_position_int.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/global_position_int.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_flightpath_global_position_int: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("CiRmbGlnaHRwYXRoL2dsb2JhbF9wb3NpdGlvbl9pbnQucHJvdG8SCmZsaWdodHBhdGgiIwohU3Vic2NyaWJlR2xvYmFsUG9zaXRpb25JbnRSZXF1ZXN0Ip8BCiJTdWJzY3JpYmVHbG9iYWxQb3NpdGlvbkludFJlc3BvbnNlEhQKDHRpbWVzdGFtcF9tcxgBIAEoAxIRCglzeXN0ZW1faWQYAiABKA0SFAoMY29tcG9uZW50X2lkGAMgASgNEjoKE2dsb2JhbF9wb3NpdGlvbl9pbnQYBCABKAsyHS5mbGlnaHRwYXRoLkdsb2JhbFBvc2l0aW9uSW50IpcBChFHbG9iYWxQb3NpdGlvbkludBIUCgx0aW1lX2Jvb3RfbXMYASABKA0SCwoDbGF0GAIgASgFEgsKA2xvbhgDIAEoBRILCgNhbHQYBCABKAUSFAoMcmVsYXRpdmVfYWx0GAUgASgFEgoKAnZ4GAYgASgFEgoKAnZ5GAcgASgFEgoKAnZ6GAggASgFEgsKA2hkZxgJIAEoDTKZAQoYR2xvYmFsUG9zaXRpb25JbnRTZXJ2aWNlEn0KGlN1YnNjcmliZUdsb2JhbFBvc2l0aW9uSW50Ei0uZmxpZ2h0cGF0aC5TdWJzY3JpYmVHbG9iYWxQb3NpdGlvbkludFJlcXVlc3QaLi5mbGlnaHRwYXRoLlN1YnNjcmliZUdsb2JhbFBvc2l0aW9uSW50UmVzcG9uc2UwAUJwCg5jb20uZmxpZ2h0cGF0aEIWR2xvYmFsUG9zaXRpb25JbnRQcm90b1ABogIDRlhYqgIKRmxpZ2h0cGF0aMoCCkZsaWdodHBhdGjiAhZGbGlnaHRwYXRoXEdQQk1ldGFkYXRh6gIKRmxpZ2h0cGF0aGIGcHJvdG8z");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* SubscribeGlobalPositionIntRequest is the request message for SubscribeGlobalPositionInt
|
|
17
|
+
*
|
|
18
|
+
* @generated from message flightpath.SubscribeGlobalPositionIntRequest
|
|
19
|
+
*/
|
|
20
|
+
export type SubscribeGlobalPositionIntRequest = Message<"flightpath.SubscribeGlobalPositionIntRequest"> & {
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message flightpath.SubscribeGlobalPositionIntRequest.
|
|
25
|
+
* Use `create(SubscribeGlobalPositionIntRequestSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const SubscribeGlobalPositionIntRequestSchema: GenMessage<SubscribeGlobalPositionIntRequest> = /*@__PURE__*/
|
|
28
|
+
messageDesc(file_flightpath_global_position_int, 0);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* SubscribeGlobalPositionIntResponse contains GLOBAL_POSITION_INT message data
|
|
32
|
+
*
|
|
33
|
+
* @generated from message flightpath.SubscribeGlobalPositionIntResponse
|
|
34
|
+
*/
|
|
35
|
+
export type SubscribeGlobalPositionIntResponse = Message<"flightpath.SubscribeGlobalPositionIntResponse"> & {
|
|
36
|
+
/**
|
|
37
|
+
* Timestamp when this global position 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 global position
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: uint32 system_id = 2;
|
|
47
|
+
*/
|
|
48
|
+
systemId: number;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Component ID of the component sending the global position
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: uint32 component_id = 3;
|
|
54
|
+
*/
|
|
55
|
+
componentId: number;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* GLOBAL_POSITION_INT message data
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: flightpath.GlobalPositionInt global_position_int = 4;
|
|
61
|
+
*/
|
|
62
|
+
globalPositionInt?: GlobalPositionInt;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message flightpath.SubscribeGlobalPositionIntResponse.
|
|
67
|
+
* Use `create(SubscribeGlobalPositionIntResponseSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const SubscribeGlobalPositionIntResponseSchema: GenMessage<SubscribeGlobalPositionIntResponse> = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_flightpath_global_position_int, 1);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* GlobalPositionInt represents the GLOBAL_POSITION_INT (33) MAVLink message
|
|
74
|
+
* The filtered global position (e.g. fused GPS and accelerometers). The position is in GPS-frame
|
|
75
|
+
* (right-handed, Z-up). It is designed as scaled integer message since the resolution of float is
|
|
76
|
+
* not sufficient.
|
|
77
|
+
*
|
|
78
|
+
* @generated from message flightpath.GlobalPositionInt
|
|
79
|
+
*/
|
|
80
|
+
export type GlobalPositionInt = Message<"flightpath.GlobalPositionInt"> & {
|
|
81
|
+
/**
|
|
82
|
+
* Timestamp (time since system boot)
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: uint32 time_boot_ms = 1;
|
|
85
|
+
*/
|
|
86
|
+
timeBootMs: number;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Latitude, expressed as degrees * 1E7
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: int32 lat = 2;
|
|
92
|
+
*/
|
|
93
|
+
lat: number;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Longitude, expressed as degrees * 1E7
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: int32 lon = 3;
|
|
99
|
+
*/
|
|
100
|
+
lon: number;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Altitude (MSL). Positive for up. Note that virtually all GPS modules provide the MSL altitude
|
|
104
|
+
* in addition to the WGS84 altitude. (mm)
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: int32 alt = 4;
|
|
107
|
+
*/
|
|
108
|
+
alt: number;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Altitude above ground. Positive for up. (mm)
|
|
112
|
+
*
|
|
113
|
+
* @generated from field: int32 relative_alt = 5;
|
|
114
|
+
*/
|
|
115
|
+
relativeAlt: number;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Ground X Speed (Latitude, positive north). (cm/s)
|
|
119
|
+
*
|
|
120
|
+
* @generated from field: int32 vx = 6;
|
|
121
|
+
*/
|
|
122
|
+
vx: number;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Ground Y Speed (Longitude, positive east). (cm/s)
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: int32 vy = 7;
|
|
128
|
+
*/
|
|
129
|
+
vy: number;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Ground Z Speed (Altitude, positive down). (cm/s)
|
|
133
|
+
*
|
|
134
|
+
* @generated from field: int32 vz = 8;
|
|
135
|
+
*/
|
|
136
|
+
vz: number;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Vehicle heading (yaw angle), 0..360 expressed as degrees * 100. If unknown, set to: UINT16_MAX
|
|
140
|
+
*
|
|
141
|
+
* @generated from field: uint32 hdg = 9;
|
|
142
|
+
*/
|
|
143
|
+
hdg: number;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Describes the message flightpath.GlobalPositionInt.
|
|
148
|
+
* Use `create(GlobalPositionIntSchema)` to create a new message.
|
|
149
|
+
*/
|
|
150
|
+
export const GlobalPositionIntSchema: GenMessage<GlobalPositionInt> = /*@__PURE__*/
|
|
151
|
+
messageDesc(file_flightpath_global_position_int, 2);
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* GlobalPositionIntService handles GLOBAL_POSITION_INT (33) messages from the drone
|
|
155
|
+
*
|
|
156
|
+
* @generated from service flightpath.GlobalPositionIntService
|
|
157
|
+
*/
|
|
158
|
+
export const GlobalPositionIntService: GenService<{
|
|
159
|
+
/**
|
|
160
|
+
* Subscribe to GLOBAL_POSITION_INT messages from the drone
|
|
161
|
+
*
|
|
162
|
+
* @generated from rpc flightpath.GlobalPositionIntService.SubscribeGlobalPositionInt
|
|
163
|
+
*/
|
|
164
|
+
subscribeGlobalPositionInt: {
|
|
165
|
+
methodKind: "server_streaming";
|
|
166
|
+
input: typeof SubscribeGlobalPositionIntRequestSchema;
|
|
167
|
+
output: typeof SubscribeGlobalPositionIntResponseSchema;
|
|
168
|
+
},
|
|
169
|
+
}> = /*@__PURE__*/
|
|
170
|
+
serviceDesc(file_flightpath_global_position_int, 0);
|
|
171
|
+
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file flightpath/radio_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/radio_status.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_flightpath_radio_status: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("Ch1mbGlnaHRwYXRoL3JhZGlvX3N0YXR1cy5wcm90bxIKZmxpZ2h0cGF0aCIdChtTdWJzY3JpYmVSYWRpb1N0YXR1c1JlcXVlc3QijAEKHFN1YnNjcmliZVJhZGlvU3RhdHVzUmVzcG9uc2USFAoMdGltZXN0YW1wX21zGAEgASgDEhEKCXN5c3RlbV9pZBgCIAEoDRIUCgxjb21wb25lbnRfaWQYAyABKA0SLQoMcmFkaW9fc3RhdHVzGAQgASgLMhcuZmxpZ2h0cGF0aC5SYWRpb1N0YXR1cyJ9CgtSYWRpb1N0YXR1cxIMCgRyc3NpGAEgASgNEg8KB3JlbXJzc2kYAiABKA0SDQoFdHhidWYYAyABKA0SDQoFbm9pc2UYBCABKA0SEAoIcmVtbm9pc2UYBSABKA0SEAoIcnhlcnJvcnMYBiABKA0SDQoFZml4ZWQYByABKA0ygQEKElJhZGlvU3RhdHVzU2VydmljZRJrChRTdWJzY3JpYmVSYWRpb1N0YXR1cxInLmZsaWdodHBhdGguU3Vic2NyaWJlUmFkaW9TdGF0dXNSZXF1ZXN0GiguZmxpZ2h0cGF0aC5TdWJzY3JpYmVSYWRpb1N0YXR1c1Jlc3BvbnNlMAFCagoOY29tLmZsaWdodHBhdGhCEFJhZGlvU3RhdHVzUHJvdG9QAaICA0ZYWKoCCkZsaWdodHBhdGjKAgpGbGlnaHRwYXRo4gIWRmxpZ2h0cGF0aFxHUEJNZXRhZGF0YeoCCkZsaWdodHBhdGhiBnByb3RvMw");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* SubscribeRadioStatusRequest is the request message for SubscribeRadioStatus
|
|
17
|
+
*
|
|
18
|
+
* @generated from message flightpath.SubscribeRadioStatusRequest
|
|
19
|
+
*/
|
|
20
|
+
export type SubscribeRadioStatusRequest = Message<"flightpath.SubscribeRadioStatusRequest"> & {
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message flightpath.SubscribeRadioStatusRequest.
|
|
25
|
+
* Use `create(SubscribeRadioStatusRequestSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const SubscribeRadioStatusRequestSchema: GenMessage<SubscribeRadioStatusRequest> = /*@__PURE__*/
|
|
28
|
+
messageDesc(file_flightpath_radio_status, 0);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* SubscribeRadioStatusResponse contains RADIO_STATUS message data
|
|
32
|
+
*
|
|
33
|
+
* @generated from message flightpath.SubscribeRadioStatusResponse
|
|
34
|
+
*/
|
|
35
|
+
export type SubscribeRadioStatusResponse = Message<"flightpath.SubscribeRadioStatusResponse"> & {
|
|
36
|
+
/**
|
|
37
|
+
* Timestamp when this radio 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 radio status
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: uint32 system_id = 2;
|
|
47
|
+
*/
|
|
48
|
+
systemId: number;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Component ID of the component sending the radio status
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: uint32 component_id = 3;
|
|
54
|
+
*/
|
|
55
|
+
componentId: number;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* RADIO_STATUS message data
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: flightpath.RadioStatus radio_status = 4;
|
|
61
|
+
*/
|
|
62
|
+
radioStatus?: RadioStatus;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message flightpath.SubscribeRadioStatusResponse.
|
|
67
|
+
* Use `create(SubscribeRadioStatusResponseSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const SubscribeRadioStatusResponseSchema: GenMessage<SubscribeRadioStatusResponse> = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_flightpath_radio_status, 1);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* RadioStatus represents the RADIO_STATUS (109) MAVLink message
|
|
74
|
+
* Status generated by radio and injected into MAVLink stream.
|
|
75
|
+
*
|
|
76
|
+
* @generated from message flightpath.RadioStatus
|
|
77
|
+
*/
|
|
78
|
+
export type RadioStatus = Message<"flightpath.RadioStatus"> & {
|
|
79
|
+
/**
|
|
80
|
+
* Local received signal strength indication (RSSI). Values: [0-255], UINT8_MAX: invalid/unknown.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: uint32 rssi = 1;
|
|
83
|
+
*/
|
|
84
|
+
rssi: number;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Remote received signal strength indication (RSSI). Values: [0-255], UINT8_MAX: invalid/unknown.
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: uint32 remrssi = 2;
|
|
90
|
+
*/
|
|
91
|
+
remrssi: number;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Remaining free transmitter buffer space in percent. Values: [0-100], UINT8_MAX: invalid/unknown.
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: uint32 txbuf = 3;
|
|
97
|
+
*/
|
|
98
|
+
txbuf: number;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Local background noise level. Values: [0-255], UINT8_MAX: invalid/unknown.
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: uint32 noise = 4;
|
|
104
|
+
*/
|
|
105
|
+
noise: number;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Remote background noise level. Values: [0-255], UINT8_MAX: invalid/unknown.
|
|
109
|
+
*
|
|
110
|
+
* @generated from field: uint32 remnoise = 5;
|
|
111
|
+
*/
|
|
112
|
+
remnoise: number;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Count of radio packet receive errors since boot.
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: uint32 rxerrors = 6;
|
|
118
|
+
*/
|
|
119
|
+
rxerrors: number;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Count of error-corrected radio packets since boot.
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: uint32 fixed = 7;
|
|
125
|
+
*/
|
|
126
|
+
fixed: number;
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message flightpath.RadioStatus.
|
|
131
|
+
* Use `create(RadioStatusSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export const RadioStatusSchema: GenMessage<RadioStatus> = /*@__PURE__*/
|
|
134
|
+
messageDesc(file_flightpath_radio_status, 2);
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* RadioStatusService handles RADIO_STATUS (109) messages from the drone
|
|
138
|
+
*
|
|
139
|
+
* @generated from service flightpath.RadioStatusService
|
|
140
|
+
*/
|
|
141
|
+
export const RadioStatusService: GenService<{
|
|
142
|
+
/**
|
|
143
|
+
* Subscribe to RADIO_STATUS messages from the drone
|
|
144
|
+
*
|
|
145
|
+
* @generated from rpc flightpath.RadioStatusService.SubscribeRadioStatus
|
|
146
|
+
*/
|
|
147
|
+
subscribeRadioStatus: {
|
|
148
|
+
methodKind: "server_streaming";
|
|
149
|
+
input: typeof SubscribeRadioStatusRequestSchema;
|
|
150
|
+
output: typeof SubscribeRadioStatusResponseSchema;
|
|
151
|
+
},
|
|
152
|
+
}> = /*@__PURE__*/
|
|
153
|
+
serviceDesc(file_flightpath_radio_status, 0);
|
|
154
|
+
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file flightpath/vfr_hud.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/vfr_hud.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_flightpath_vfr_hud: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("ChhmbGlnaHRwYXRoL3Zmcl9odWQucHJvdG8SCmZsaWdodHBhdGgiGAoWU3Vic2NyaWJlVmZySHVkUmVxdWVzdCJ9ChdTdWJzY3JpYmVWZnJIdWRSZXNwb25zZRIUCgx0aW1lc3RhbXBfbXMYASABKAMSEQoJc3lzdGVtX2lkGAIgASgNEhQKDGNvbXBvbmVudF9pZBgDIAEoDRIjCgd2ZnJfaHVkGAQgASgLMhIuZmxpZ2h0cGF0aC5WZnJIdWQibgoGVmZySHVkEhAKCGFpcnNwZWVkGAEgASgCEhMKC2dyb3VuZHNwZWVkGAIgASgCEg8KB2hlYWRpbmcYAyABKAUSEAoIdGhyb3R0bGUYBCABKA0SCwoDYWx0GAUgASgCEg0KBWNsaW1iGAYgASgCMm0KDVZmckh1ZFNlcnZpY2USXAoPU3Vic2NyaWJlVmZySHVkEiIuZmxpZ2h0cGF0aC5TdWJzY3JpYmVWZnJIdWRSZXF1ZXN0GiMuZmxpZ2h0cGF0aC5TdWJzY3JpYmVWZnJIdWRSZXNwb25zZTABQmUKDmNvbS5mbGlnaHRwYXRoQgtWZnJIdWRQcm90b1ABogIDRlhYqgIKRmxpZ2h0cGF0aMoCCkZsaWdodHBhdGjiAhZGbGlnaHRwYXRoXEdQQk1ldGFkYXRh6gIKRmxpZ2h0cGF0aGIGcHJvdG8z");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* SubscribeVfrHudRequest is the request message for SubscribeVfrHud
|
|
17
|
+
*
|
|
18
|
+
* @generated from message flightpath.SubscribeVfrHudRequest
|
|
19
|
+
*/
|
|
20
|
+
export type SubscribeVfrHudRequest = Message<"flightpath.SubscribeVfrHudRequest"> & {
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message flightpath.SubscribeVfrHudRequest.
|
|
25
|
+
* Use `create(SubscribeVfrHudRequestSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export const SubscribeVfrHudRequestSchema: GenMessage<SubscribeVfrHudRequest> = /*@__PURE__*/
|
|
28
|
+
messageDesc(file_flightpath_vfr_hud, 0);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* SubscribeVfrHudResponse contains VFR_HUD message data
|
|
32
|
+
*
|
|
33
|
+
* @generated from message flightpath.SubscribeVfrHudResponse
|
|
34
|
+
*/
|
|
35
|
+
export type SubscribeVfrHudResponse = Message<"flightpath.SubscribeVfrHudResponse"> & {
|
|
36
|
+
/**
|
|
37
|
+
* Timestamp when this VFR HUD 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 VFR HUD data
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: uint32 system_id = 2;
|
|
47
|
+
*/
|
|
48
|
+
systemId: number;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Component ID of the component sending the VFR HUD data
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: uint32 component_id = 3;
|
|
54
|
+
*/
|
|
55
|
+
componentId: number;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* VFR_HUD message data
|
|
59
|
+
*
|
|
60
|
+
* @generated from field: flightpath.VfrHud vfr_hud = 4;
|
|
61
|
+
*/
|
|
62
|
+
vfrHud?: VfrHud;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message flightpath.SubscribeVfrHudResponse.
|
|
67
|
+
* Use `create(SubscribeVfrHudResponseSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const SubscribeVfrHudResponseSchema: GenMessage<SubscribeVfrHudResponse> = /*@__PURE__*/
|
|
70
|
+
messageDesc(file_flightpath_vfr_hud, 1);
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* VfrHud represents the VFR_HUD (74) MAVLink message
|
|
74
|
+
* Metrics typically displayed on a HUD for fixed wing aircraft.
|
|
75
|
+
*
|
|
76
|
+
* @generated from message flightpath.VfrHud
|
|
77
|
+
*/
|
|
78
|
+
export type VfrHud = Message<"flightpath.VfrHud"> & {
|
|
79
|
+
/**
|
|
80
|
+
* Vehicle speed in m/s
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: float airspeed = 1;
|
|
83
|
+
*/
|
|
84
|
+
airspeed: number;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Current ground speed in m/s
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: float groundspeed = 2;
|
|
90
|
+
*/
|
|
91
|
+
groundspeed: number;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Current heading in degrees, 0..360. 0 = north
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: int32 heading = 3;
|
|
97
|
+
*/
|
|
98
|
+
heading: number;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Current throttle setting in percent, 0 to 100
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: uint32 throttle = 4;
|
|
104
|
+
*/
|
|
105
|
+
throttle: number;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Current altitude (MSL) in meters
|
|
109
|
+
*
|
|
110
|
+
* @generated from field: float alt = 5;
|
|
111
|
+
*/
|
|
112
|
+
alt: number;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Current climb rate in m/s
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: float climb = 6;
|
|
118
|
+
*/
|
|
119
|
+
climb: number;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message flightpath.VfrHud.
|
|
124
|
+
* Use `create(VfrHudSchema)` to create a new message.
|
|
125
|
+
*/
|
|
126
|
+
export const VfrHudSchema: GenMessage<VfrHud> = /*@__PURE__*/
|
|
127
|
+
messageDesc(file_flightpath_vfr_hud, 2);
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* VfrHudService handles VFR_HUD (74) messages from the drone
|
|
131
|
+
*
|
|
132
|
+
* @generated from service flightpath.VfrHudService
|
|
133
|
+
*/
|
|
134
|
+
export const VfrHudService: GenService<{
|
|
135
|
+
/**
|
|
136
|
+
* Subscribe to VFR_HUD messages from the drone
|
|
137
|
+
*
|
|
138
|
+
* @generated from rpc flightpath.VfrHudService.SubscribeVfrHud
|
|
139
|
+
*/
|
|
140
|
+
subscribeVfrHud: {
|
|
141
|
+
methodKind: "server_streaming";
|
|
142
|
+
input: typeof SubscribeVfrHudRequestSchema;
|
|
143
|
+
output: typeof SubscribeVfrHudResponseSchema;
|
|
144
|
+
},
|
|
145
|
+
}> = /*@__PURE__*/
|
|
146
|
+
serviceDesc(file_flightpath_vfr_hud, 0);
|
|
147
|
+
|