@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;
|
|
@@ -5357,7 +5357,7 @@ interface ParsedMAVLinkMessage {
|
|
|
5357
5357
|
message_id: number;
|
|
5358
5358
|
message_name: string;
|
|
5359
5359
|
sequence: number;
|
|
5360
|
-
payload: Record<string,
|
|
5360
|
+
payload: Record<string, unknown>;
|
|
5361
5361
|
protocol_version: 1 | 2;
|
|
5362
5362
|
checksum: number;
|
|
5363
5363
|
crc_ok: boolean;
|
|
@@ -5376,6 +5376,8 @@ interface MAVLinkFrame {
|
|
|
5376
5376
|
payload: Uint8Array;
|
|
5377
5377
|
checksum: number;
|
|
5378
5378
|
signature?: Uint8Array;
|
|
5379
|
+
crc_ok?: boolean;
|
|
5380
|
+
protocol_version?: 1 | 2;
|
|
5379
5381
|
}
|
|
5380
5382
|
interface MessageDefinition {
|
|
5381
5383
|
id: number;
|
|
@@ -5397,10 +5399,7 @@ declare abstract class DialectParser {
|
|
|
5397
5399
|
parseBytes(data: Uint8Array): ParsedMAVLinkMessage[];
|
|
5398
5400
|
private tryParseFrame;
|
|
5399
5401
|
resetBuffer(): void;
|
|
5400
|
-
decode(frame: MAVLinkFrame
|
|
5401
|
-
crc_ok?: boolean;
|
|
5402
|
-
protocol_version?: 1 | 2;
|
|
5403
|
-
}): ParsedMAVLinkMessage;
|
|
5402
|
+
decode(frame: MAVLinkFrame): ParsedMAVLinkMessage;
|
|
5404
5403
|
private decodePayload;
|
|
5405
5404
|
private getDefaultValue;
|
|
5406
5405
|
private decodeField;
|