fossekall-interface 0.1.149 → 0.1.150
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.
|
@@ -1,3 +1,35 @@
|
|
|
1
|
-
|
|
1
|
+
import bin from 'typed-binary';
|
|
2
|
+
export declare const Commands_StateCommands: {
|
|
3
|
+
readonly IDLE: 0;
|
|
4
|
+
readonly OPEN_FILLING: 1;
|
|
5
|
+
readonly OPEN_RECOVERY_FILL: 2;
|
|
6
|
+
readonly EXPECT_LIFTOFF: 3;
|
|
7
|
+
readonly OPEN_FLOTATION_FILL: 4;
|
|
8
|
+
readonly SEPERATION: 5;
|
|
9
|
+
readonly FLOTATION: 6;
|
|
10
|
+
};
|
|
11
|
+
export type Commands_StateCommands = (typeof Commands_StateCommands)[keyof typeof Commands_StateCommands];
|
|
12
|
+
export declare const Commands_FSMStateCommand: import("typed-binary").ObjectSchema<{
|
|
13
|
+
command: import("typed-binary").ByteSchema;
|
|
14
|
+
}>;
|
|
15
|
+
export type Commands_FSMStateCommand = bin.Parsed<typeof Commands_FSMStateCommand>;
|
|
16
|
+
export declare const spec: {
|
|
17
|
+
Commands_FSMStateCommand: {
|
|
18
|
+
schema: import("typed-binary").ObjectSchema<{
|
|
19
|
+
command: import("typed-binary").ByteSchema;
|
|
20
|
+
}>;
|
|
21
|
+
enums: {
|
|
22
|
+
command: {
|
|
23
|
+
readonly IDLE: 0;
|
|
24
|
+
readonly OPEN_FILLING: 1;
|
|
25
|
+
readonly OPEN_RECOVERY_FILL: 2;
|
|
26
|
+
readonly EXPECT_LIFTOFF: 3;
|
|
27
|
+
readonly OPEN_FLOTATION_FILL: 4;
|
|
28
|
+
readonly SEPERATION: 5;
|
|
29
|
+
readonly FLOTATION: 6;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
2
34
|
export default spec;
|
|
3
35
|
export type Spec = typeof spec;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Measurer, Schema } from 'typed-binary';
|
|
2
|
-
// This file was generated by FRICC on 2026-07-
|
|
1
|
+
import bin, { Measurer, Schema } from 'typed-binary';
|
|
2
|
+
// This file was generated by FRICC on 2026-07-18 16:20:50. Do not edit manually!
|
|
3
3
|
// The current version of typed-binary does not support 64-bit primitives.
|
|
4
4
|
// So for we'll implement our own schemas. :)
|
|
5
5
|
const __littleEndian = true;
|
|
@@ -60,5 +60,24 @@ class Float64Schema extends Schema {
|
|
|
60
60
|
const u64 = new UInt64Schema();
|
|
61
61
|
const i64 = new Int64Schema();
|
|
62
62
|
const f64 = new Float64Schema();
|
|
63
|
-
export const
|
|
63
|
+
export const Commands_StateCommands = {
|
|
64
|
+
IDLE: 0,
|
|
65
|
+
OPEN_FILLING: 1,
|
|
66
|
+
OPEN_RECOVERY_FILL: 2,
|
|
67
|
+
EXPECT_LIFTOFF: 3,
|
|
68
|
+
OPEN_FLOTATION_FILL: 4,
|
|
69
|
+
SEPERATION: 5,
|
|
70
|
+
FLOTATION: 6,
|
|
71
|
+
};
|
|
72
|
+
export const Commands_FSMStateCommand = bin.object({
|
|
73
|
+
command: bin.u8, // Commands::StateCommands
|
|
74
|
+
});
|
|
75
|
+
export const spec = {
|
|
76
|
+
Commands_FSMStateCommand: {
|
|
77
|
+
schema: Commands_FSMStateCommand,
|
|
78
|
+
enums: {
|
|
79
|
+
command: Commands_StateCommands,
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
};
|
|
64
83
|
export default spec;
|
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"structs": {
|
|
4
|
-
|
|
3
|
+
"structs": {
|
|
4
|
+
"Commands::FSMStateCommand": {
|
|
5
|
+
"kind": "struct",
|
|
6
|
+
"type": "Commands::FSMStateCommand",
|
|
7
|
+
"fields": [
|
|
8
|
+
{
|
|
9
|
+
"name": "command",
|
|
10
|
+
"kind": "enum",
|
|
11
|
+
"type": "Commands::StateCommands",
|
|
12
|
+
"format_string": "<B"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"format_string": "<B"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"enums": {
|
|
19
|
+
"Commands::StateCommands": {
|
|
20
|
+
"IDLE": 0,
|
|
21
|
+
"OPEN_FILLING": 1,
|
|
22
|
+
"OPEN_RECOVERY_FILL": 2,
|
|
23
|
+
"EXPECT_LIFTOFF": 3,
|
|
24
|
+
"OPEN_FLOTATION_FILL": 4,
|
|
25
|
+
"SEPERATION": 5,
|
|
26
|
+
"FLOTATION": 6
|
|
27
|
+
}
|
|
28
|
+
}
|
|
5
29
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import bin, { Measurer, Schema } from 'typed-binary';
|
|
2
|
-
// This file was generated by FRICC on 2026-07-18
|
|
2
|
+
// This file was generated by FRICC on 2026-07-18 16:20:50. Do not edit manually!
|
|
3
3
|
// The current version of typed-binary does not support 64-bit primitives.
|
|
4
4
|
// So for we'll implement our own schemas. :)
|
|
5
5
|
const __littleEndian = true;
|