fossekall-interface 0.1.110 → 0.1.111

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-19 12:58:24. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-04-19 22:45: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;
@@ -422,6 +422,11 @@ export declare const BldcConfigTelmetryPacket: import("typed-binary").ObjectSche
422
422
  }>;
423
423
  }>;
424
424
  export type BldcConfigTelmetryPacket = bin.Parsed<typeof BldcConfigTelmetryPacket>;
425
+ export declare const BatteryMonitorTelemetryPacket: import("typed-binary").ObjectSchema<{
426
+ timestamp_ms: import("typed-binary").Uint32Schema;
427
+ voltages: import("typed-binary").ArraySchema<import("typed-binary").Float32Schema>;
428
+ }>;
429
+ export type BatteryMonitorTelemetryPacket = bin.Parsed<typeof BatteryMonitorTelemetryPacket>;
425
430
  export declare const spec: {
426
431
  HeartBeatTelemetry: {
427
432
  port: number;
@@ -802,6 +807,14 @@ export declare const spec: {
802
807
  };
803
808
  };
804
809
  };
810
+ BatteryMonitorTelemetryPacket: {
811
+ port: number;
812
+ schema: import("typed-binary").ObjectSchema<{
813
+ timestamp_ms: import("typed-binary").Uint32Schema;
814
+ voltages: import("typed-binary").ArraySchema<import("typed-binary").Float32Schema>;
815
+ }>;
816
+ enums: {};
817
+ };
805
818
  };
806
819
  export default spec;
807
820
  export type Spec = typeof spec;
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-04-19 12:58:27. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-04-19 22:45:04. 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;
@@ -320,6 +320,10 @@ export const BldcConfigTelmetryPacket = bin.object({
320
320
  bldc_id: bin.u8, // node::load_cell::Id
321
321
  config: actuators_bldc_ControllerConfig, // actuators::bldc::ControllerConfig
322
322
  });
323
+ export const BatteryMonitorTelemetryPacket = bin.object({
324
+ timestamp_ms: bin.u32, // unsigned int
325
+ voltages: bin.arrayOf(bin.f32, 2), // float[2]
326
+ });
323
327
  export const spec = {
324
328
  HeartBeatTelemetry: {
325
329
  port: 57005,
@@ -424,5 +428,10 @@ export const spec = {
424
428
  },
425
429
  },
426
430
  },
431
+ BatteryMonitorTelemetryPacket: {
432
+ port: 5009,
433
+ schema: BatteryMonitorTelemetryPacket,
434
+ enums: {},
435
+ },
427
436
  };
428
437
  export default spec;
@@ -810,6 +810,32 @@
810
810
  }
811
811
  ],
812
812
  "format_string": "<BdddddddddddQddfddddddd"
813
+ },
814
+ "BatteryMonitorTelemetryPacket": {
815
+ "port": 5009,
816
+ "kind": "struct",
817
+ "type": "BatteryMonitorTelemetryPacket",
818
+ "fields": [
819
+ {
820
+ "name": "timestamp_ms",
821
+ "kind": "primitive",
822
+ "type": "unsigned int",
823
+ "format_string": "<I"
824
+ },
825
+ {
826
+ "name": "voltages",
827
+ "kind": "array",
828
+ "type": "float[2]",
829
+ "element": {
830
+ "kind": "primitive",
831
+ "type": "float",
832
+ "format_string": "<f"
833
+ },
834
+ "count": 2,
835
+ "format_string": "<ff"
836
+ }
837
+ ],
838
+ "format_string": "<Iff"
813
839
  }
814
840
  },
815
841
  "enums": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fossekall-interface",
3
- "version": "0.1.110",
3
+ "version": "0.1.111",
4
4
  "description": "API contracts between client and server (rocket and GUI)",
5
5
  "license": "ISC",
6
6
  "author": "Propulse",