fossekall-interface 0.1.60 → 0.1.62
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 10:49:01. 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;
|
|
@@ -343,6 +343,7 @@ export declare const spec: {
|
|
|
343
343
|
};
|
|
344
344
|
BldcTelemetryPacket: {
|
|
345
345
|
port: number;
|
|
346
|
+
fragment: number;
|
|
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: number;
|
|
463
465
|
schema: import("typed-binary").ObjectSchema<{
|
|
464
466
|
sensor_id: import("typed-binary").ByteSchema;
|
|
465
467
|
data: import("typed-binary").ObjectSchema<{
|
|
@@ -489,6 +491,7 @@ export declare const spec: {
|
|
|
489
491
|
};
|
|
490
492
|
ServoStatusPacket: {
|
|
491
493
|
port: number;
|
|
494
|
+
fragment: number;
|
|
492
495
|
schema: import("typed-binary").ObjectSchema<{
|
|
493
496
|
id: import("typed-binary").ByteSchema;
|
|
494
497
|
timestamp_ms: import("typed-binary").Uint32Schema;
|
|
@@ -527,6 +530,7 @@ export declare const spec: {
|
|
|
527
530
|
};
|
|
528
531
|
SolenoidStatusPacket: {
|
|
529
532
|
port: number;
|
|
533
|
+
fragment: number;
|
|
530
534
|
schema: import("typed-binary").ObjectSchema<{
|
|
531
535
|
id: import("typed-binary").ByteSchema;
|
|
532
536
|
timestamp_ms: import("typed-binary").Uint32Schema;
|
|
@@ -563,6 +567,7 @@ export declare const spec: {
|
|
|
563
567
|
};
|
|
564
568
|
RegulatorStatusPacket: {
|
|
565
569
|
port: number;
|
|
570
|
+
fragment: number;
|
|
566
571
|
schema: import("typed-binary").ObjectSchema<{
|
|
567
572
|
id: import("typed-binary").ByteSchema;
|
|
568
573
|
timestamp_ms: import("typed-binary").Uint32Schema;
|
|
@@ -608,6 +613,7 @@ export declare const spec: {
|
|
|
608
613
|
};
|
|
609
614
|
LoadCellPacket: {
|
|
610
615
|
port: number;
|
|
616
|
+
fragment: number;
|
|
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 10:48:58. 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
|
|
@@ -286,6 +286,7 @@ export const spec = {
|
|
|
286
286
|
},
|
|
287
287
|
BldcTelemetryPacket: {
|
|
288
288
|
port: 5000,
|
|
289
|
+
fragment: 1,
|
|
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: 1,
|
|
310
312
|
schema: PressureSensorPacket,
|
|
311
313
|
enums: {
|
|
312
314
|
sensor_id: node_pressure_sensor_Id,
|
|
@@ -315,6 +317,7 @@ export const spec = {
|
|
|
315
317
|
},
|
|
316
318
|
ServoStatusPacket: {
|
|
317
319
|
port: 5003,
|
|
320
|
+
fragment: 1,
|
|
318
321
|
schema: ServoStatusPacket,
|
|
319
322
|
enums: {
|
|
320
323
|
id: node_servo_Id,
|
|
@@ -326,6 +329,7 @@ export const spec = {
|
|
|
326
329
|
},
|
|
327
330
|
SolenoidStatusPacket: {
|
|
328
331
|
port: 5004,
|
|
332
|
+
fragment: 1,
|
|
329
333
|
schema: SolenoidStatusPacket,
|
|
330
334
|
enums: {
|
|
331
335
|
id: node_solenoid_Id,
|
|
@@ -337,6 +341,7 @@ export const spec = {
|
|
|
337
341
|
},
|
|
338
342
|
RegulatorStatusPacket: {
|
|
339
343
|
port: 5005,
|
|
344
|
+
fragment: 1,
|
|
340
345
|
schema: RegulatorStatusPacket,
|
|
341
346
|
enums: {
|
|
342
347
|
id: node_regulator_Id,
|
|
@@ -352,6 +357,7 @@ export const spec = {
|
|
|
352
357
|
},
|
|
353
358
|
LoadCellPacket: {
|
|
354
359
|
port: 5007,
|
|
360
|
+
fragment: 1,
|
|
355
361
|
schema: LoadCellPacket,
|
|
356
362
|
enums: {
|
|
357
363
|
loadcell_id: node_load_cell_Id,
|