fossekall-interface 0.1.28 → 0.1.30
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.
|
@@ -27,18 +27,6 @@ export declare const StateId: {
|
|
|
27
27
|
readonly Calibrate: 13;
|
|
28
28
|
};
|
|
29
29
|
export type StateId = (typeof StateId)[keyof typeof StateId];
|
|
30
|
-
export declare const Event: {
|
|
31
|
-
readonly Boot: 0;
|
|
32
|
-
readonly NextState: 1;
|
|
33
|
-
readonly PreviousState: 2;
|
|
34
|
-
readonly Timeout: 3;
|
|
35
|
-
readonly CalibrateRequest: 4;
|
|
36
|
-
readonly BurnwireCut: 5;
|
|
37
|
-
readonly Abort: 6;
|
|
38
|
-
readonly None: 7;
|
|
39
|
-
readonly Count: 8;
|
|
40
|
-
};
|
|
41
|
-
export type Event = (typeof Event)[keyof typeof Event];
|
|
42
30
|
export declare const node_servo_Id: {
|
|
43
31
|
readonly MainFuel: 0;
|
|
44
32
|
readonly MainOx: 1;
|
|
@@ -104,6 +92,10 @@ export declare const FsmCommands_NextStatePayload: import("typed-binary").Object
|
|
|
104
92
|
current_state: import("typed-binary").ByteSchema;
|
|
105
93
|
}>;
|
|
106
94
|
export type FsmCommands_NextStatePayload = bin.Parsed<typeof FsmCommands_NextStatePayload>;
|
|
95
|
+
export declare const FsmCommands_PreviousStatePayload: import("typed-binary").ObjectSchema<{
|
|
96
|
+
current_state: import("typed-binary").ByteSchema;
|
|
97
|
+
}>;
|
|
98
|
+
export type FsmCommands_PreviousStatePayload = bin.Parsed<typeof FsmCommands_PreviousStatePayload>;
|
|
107
99
|
export declare const FsmCommands_AbortPayload: import("typed-binary").ObjectSchema<{
|
|
108
100
|
reserved: import("typed-binary").ByteSchema;
|
|
109
101
|
}>;
|
|
@@ -112,10 +104,6 @@ export declare const FsmCommands_StatusPayload: import("typed-binary").ObjectSch
|
|
|
112
104
|
reserved: import("typed-binary").ByteSchema;
|
|
113
105
|
}>;
|
|
114
106
|
export type FsmCommands_StatusPayload = bin.Parsed<typeof FsmCommands_StatusPayload>;
|
|
115
|
-
export declare const FsmCommands_RaiseEventPayload: import("typed-binary").ObjectSchema<{
|
|
116
|
-
event: import("typed-binary").ByteSchema;
|
|
117
|
-
}>;
|
|
118
|
-
export type FsmCommands_RaiseEventPayload = bin.Parsed<typeof FsmCommands_RaiseEventPayload>;
|
|
119
107
|
export declare const ServoCommands_OpenCloseServoPayload: import("typed-binary").ObjectSchema<{
|
|
120
108
|
servo_id: import("typed-binary").ByteSchema;
|
|
121
109
|
open_close: import("typed-binary").ByteSchema;
|
|
@@ -203,38 +191,43 @@ export declare const spec: {
|
|
|
203
191
|
};
|
|
204
192
|
};
|
|
205
193
|
};
|
|
206
|
-
|
|
194
|
+
FsmCommands_PreviousStatePayload: {
|
|
207
195
|
id: number;
|
|
208
196
|
schema: import("typed-binary").ObjectSchema<{
|
|
209
|
-
|
|
197
|
+
current_state: import("typed-binary").ByteSchema;
|
|
210
198
|
}>;
|
|
211
|
-
enums: {
|
|
199
|
+
enums: {
|
|
200
|
+
current_state: {
|
|
201
|
+
readonly Safe: 0;
|
|
202
|
+
readonly N2Fill: 1;
|
|
203
|
+
readonly PostN2Fill: 2;
|
|
204
|
+
readonly OxFill: 3;
|
|
205
|
+
readonly PostOxFill: 4;
|
|
206
|
+
readonly Prechill: 5;
|
|
207
|
+
readonly PostPrechill: 6;
|
|
208
|
+
readonly QDDisconnect: 7;
|
|
209
|
+
readonly Pressurized: 8;
|
|
210
|
+
readonly Armed: 9;
|
|
211
|
+
readonly Burn: 10;
|
|
212
|
+
readonly Shutdown: 11;
|
|
213
|
+
readonly PostShutdown: 12;
|
|
214
|
+
readonly Calibrate: 13;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
212
217
|
};
|
|
213
|
-
|
|
218
|
+
FsmCommands_AbortPayload: {
|
|
214
219
|
id: number;
|
|
215
220
|
schema: import("typed-binary").ObjectSchema<{
|
|
216
221
|
reserved: import("typed-binary").ByteSchema;
|
|
217
222
|
}>;
|
|
218
223
|
enums: {};
|
|
219
224
|
};
|
|
220
|
-
|
|
225
|
+
FsmCommands_StatusPayload: {
|
|
221
226
|
id: number;
|
|
222
227
|
schema: import("typed-binary").ObjectSchema<{
|
|
223
|
-
|
|
228
|
+
reserved: import("typed-binary").ByteSchema;
|
|
224
229
|
}>;
|
|
225
|
-
enums: {
|
|
226
|
-
event: {
|
|
227
|
-
readonly Boot: 0;
|
|
228
|
-
readonly NextState: 1;
|
|
229
|
-
readonly PreviousState: 2;
|
|
230
|
-
readonly Timeout: 3;
|
|
231
|
-
readonly CalibrateRequest: 4;
|
|
232
|
-
readonly BurnwireCut: 5;
|
|
233
|
-
readonly Abort: 6;
|
|
234
|
-
readonly None: 7;
|
|
235
|
-
readonly Count: 8;
|
|
236
|
-
};
|
|
237
|
-
};
|
|
230
|
+
enums: {};
|
|
238
231
|
};
|
|
239
232
|
ServoCommands_OpenCloseServoPayload: {
|
|
240
233
|
id: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import bin, { Measurer, Schema } from 'typed-binary';
|
|
2
|
-
// This file was generated by FRICC on 2026-03-26
|
|
2
|
+
// This file was generated by FRICC on 2026-03-26 17:15:52. 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;
|
|
@@ -85,17 +85,6 @@ export const StateId = {
|
|
|
85
85
|
PostShutdown: 12,
|
|
86
86
|
Calibrate: 13,
|
|
87
87
|
};
|
|
88
|
-
export const Event = {
|
|
89
|
-
Boot: 0,
|
|
90
|
-
NextState: 1,
|
|
91
|
-
PreviousState: 2,
|
|
92
|
-
Timeout: 3,
|
|
93
|
-
CalibrateRequest: 4,
|
|
94
|
-
BurnwireCut: 5,
|
|
95
|
-
Abort: 6,
|
|
96
|
-
None: 7,
|
|
97
|
-
Count: 8,
|
|
98
|
-
};
|
|
99
88
|
export const node_servo_Id = {
|
|
100
89
|
MainFuel: 0,
|
|
101
90
|
MainOx: 1,
|
|
@@ -150,15 +139,15 @@ export const BldcCommands_SetBldcPayload = bin.object({
|
|
|
150
139
|
export const FsmCommands_NextStatePayload = bin.object({
|
|
151
140
|
current_state: bin.u8, // StateId
|
|
152
141
|
});
|
|
142
|
+
export const FsmCommands_PreviousStatePayload = bin.object({
|
|
143
|
+
current_state: bin.u8, // StateId
|
|
144
|
+
});
|
|
153
145
|
export const FsmCommands_AbortPayload = bin.object({
|
|
154
146
|
reserved: bin.u8, // unsigned char
|
|
155
147
|
});
|
|
156
148
|
export const FsmCommands_StatusPayload = bin.object({
|
|
157
149
|
reserved: bin.u8, // unsigned char
|
|
158
150
|
});
|
|
159
|
-
export const FsmCommands_RaiseEventPayload = bin.object({
|
|
160
|
-
event: bin.u8, // Event
|
|
161
|
-
});
|
|
162
151
|
export const ServoCommands_OpenCloseServoPayload = bin.object({
|
|
163
152
|
servo_id: bin.u8, // node::servo::Id
|
|
164
153
|
open_close: bin.u8, // ServoCommands::OpenClose
|
|
@@ -212,23 +201,23 @@ export const spec = {
|
|
|
212
201
|
current_state: StateId,
|
|
213
202
|
},
|
|
214
203
|
},
|
|
215
|
-
|
|
204
|
+
FsmCommands_PreviousStatePayload: {
|
|
216
205
|
id: 33,
|
|
206
|
+
schema: FsmCommands_PreviousStatePayload,
|
|
207
|
+
enums: {
|
|
208
|
+
current_state: StateId,
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
FsmCommands_AbortPayload: {
|
|
212
|
+
id: 34,
|
|
217
213
|
schema: FsmCommands_AbortPayload,
|
|
218
214
|
enums: {},
|
|
219
215
|
},
|
|
220
216
|
FsmCommands_StatusPayload: {
|
|
221
|
-
id:
|
|
217
|
+
id: 35,
|
|
222
218
|
schema: FsmCommands_StatusPayload,
|
|
223
219
|
enums: {},
|
|
224
220
|
},
|
|
225
|
-
FsmCommands_RaiseEventPayload: {
|
|
226
|
-
id: 35,
|
|
227
|
-
schema: FsmCommands_RaiseEventPayload,
|
|
228
|
-
enums: {
|
|
229
|
-
event: Event,
|
|
230
|
-
},
|
|
231
|
-
},
|
|
232
221
|
ServoCommands_OpenCloseServoPayload: {
|
|
233
222
|
id: 48,
|
|
234
223
|
schema: ServoCommands_OpenCloseServoPayload,
|
|
@@ -36,9 +36,10 @@ export declare const Event: {
|
|
|
36
36
|
export type Event = (typeof Event)[keyof typeof Event];
|
|
37
37
|
export declare const fsm_AbortReason: {
|
|
38
38
|
readonly None: 0;
|
|
39
|
-
readonly
|
|
40
|
-
readonly
|
|
41
|
-
readonly
|
|
39
|
+
readonly Manual: 1;
|
|
40
|
+
readonly FuelTankOverpressure: 2;
|
|
41
|
+
readonly OxTankOverpressure: 3;
|
|
42
|
+
readonly ChamberUnderpressure: 4;
|
|
42
43
|
};
|
|
43
44
|
export type fsm_AbortReason = (typeof fsm_AbortReason)[keyof typeof fsm_AbortReason];
|
|
44
45
|
export declare const node_pressure_sensor_Id: {
|
|
@@ -326,9 +327,10 @@ export declare const spec: {
|
|
|
326
327
|
};
|
|
327
328
|
last_abort_reason: {
|
|
328
329
|
readonly None: 0;
|
|
329
|
-
readonly
|
|
330
|
-
readonly
|
|
331
|
-
readonly
|
|
330
|
+
readonly Manual: 1;
|
|
331
|
+
readonly FuelTankOverpressure: 2;
|
|
332
|
+
readonly OxTankOverpressure: 3;
|
|
333
|
+
readonly ChamberUnderpressure: 4;
|
|
332
334
|
};
|
|
333
335
|
};
|
|
334
336
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import bin, { Measurer, Schema } from 'typed-binary';
|
|
2
|
-
// This file was generated by FRICC on 2026-03-26
|
|
2
|
+
// This file was generated by FRICC on 2026-03-26 17:15:49. 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;
|
|
@@ -89,9 +89,10 @@ export const Event = {
|
|
|
89
89
|
};
|
|
90
90
|
export const fsm_AbortReason = {
|
|
91
91
|
None: 0,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
Manual: 1,
|
|
93
|
+
FuelTankOverpressure: 2,
|
|
94
|
+
OxTankOverpressure: 3,
|
|
95
|
+
ChamberUnderpressure: 4,
|
|
95
96
|
};
|
|
96
97
|
export const node_pressure_sensor_Id = {
|
|
97
98
|
N2Tank: 0,
|