@aircast-4g/mavlink 1.1.6 → 1.1.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.
- package/README.md +261 -111
- package/dist/dialects/ardupilotmega/index.d.ts +5 -6
- package/dist/dialects/ardupilotmega/index.js +268 -264
- package/dist/dialects/ardupilotmega/index.js.map +1 -1
- package/dist/dialects/common/index.d.ts +5 -6
- package/dist/dialects/common/index.js +192 -188
- package/dist/dialects/common/index.js.map +1 -1
- package/dist/dialects/minimal/index.d.ts +5 -6
- package/dist/dialects/minimal/index.js +11 -7
- package/dist/dialects/minimal/index.js.map +1 -1
- package/dist/dialects/paparazzi/index.d.ts +5 -6
- package/dist/dialects/paparazzi/index.js +193 -189
- package/dist/dialects/paparazzi/index.js.map +1 -1
- package/dist/dialects/python_array_test/index.d.ts +5 -6
- package/dist/dialects/python_array_test/index.js +221 -217
- package/dist/dialects/python_array_test/index.js.map +1 -1
- package/dist/dialects/standard/index.d.ts +5 -6
- package/dist/dialects/standard/index.js +11 -7
- package/dist/dialects/standard/index.js.map +1 -1
- package/dist/dialects/test/index.d.ts +5 -6
- package/dist/dialects/test/index.js +20 -16
- package/dist/dialects/test/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ interface ParsedMAVLinkMessage$1 {
|
|
|
5
5
|
message_id: number;
|
|
6
6
|
message_name: string;
|
|
7
7
|
sequence: number;
|
|
8
|
-
payload: Record<string,
|
|
8
|
+
payload: Record<string, unknown>;
|
|
9
9
|
protocol_version: 1 | 2;
|
|
10
10
|
checksum: number;
|
|
11
11
|
crc_ok: boolean;
|
|
@@ -5273,7 +5273,7 @@ interface ParsedMAVLinkMessage {
|
|
|
5273
5273
|
message_id: number;
|
|
5274
5274
|
message_name: string;
|
|
5275
5275
|
sequence: number;
|
|
5276
|
-
payload: Record<string,
|
|
5276
|
+
payload: Record<string, unknown>;
|
|
5277
5277
|
protocol_version: 1 | 2;
|
|
5278
5278
|
checksum: number;
|
|
5279
5279
|
crc_ok: boolean;
|
|
@@ -5292,6 +5292,8 @@ interface MAVLinkFrame {
|
|
|
5292
5292
|
payload: Uint8Array;
|
|
5293
5293
|
checksum: number;
|
|
5294
5294
|
signature?: Uint8Array;
|
|
5295
|
+
crc_ok?: boolean;
|
|
5296
|
+
protocol_version?: 1 | 2;
|
|
5295
5297
|
}
|
|
5296
5298
|
interface MessageDefinition {
|
|
5297
5299
|
id: number;
|
|
@@ -5313,10 +5315,7 @@ declare abstract class DialectParser {
|
|
|
5313
5315
|
parseBytes(data: Uint8Array): ParsedMAVLinkMessage[];
|
|
5314
5316
|
private tryParseFrame;
|
|
5315
5317
|
resetBuffer(): void;
|
|
5316
|
-
decode(frame: MAVLinkFrame
|
|
5317
|
-
crc_ok?: boolean;
|
|
5318
|
-
protocol_version?: 1 | 2;
|
|
5319
|
-
}): ParsedMAVLinkMessage;
|
|
5318
|
+
decode(frame: MAVLinkFrame): ParsedMAVLinkMessage;
|
|
5320
5319
|
private decodePayload;
|
|
5321
5320
|
private getDefaultValue;
|
|
5322
5321
|
private decodeField;
|