fossekall-interface 0.1.61 → 0.1.63
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,5 +1,5 @@
|
|
|
1
1
|
import bin, { Measurer, Schema } from 'typed-binary';
|
|
2
|
-
// This file was generated by FRICC on 2026-04-03
|
|
2
|
+
// This file was generated by FRICC on 2026-04-03 18:55:18. 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;
|
|
@@ -224,7 +224,7 @@ export declare const actuators_servo_ServoStatus: import("typed-binary").ObjectS
|
|
|
224
224
|
}>;
|
|
225
225
|
export type actuators_servo_ServoStatus = bin.Parsed<typeof actuators_servo_ServoStatus>;
|
|
226
226
|
export declare const ServoStatusPacket: import("typed-binary").ObjectSchema<{
|
|
227
|
-
|
|
227
|
+
servo_id: import("typed-binary").ByteSchema;
|
|
228
228
|
timestamp_ms: import("typed-binary").Uint32Schema;
|
|
229
229
|
status: import("typed-binary").ObjectSchema<{
|
|
230
230
|
commanded_angle_deg: import("typed-binary").Float32Schema;
|
|
@@ -242,7 +242,7 @@ export declare const actuators_solenoid_SolenoidStatus: import("typed-binary").O
|
|
|
242
242
|
}>;
|
|
243
243
|
export type actuators_solenoid_SolenoidStatus = bin.Parsed<typeof actuators_solenoid_SolenoidStatus>;
|
|
244
244
|
export declare const SolenoidStatusPacket: import("typed-binary").ObjectSchema<{
|
|
245
|
-
|
|
245
|
+
solenoid_id: import("typed-binary").ByteSchema;
|
|
246
246
|
timestamp_ms: import("typed-binary").Uint32Schema;
|
|
247
247
|
status: import("typed-binary").ObjectSchema<{
|
|
248
248
|
power_state: import("typed-binary").ByteSchema;
|
|
@@ -267,7 +267,7 @@ export declare const regulators_RegulatorStatus: import("typed-binary").ObjectSc
|
|
|
267
267
|
}>;
|
|
268
268
|
export type regulators_RegulatorStatus = bin.Parsed<typeof regulators_RegulatorStatus>;
|
|
269
269
|
export declare const RegulatorStatusPacket: import("typed-binary").ObjectSchema<{
|
|
270
|
-
|
|
270
|
+
regulator_id: import("typed-binary").ByteSchema;
|
|
271
271
|
timestamp_ms: import("typed-binary").Uint32Schema;
|
|
272
272
|
status: import("typed-binary").ObjectSchema<{
|
|
273
273
|
operator_enabled: import("typed-binary").BoolSchema;
|
|
@@ -343,6 +343,7 @@ export declare const spec: {
|
|
|
343
343
|
};
|
|
344
344
|
BldcTelemetryPacket: {
|
|
345
345
|
port: number;
|
|
346
|
+
fragment: string;
|
|
346
347
|
schema: import("typed-binary").ObjectSchema<{
|
|
347
348
|
bldc_id: import("typed-binary").ByteSchema;
|
|
348
349
|
fsm_state: import("typed-binary").ByteSchema;
|
|
@@ -460,6 +461,7 @@ export declare const spec: {
|
|
|
460
461
|
};
|
|
461
462
|
PressureSensorPacket: {
|
|
462
463
|
port: number;
|
|
464
|
+
fragment: string;
|
|
463
465
|
schema: import("typed-binary").ObjectSchema<{
|
|
464
466
|
sensor_id: import("typed-binary").ByteSchema;
|
|
465
467
|
data: import("typed-binary").ObjectSchema<{
|
|
@@ -489,8 +491,9 @@ export declare const spec: {
|
|
|
489
491
|
};
|
|
490
492
|
ServoStatusPacket: {
|
|
491
493
|
port: number;
|
|
494
|
+
fragment: string;
|
|
492
495
|
schema: import("typed-binary").ObjectSchema<{
|
|
493
|
-
|
|
496
|
+
servo_id: import("typed-binary").ByteSchema;
|
|
494
497
|
timestamp_ms: import("typed-binary").Uint32Schema;
|
|
495
498
|
status: import("typed-binary").ObjectSchema<{
|
|
496
499
|
commanded_angle_deg: import("typed-binary").Float32Schema;
|
|
@@ -502,7 +505,7 @@ export declare const spec: {
|
|
|
502
505
|
}>;
|
|
503
506
|
}>;
|
|
504
507
|
enums: {
|
|
505
|
-
|
|
508
|
+
servo_id: {
|
|
506
509
|
readonly MainFuel: 0;
|
|
507
510
|
readonly MainOx: 1;
|
|
508
511
|
readonly OxFill: 2;
|
|
@@ -527,8 +530,9 @@ export declare const spec: {
|
|
|
527
530
|
};
|
|
528
531
|
SolenoidStatusPacket: {
|
|
529
532
|
port: number;
|
|
533
|
+
fragment: string;
|
|
530
534
|
schema: import("typed-binary").ObjectSchema<{
|
|
531
|
-
|
|
535
|
+
solenoid_id: import("typed-binary").ByteSchema;
|
|
532
536
|
timestamp_ms: import("typed-binary").Uint32Schema;
|
|
533
537
|
status: import("typed-binary").ObjectSchema<{
|
|
534
538
|
power_state: import("typed-binary").ByteSchema;
|
|
@@ -536,7 +540,7 @@ export declare const spec: {
|
|
|
536
540
|
}>;
|
|
537
541
|
}>;
|
|
538
542
|
enums: {
|
|
539
|
-
|
|
543
|
+
solenoid_id: {
|
|
540
544
|
readonly FuelVent: 0;
|
|
541
545
|
readonly OxVent: 1;
|
|
542
546
|
readonly N2Fill: 2;
|
|
@@ -563,8 +567,9 @@ export declare const spec: {
|
|
|
563
567
|
};
|
|
564
568
|
RegulatorStatusPacket: {
|
|
565
569
|
port: number;
|
|
570
|
+
fragment: string;
|
|
566
571
|
schema: import("typed-binary").ObjectSchema<{
|
|
567
|
-
|
|
572
|
+
regulator_id: import("typed-binary").ByteSchema;
|
|
568
573
|
timestamp_ms: import("typed-binary").Uint32Schema;
|
|
569
574
|
status: import("typed-binary").ObjectSchema<{
|
|
570
575
|
operator_enabled: import("typed-binary").BoolSchema;
|
|
@@ -583,7 +588,7 @@ export declare const spec: {
|
|
|
583
588
|
}>;
|
|
584
589
|
}>;
|
|
585
590
|
enums: {
|
|
586
|
-
|
|
591
|
+
regulator_id: {
|
|
587
592
|
readonly OxBoiloff: 0;
|
|
588
593
|
readonly Count: 1;
|
|
589
594
|
};
|
|
@@ -608,6 +613,7 @@ export declare const spec: {
|
|
|
608
613
|
};
|
|
609
614
|
LoadCellPacket: {
|
|
610
615
|
port: number;
|
|
616
|
+
fragment: string;
|
|
611
617
|
schema: import("typed-binary").ObjectSchema<{
|
|
612
618
|
loadcell_id: import("typed-binary").ByteSchema;
|
|
613
619
|
data: import("typed-binary").ObjectSchema<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import bin, { Measurer, Schema } from 'typed-binary';
|
|
2
|
-
// This file was generated by FRICC on 2026-04-03
|
|
2
|
+
// This file was generated by FRICC on 2026-04-03 18:55:16. 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;
|
|
@@ -206,7 +206,7 @@ export const sensors_pressure_PressureBatch = bin.object({
|
|
|
206
206
|
count: bin.u8, // unsigned char
|
|
207
207
|
seq: bin.u8, // unsigned char
|
|
208
208
|
overrun: bin.bool, // bool
|
|
209
|
-
samples: bin.arrayOf(bin.i16,
|
|
209
|
+
samples: bin.arrayOf(bin.i16, 20), // short[20]
|
|
210
210
|
});
|
|
211
211
|
export const PressureSensorPacket = bin.object({
|
|
212
212
|
sensor_id: bin.u8, // node::pressure_sensor::Id
|
|
@@ -221,7 +221,7 @@ export const actuators_servo_ServoStatus = bin.object({
|
|
|
221
221
|
power_state: bin.u8, // actuators::servo::PowerState
|
|
222
222
|
});
|
|
223
223
|
export const ServoStatusPacket = bin.object({
|
|
224
|
-
|
|
224
|
+
servo_id: bin.u8, // node::servo::Id
|
|
225
225
|
timestamp_ms: bin.u32, // unsigned int
|
|
226
226
|
status: actuators_servo_ServoStatus, // actuators::servo::ServoStatus
|
|
227
227
|
});
|
|
@@ -230,7 +230,7 @@ export const actuators_solenoid_SolenoidStatus = bin.object({
|
|
|
230
230
|
opening: bin.u8, // actuators::solenoid::Opening
|
|
231
231
|
});
|
|
232
232
|
export const SolenoidStatusPacket = bin.object({
|
|
233
|
-
|
|
233
|
+
solenoid_id: bin.u8, // node::solenoid::Id
|
|
234
234
|
timestamp_ms: bin.u32, // unsigned int
|
|
235
235
|
status: actuators_solenoid_SolenoidStatus, // actuators::solenoid::SolenoidStatus
|
|
236
236
|
});
|
|
@@ -250,7 +250,7 @@ export const regulators_RegulatorStatus = bin.object({
|
|
|
250
250
|
last_update_ms: bin.u32, // unsigned int
|
|
251
251
|
});
|
|
252
252
|
export const RegulatorStatusPacket = bin.object({
|
|
253
|
-
|
|
253
|
+
regulator_id: bin.u8, // node::regulator::Id
|
|
254
254
|
timestamp_ms: bin.u32, // unsigned int
|
|
255
255
|
status: regulators_RegulatorStatus, // regulators::RegulatorStatus
|
|
256
256
|
});
|
|
@@ -286,6 +286,7 @@ export const spec = {
|
|
|
286
286
|
},
|
|
287
287
|
BldcTelemetryPacket: {
|
|
288
288
|
port: 5000,
|
|
289
|
+
fragment: 'bldc_id',
|
|
289
290
|
schema: BldcTelemetryPacket,
|
|
290
291
|
enums: {
|
|
291
292
|
bldc_id: node_bldc_Id,
|
|
@@ -307,6 +308,7 @@ export const spec = {
|
|
|
307
308
|
},
|
|
308
309
|
PressureSensorPacket: {
|
|
309
310
|
port: 5002,
|
|
311
|
+
fragment: 'sensor_id',
|
|
310
312
|
schema: PressureSensorPacket,
|
|
311
313
|
enums: {
|
|
312
314
|
sensor_id: node_pressure_sensor_Id,
|
|
@@ -315,9 +317,10 @@ export const spec = {
|
|
|
315
317
|
},
|
|
316
318
|
ServoStatusPacket: {
|
|
317
319
|
port: 5003,
|
|
320
|
+
fragment: 'servo_id',
|
|
318
321
|
schema: ServoStatusPacket,
|
|
319
322
|
enums: {
|
|
320
|
-
|
|
323
|
+
servo_id: node_servo_Id,
|
|
321
324
|
status: {
|
|
322
325
|
mode: actuators_servo_ServoMode,
|
|
323
326
|
power_state: actuators_servo_PowerState,
|
|
@@ -326,9 +329,10 @@ export const spec = {
|
|
|
326
329
|
},
|
|
327
330
|
SolenoidStatusPacket: {
|
|
328
331
|
port: 5004,
|
|
332
|
+
fragment: 'solenoid_id',
|
|
329
333
|
schema: SolenoidStatusPacket,
|
|
330
334
|
enums: {
|
|
331
|
-
|
|
335
|
+
solenoid_id: node_solenoid_Id,
|
|
332
336
|
status: {
|
|
333
337
|
power_state: actuators_solenoid_PowerState,
|
|
334
338
|
opening: actuators_solenoid_Opening,
|
|
@@ -337,9 +341,10 @@ export const spec = {
|
|
|
337
341
|
},
|
|
338
342
|
RegulatorStatusPacket: {
|
|
339
343
|
port: 5005,
|
|
344
|
+
fragment: 'regulator_id',
|
|
340
345
|
schema: RegulatorStatusPacket,
|
|
341
346
|
enums: {
|
|
342
|
-
|
|
347
|
+
regulator_id: node_regulator_Id,
|
|
343
348
|
status: {},
|
|
344
349
|
},
|
|
345
350
|
},
|
|
@@ -352,6 +357,7 @@ export const spec = {
|
|
|
352
357
|
},
|
|
353
358
|
LoadCellPacket: {
|
|
354
359
|
port: 5007,
|
|
360
|
+
fragment: 'loadcell_id',
|
|
355
361
|
schema: LoadCellPacket,
|
|
356
362
|
enums: {
|
|
357
363
|
loadcell_id: node_load_cell_Id,
|