@flightpath/flightpath 0.0.5 → 0.0.6

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,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
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flightpath/flightpath",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Go platform exposing a gRPC API to control a drone",
5
5
  "type": "module",
6
6
  "files": [