fossekall-interface 0.1.62 → 0.1.64

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 10:49:01. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-04-03 23:30: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;
@@ -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
- id: import("typed-binary").ByteSchema;
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
- id: import("typed-binary").ByteSchema;
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
- id: import("typed-binary").ByteSchema;
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,7 +343,7 @@ export declare const spec: {
343
343
  };
344
344
  BldcTelemetryPacket: {
345
345
  port: number;
346
- fragment: number;
346
+ fragment: string;
347
347
  schema: import("typed-binary").ObjectSchema<{
348
348
  bldc_id: import("typed-binary").ByteSchema;
349
349
  fsm_state: import("typed-binary").ByteSchema;
@@ -461,7 +461,7 @@ export declare const spec: {
461
461
  };
462
462
  PressureSensorPacket: {
463
463
  port: number;
464
- fragment: number;
464
+ fragment: string;
465
465
  schema: import("typed-binary").ObjectSchema<{
466
466
  sensor_id: import("typed-binary").ByteSchema;
467
467
  data: import("typed-binary").ObjectSchema<{
@@ -491,9 +491,9 @@ export declare const spec: {
491
491
  };
492
492
  ServoStatusPacket: {
493
493
  port: number;
494
- fragment: number;
494
+ fragment: string;
495
495
  schema: import("typed-binary").ObjectSchema<{
496
- id: import("typed-binary").ByteSchema;
496
+ servo_id: import("typed-binary").ByteSchema;
497
497
  timestamp_ms: import("typed-binary").Uint32Schema;
498
498
  status: import("typed-binary").ObjectSchema<{
499
499
  commanded_angle_deg: import("typed-binary").Float32Schema;
@@ -505,7 +505,7 @@ export declare const spec: {
505
505
  }>;
506
506
  }>;
507
507
  enums: {
508
- id: {
508
+ servo_id: {
509
509
  readonly MainFuel: 0;
510
510
  readonly MainOx: 1;
511
511
  readonly OxFill: 2;
@@ -530,9 +530,9 @@ export declare const spec: {
530
530
  };
531
531
  SolenoidStatusPacket: {
532
532
  port: number;
533
- fragment: number;
533
+ fragment: string;
534
534
  schema: import("typed-binary").ObjectSchema<{
535
- id: import("typed-binary").ByteSchema;
535
+ solenoid_id: import("typed-binary").ByteSchema;
536
536
  timestamp_ms: import("typed-binary").Uint32Schema;
537
537
  status: import("typed-binary").ObjectSchema<{
538
538
  power_state: import("typed-binary").ByteSchema;
@@ -540,7 +540,7 @@ export declare const spec: {
540
540
  }>;
541
541
  }>;
542
542
  enums: {
543
- id: {
543
+ solenoid_id: {
544
544
  readonly FuelVent: 0;
545
545
  readonly OxVent: 1;
546
546
  readonly N2Fill: 2;
@@ -567,9 +567,9 @@ export declare const spec: {
567
567
  };
568
568
  RegulatorStatusPacket: {
569
569
  port: number;
570
- fragment: number;
570
+ fragment: string;
571
571
  schema: import("typed-binary").ObjectSchema<{
572
- id: import("typed-binary").ByteSchema;
572
+ regulator_id: import("typed-binary").ByteSchema;
573
573
  timestamp_ms: import("typed-binary").Uint32Schema;
574
574
  status: import("typed-binary").ObjectSchema<{
575
575
  operator_enabled: import("typed-binary").BoolSchema;
@@ -588,7 +588,7 @@ export declare const spec: {
588
588
  }>;
589
589
  }>;
590
590
  enums: {
591
- id: {
591
+ regulator_id: {
592
592
  readonly OxBoiloff: 0;
593
593
  readonly Count: 1;
594
594
  };
@@ -613,7 +613,7 @@ export declare const spec: {
613
613
  };
614
614
  LoadCellPacket: {
615
615
  port: number;
616
- fragment: number;
616
+ fragment: string;
617
617
  schema: import("typed-binary").ObjectSchema<{
618
618
  loadcell_id: import("typed-binary").ByteSchema;
619
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 10:48:58. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-04-03 23:30:56. 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;
@@ -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
- id: bin.u8, // node::servo::Id
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
- id: bin.u8, // node::solenoid::Id
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
- id: bin.u8, // node::regulator::Id
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,7 +286,7 @@ export const spec = {
286
286
  },
287
287
  BldcTelemetryPacket: {
288
288
  port: 5000,
289
- fragment: 1,
289
+ fragment: 'bldc_id',
290
290
  schema: BldcTelemetryPacket,
291
291
  enums: {
292
292
  bldc_id: node_bldc_Id,
@@ -308,7 +308,7 @@ export const spec = {
308
308
  },
309
309
  PressureSensorPacket: {
310
310
  port: 5002,
311
- fragment: 1,
311
+ fragment: 'sensor_id',
312
312
  schema: PressureSensorPacket,
313
313
  enums: {
314
314
  sensor_id: node_pressure_sensor_Id,
@@ -317,10 +317,10 @@ export const spec = {
317
317
  },
318
318
  ServoStatusPacket: {
319
319
  port: 5003,
320
- fragment: 1,
320
+ fragment: 'servo_id',
321
321
  schema: ServoStatusPacket,
322
322
  enums: {
323
- id: node_servo_Id,
323
+ servo_id: node_servo_Id,
324
324
  status: {
325
325
  mode: actuators_servo_ServoMode,
326
326
  power_state: actuators_servo_PowerState,
@@ -329,10 +329,10 @@ export const spec = {
329
329
  },
330
330
  SolenoidStatusPacket: {
331
331
  port: 5004,
332
- fragment: 1,
332
+ fragment: 'solenoid_id',
333
333
  schema: SolenoidStatusPacket,
334
334
  enums: {
335
- id: node_solenoid_Id,
335
+ solenoid_id: node_solenoid_Id,
336
336
  status: {
337
337
  power_state: actuators_solenoid_PowerState,
338
338
  opening: actuators_solenoid_Opening,
@@ -341,10 +341,10 @@ export const spec = {
341
341
  },
342
342
  RegulatorStatusPacket: {
343
343
  port: 5005,
344
- fragment: 1,
344
+ fragment: 'regulator_id',
345
345
  schema: RegulatorStatusPacket,
346
346
  enums: {
347
- id: node_regulator_Id,
347
+ regulator_id: node_regulator_Id,
348
348
  status: {},
349
349
  },
350
350
  },
@@ -357,7 +357,7 @@ export const spec = {
357
357
  },
358
358
  LoadCellPacket: {
359
359
  port: 5007,
360
- fragment: 1,
360
+ fragment: 'loadcell_id',
361
361
  schema: LoadCellPacket,
362
362
  enums: {
363
363
  loadcell_id: node_load_cell_Id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fossekall-interface",
3
- "version": "0.1.62",
3
+ "version": "0.1.64",
4
4
  "description": "API contracts between client and server (rocket and GUI)",
5
5
  "license": "ISC",
6
6
  "author": "Propulse",