@flightpath/flightpath 0.0.8 → 0.0.10
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.
- package/README.md +2 -7
- package/gen/ts/flightpath/mavlink_service_pb.ts +285 -67
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -80,10 +80,7 @@ go run examples/monitor_heartbeat_flightpath/main.go
|
|
|
80
80
|
# 1. Turn on the drone
|
|
81
81
|
|
|
82
82
|
# 2. Run the server with a serial port configuration
|
|
83
|
-
|
|
84
|
-
export FLIGHTPATH_MAVLINK_SERIAL_DEVICE=/dev/cu.usbserial-D30JAXGS
|
|
85
|
-
export FLIGHTPATH_MAVLINK_SERIAL_BAUD=57600
|
|
86
|
-
go run cmd/server/main.go
|
|
83
|
+
./scripts/run-serial.sh
|
|
87
84
|
|
|
88
85
|
# 3. Monitor messages from the drone
|
|
89
86
|
go run examples/monitor_heartbeat_flightpath/main.go
|
|
@@ -95,9 +92,7 @@ go run examples/monitor_heartbeat_flightpath/main.go
|
|
|
95
92
|
# 1. Turn on the drone
|
|
96
93
|
|
|
97
94
|
# 2. Run the server with a UDP configuration
|
|
98
|
-
|
|
99
|
-
export FLIGHTPATH_MAVLINK_UDP_ADDRESS=0.0.0.0:14550
|
|
100
|
-
go run cmd/server/main.go
|
|
95
|
+
./scripts/run-udp.sh
|
|
101
96
|
|
|
102
97
|
# 3. Monitor messages from the drone
|
|
103
98
|
go run examples/monitor_heartbeat_flightpath/main.go
|
|
@@ -2,116 +2,334 @@
|
|
|
2
2
|
// @generated from file flightpath/mavlink_service.proto (package flightpath, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
|
|
5
|
-
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
-
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
-
import type {
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { ExtendedSysState } from "./extended_sys_state_pb.js";
|
|
8
8
|
import { file_flightpath_extended_sys_state } from "./extended_sys_state_pb.js";
|
|
9
|
-
import type {
|
|
9
|
+
import type { GlobalPositionInt } from "./global_position_int_pb.js";
|
|
10
10
|
import { file_flightpath_global_position_int } from "./global_position_int_pb.js";
|
|
11
|
-
import type {
|
|
11
|
+
import type { GpsRawInt } from "./gps_raw_int_pb.js";
|
|
12
12
|
import { file_flightpath_gps_raw_int } from "./gps_raw_int_pb.js";
|
|
13
|
-
import type {
|
|
13
|
+
import type { Heartbeat } from "./heartbeat_pb.js";
|
|
14
14
|
import { file_flightpath_heartbeat } from "./heartbeat_pb.js";
|
|
15
|
-
import type {
|
|
15
|
+
import type { RadioStatus } from "./radio_status_pb.js";
|
|
16
16
|
import { file_flightpath_radio_status } from "./radio_status_pb.js";
|
|
17
|
-
import type {
|
|
17
|
+
import type { StatusText } from "./statustext_pb.js";
|
|
18
18
|
import { file_flightpath_statustext } from "./statustext_pb.js";
|
|
19
|
-
import type {
|
|
19
|
+
import type { SysStatus } from "./sys_status_pb.js";
|
|
20
20
|
import { file_flightpath_sys_status } from "./sys_status_pb.js";
|
|
21
|
-
import type {
|
|
21
|
+
import type { VfrHud } from "./vfr_hud_pb.js";
|
|
22
22
|
import { file_flightpath_vfr_hud } from "./vfr_hud_pb.js";
|
|
23
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
23
24
|
|
|
24
25
|
/**
|
|
25
26
|
* Describes the file flightpath/mavlink_service.proto.
|
|
26
27
|
*/
|
|
27
28
|
export const file_flightpath_mavlink_service: GenFile = /*@__PURE__*/
|
|
28
|
-
fileDesc("
|
|
29
|
+
fileDesc("CiBmbGlnaHRwYXRoL21hdmxpbmtfc2VydmljZS5wcm90bxIKZmxpZ2h0cGF0aCJRChhTdWJzY3JpYmVNZXNzYWdlc1Jl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ightpath_global_position_int, file_flightpath_gps_raw_int, file_flightpath_heartbeat, file_flightpath_radio_status, file_flightpath_statustext, file_flightpath_sys_status, file_flightpath_vfr_hud]);
|
|
29
30
|
|
|
30
31
|
/**
|
|
31
|
-
*
|
|
32
|
+
* Subscribe to all messages or a filtered subset
|
|
32
33
|
*
|
|
33
|
-
* @generated from
|
|
34
|
+
* @generated from message flightpath.SubscribeMessagesRequest
|
|
34
35
|
*/
|
|
35
|
-
export
|
|
36
|
+
export type SubscribeMessagesRequest = Message<"flightpath.SubscribeMessagesRequest"> & {
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
+
* Optional: if empty, subscribe to all message types
|
|
39
|
+
* If specified, only these message types will be sent
|
|
38
40
|
*
|
|
39
|
-
* @generated from
|
|
41
|
+
* @generated from field: repeated flightpath.MavlinkMessageType message_types = 1;
|
|
40
42
|
*/
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
messageTypes: MavlinkMessageType[];
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message flightpath.SubscribeMessagesRequest.
|
|
48
|
+
* Use `create(SubscribeMessagesRequestSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const SubscribeMessagesRequestSchema: GenMessage<SubscribeMessagesRequest> = /*@__PURE__*/
|
|
51
|
+
messageDesc(file_flightpath_mavlink_service, 0);
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Contains any MAVLink message type specified by message_type
|
|
55
|
+
*
|
|
56
|
+
* @generated from message flightpath.SubscribeMessagesResponse
|
|
57
|
+
*/
|
|
58
|
+
export type SubscribeMessagesResponse = Message<"flightpath.SubscribeMessagesResponse"> & {
|
|
46
59
|
/**
|
|
47
|
-
*
|
|
60
|
+
* Timestamp when this message was captured (milliseconds since Unix epoch)
|
|
48
61
|
*
|
|
49
|
-
* @generated from
|
|
62
|
+
* @generated from field: int64 timestamp_ms = 1;
|
|
50
63
|
*/
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
input: typeof SubscribeSysStatusRequestSchema;
|
|
54
|
-
output: typeof SubscribeSysStatusResponseSchema;
|
|
55
|
-
},
|
|
64
|
+
timestampMs: bigint;
|
|
65
|
+
|
|
56
66
|
/**
|
|
57
|
-
*
|
|
67
|
+
* System ID of the component sending the message
|
|
58
68
|
*
|
|
59
|
-
* @generated from
|
|
69
|
+
* @generated from field: uint32 system_id = 2;
|
|
60
70
|
*/
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
input: typeof SubscribeGpsRawIntRequestSchema;
|
|
64
|
-
output: typeof SubscribeGpsRawIntResponseSchema;
|
|
65
|
-
},
|
|
71
|
+
systemId: number;
|
|
72
|
+
|
|
66
73
|
/**
|
|
67
|
-
*
|
|
74
|
+
* Component ID of the component sending the message
|
|
68
75
|
*
|
|
69
|
-
* @generated from
|
|
76
|
+
* @generated from field: uint32 component_id = 3;
|
|
70
77
|
*/
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
input: typeof SubscribeGlobalPositionIntRequestSchema;
|
|
74
|
-
output: typeof SubscribeGlobalPositionIntResponseSchema;
|
|
75
|
-
},
|
|
78
|
+
componentId: number;
|
|
79
|
+
|
|
76
80
|
/**
|
|
77
|
-
*
|
|
81
|
+
* Message type identifier
|
|
78
82
|
*
|
|
79
|
-
* @generated from
|
|
83
|
+
* @generated from field: flightpath.MavlinkMessageType message_type = 4;
|
|
80
84
|
*/
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
input: typeof SubscribeVfrHudRequestSchema;
|
|
84
|
-
output: typeof SubscribeVfrHudResponseSchema;
|
|
85
|
-
},
|
|
85
|
+
messageType: MavlinkMessageType;
|
|
86
|
+
|
|
86
87
|
/**
|
|
87
|
-
*
|
|
88
|
+
* The actual message data - only one field will be set
|
|
88
89
|
*
|
|
89
|
-
* @generated from
|
|
90
|
+
* @generated from oneof flightpath.SubscribeMessagesResponse.message
|
|
90
91
|
*/
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
message: {
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: flightpath.Heartbeat heartbeat = 5;
|
|
95
|
+
*/
|
|
96
|
+
value: Heartbeat;
|
|
97
|
+
case: "heartbeat";
|
|
98
|
+
} | {
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: flightpath.SysStatus sys_status = 6;
|
|
101
|
+
*/
|
|
102
|
+
value: SysStatus;
|
|
103
|
+
case: "sysStatus";
|
|
104
|
+
} | {
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: flightpath.GpsRawInt gps_raw_int = 7;
|
|
107
|
+
*/
|
|
108
|
+
value: GpsRawInt;
|
|
109
|
+
case: "gpsRawInt";
|
|
110
|
+
} | {
|
|
111
|
+
/**
|
|
112
|
+
* @generated from field: flightpath.GlobalPositionInt global_position_int = 8;
|
|
113
|
+
*/
|
|
114
|
+
value: GlobalPositionInt;
|
|
115
|
+
case: "globalPositionInt";
|
|
116
|
+
} | {
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: flightpath.VfrHud vfr_hud = 9;
|
|
119
|
+
*/
|
|
120
|
+
value: VfrHud;
|
|
121
|
+
case: "vfrHud";
|
|
122
|
+
} | {
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: flightpath.RadioStatus radio_status = 10;
|
|
125
|
+
*/
|
|
126
|
+
value: RadioStatus;
|
|
127
|
+
case: "radioStatus";
|
|
128
|
+
} | {
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: flightpath.ExtendedSysState extended_sys_state = 11;
|
|
131
|
+
*/
|
|
132
|
+
value: ExtendedSysState;
|
|
133
|
+
case: "extendedSysState";
|
|
134
|
+
} | {
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: flightpath.StatusText status_text = 12;
|
|
137
|
+
*/
|
|
138
|
+
value: StatusText;
|
|
139
|
+
case: "statusText";
|
|
140
|
+
} | { case: undefined; value?: undefined };
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Describes the message flightpath.SubscribeMessagesResponse.
|
|
145
|
+
* Use `create(SubscribeMessagesResponseSchema)` to create a new message.
|
|
146
|
+
*/
|
|
147
|
+
export const SubscribeMessagesResponseSchema: GenMessage<SubscribeMessagesResponse> = /*@__PURE__*/
|
|
148
|
+
messageDesc(file_flightpath_mavlink_service, 1);
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Send a MAVLink command to the drone
|
|
152
|
+
*
|
|
153
|
+
* @generated from message flightpath.SendCommandRequest
|
|
154
|
+
*/
|
|
155
|
+
export type SendCommandRequest = Message<"flightpath.SendCommandRequest"> & {
|
|
156
|
+
/**
|
|
157
|
+
* Target system ID (typically 1 for autopilot)
|
|
158
|
+
*
|
|
159
|
+
* @generated from field: uint32 target_system_id = 1;
|
|
160
|
+
*/
|
|
161
|
+
targetSystemId: number;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Target component ID (typically 1 for autopilot)
|
|
165
|
+
*
|
|
166
|
+
* @generated from field: uint32 target_component_id = 2;
|
|
167
|
+
*/
|
|
168
|
+
targetComponentId: number;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* MAV_CMD enum value (e.g., 22 for MAV_CMD_NAV_TAKEOFF, 20 for MAV_CMD_NAV_RETURN_TO_LAUNCH)
|
|
172
|
+
*
|
|
173
|
+
* @generated from field: uint32 command = 3;
|
|
174
|
+
*/
|
|
175
|
+
command: number;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Command parameters (param1 through param7)
|
|
179
|
+
*
|
|
180
|
+
* @generated from field: float param1 = 4;
|
|
181
|
+
*/
|
|
182
|
+
param1: number;
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @generated from field: float param2 = 5;
|
|
186
|
+
*/
|
|
187
|
+
param2: number;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* @generated from field: float param3 = 6;
|
|
191
|
+
*/
|
|
192
|
+
param3: number;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @generated from field: float param4 = 7;
|
|
196
|
+
*/
|
|
197
|
+
param4: number;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: float param5 = 8;
|
|
201
|
+
*/
|
|
202
|
+
param5: number;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* @generated from field: float param6 = 9;
|
|
206
|
+
*/
|
|
207
|
+
param6: number;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: float param7 = 10;
|
|
211
|
+
*/
|
|
212
|
+
param7: number;
|
|
213
|
+
};
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Describes the message flightpath.SendCommandRequest.
|
|
217
|
+
* Use `create(SendCommandRequestSchema)` to create a new message.
|
|
218
|
+
*/
|
|
219
|
+
export const SendCommandRequestSchema: GenMessage<SendCommandRequest> = /*@__PURE__*/
|
|
220
|
+
messageDesc(file_flightpath_mavlink_service, 2);
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Response to a SendCommand request
|
|
224
|
+
*
|
|
225
|
+
* @generated from message flightpath.SendCommandResponse
|
|
226
|
+
*/
|
|
227
|
+
export type SendCommandResponse = Message<"flightpath.SendCommandResponse"> & {
|
|
228
|
+
/**
|
|
229
|
+
* Whether the command was sent successfully
|
|
230
|
+
*
|
|
231
|
+
* @generated from field: bool success = 1;
|
|
232
|
+
*/
|
|
233
|
+
success: boolean;
|
|
234
|
+
|
|
96
235
|
/**
|
|
97
|
-
*
|
|
236
|
+
* Error message if the command failed (optional)
|
|
98
237
|
*
|
|
99
|
-
* @generated from
|
|
238
|
+
* @generated from field: string error_message = 2;
|
|
100
239
|
*/
|
|
101
|
-
|
|
240
|
+
errorMessage: string;
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Describes the message flightpath.SendCommandResponse.
|
|
245
|
+
* Use `create(SendCommandResponseSchema)` to create a new message.
|
|
246
|
+
*/
|
|
247
|
+
export const SendCommandResponseSchema: GenMessage<SendCommandResponse> = /*@__PURE__*/
|
|
248
|
+
messageDesc(file_flightpath_mavlink_service, 3);
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* MavlinkMessageType identifies the type of MAVLink message
|
|
252
|
+
*
|
|
253
|
+
* @generated from enum flightpath.MavlinkMessageType
|
|
254
|
+
*/
|
|
255
|
+
export enum MavlinkMessageType {
|
|
256
|
+
/**
|
|
257
|
+
* @generated from enum value: MAVLINK_MESSAGE_TYPE_UNSPECIFIED = 0;
|
|
258
|
+
*/
|
|
259
|
+
UNSPECIFIED = 0,
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* @generated from enum value: MAVLINK_MESSAGE_TYPE_HEARTBEAT = 1;
|
|
263
|
+
*/
|
|
264
|
+
HEARTBEAT = 1,
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* @generated from enum value: MAVLINK_MESSAGE_TYPE_SYS_STATUS = 2;
|
|
268
|
+
*/
|
|
269
|
+
SYS_STATUS = 2,
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* @generated from enum value: MAVLINK_MESSAGE_TYPE_GPS_RAW_INT = 3;
|
|
273
|
+
*/
|
|
274
|
+
GPS_RAW_INT = 3,
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* @generated from enum value: MAVLINK_MESSAGE_TYPE_GLOBAL_POSITION_INT = 4;
|
|
278
|
+
*/
|
|
279
|
+
GLOBAL_POSITION_INT = 4,
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* @generated from enum value: MAVLINK_MESSAGE_TYPE_VFR_HUD = 5;
|
|
283
|
+
*/
|
|
284
|
+
VFR_HUD = 5,
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @generated from enum value: MAVLINK_MESSAGE_TYPE_RADIO_STATUS = 6;
|
|
288
|
+
*/
|
|
289
|
+
RADIO_STATUS = 6,
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* @generated from enum value: MAVLINK_MESSAGE_TYPE_EXTENDED_SYS_STATE = 7;
|
|
293
|
+
*/
|
|
294
|
+
EXTENDED_SYS_STATE = 7,
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* @generated from enum value: MAVLINK_MESSAGE_TYPE_STATUSTEXT = 8;
|
|
298
|
+
*/
|
|
299
|
+
STATUSTEXT = 8,
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Describes the enum flightpath.MavlinkMessageType.
|
|
304
|
+
*/
|
|
305
|
+
export const MavlinkMessageTypeSchema: GenEnum<MavlinkMessageType> = /*@__PURE__*/
|
|
306
|
+
enumDesc(file_flightpath_mavlink_service, 0);
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* MAVLinkService handles all MAVLink messages
|
|
310
|
+
*
|
|
311
|
+
* @generated from service flightpath.MAVLinkService
|
|
312
|
+
*/
|
|
313
|
+
export const MAVLinkService: GenService<{
|
|
314
|
+
/**
|
|
315
|
+
* Subscribe to all MAVLink messages (or a filtered subset)
|
|
316
|
+
*
|
|
317
|
+
* @generated from rpc flightpath.MAVLinkService.SubscribeMessages
|
|
318
|
+
*/
|
|
319
|
+
subscribeMessages: {
|
|
102
320
|
methodKind: "server_streaming";
|
|
103
|
-
input: typeof
|
|
104
|
-
output: typeof
|
|
321
|
+
input: typeof SubscribeMessagesRequestSchema;
|
|
322
|
+
output: typeof SubscribeMessagesResponseSchema;
|
|
105
323
|
},
|
|
106
324
|
/**
|
|
107
|
-
*
|
|
325
|
+
* Send a MAVLink command to the drone
|
|
108
326
|
*
|
|
109
|
-
* @generated from rpc flightpath.MAVLinkService.
|
|
327
|
+
* @generated from rpc flightpath.MAVLinkService.SendCommand
|
|
110
328
|
*/
|
|
111
|
-
|
|
112
|
-
methodKind: "
|
|
113
|
-
input: typeof
|
|
114
|
-
output: typeof
|
|
329
|
+
sendCommand: {
|
|
330
|
+
methodKind: "unary";
|
|
331
|
+
input: typeof SendCommandRequestSchema;
|
|
332
|
+
output: typeof SendCommandResponseSchema;
|
|
115
333
|
},
|
|
116
334
|
}> = /*@__PURE__*/
|
|
117
335
|
serviceDesc(file_flightpath_mavlink_service, 0);
|