fossekall-interface 0.1.41 → 0.1.43

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-03-30 16:10:10. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-03-31 15:17:26. 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;
@@ -106,6 +106,13 @@ export declare const node_regulator_Id: {
106
106
  readonly Count: 1;
107
107
  };
108
108
  export type node_regulator_Id = (typeof node_regulator_Id)[keyof typeof node_regulator_Id];
109
+ export declare const node_load_cell_Id: {
110
+ readonly LoadCell1: 0;
111
+ readonly LoadCell2: 1;
112
+ readonly LoadCell3: 2;
113
+ readonly Count: 3;
114
+ };
115
+ export type node_load_cell_Id = (typeof node_load_cell_Id)[keyof typeof node_load_cell_Id];
109
116
  export declare const actuators_bldc_BldcTelemetry: import("typed-binary").ObjectSchema<{
110
117
  valve_position: import("typed-binary").Float32Schema;
111
118
  motor_position: import("typed-binary").Float32Schema;
@@ -265,6 +272,27 @@ export declare const ThermocouplePacket: import("typed-binary").ObjectSchema<{
265
272
  }>;
266
273
  }>;
267
274
  export type ThermocouplePacket = bin.Parsed<typeof ThermocouplePacket>;
275
+ export declare const sensors_loadcell_LoadCellBatch: import("typed-binary").ObjectSchema<{
276
+ t0_ms: import("typed-binary").Uint32Schema;
277
+ dt_us: import("typed-binary").Uint16Schema;
278
+ count: import("typed-binary").ByteSchema;
279
+ seq: import("typed-binary").ByteSchema;
280
+ overrun: import("typed-binary").BoolSchema;
281
+ samples: import("typed-binary").ArraySchema<import("typed-binary").Int32Schema>;
282
+ }>;
283
+ export type sensors_loadcell_LoadCellBatch = bin.Parsed<typeof sensors_loadcell_LoadCellBatch>;
284
+ export declare const LoadCellPacket: import("typed-binary").ObjectSchema<{
285
+ loadcell_id: import("typed-binary").ByteSchema;
286
+ data: import("typed-binary").ObjectSchema<{
287
+ t0_ms: import("typed-binary").Uint32Schema;
288
+ dt_us: import("typed-binary").Uint16Schema;
289
+ count: import("typed-binary").ByteSchema;
290
+ seq: import("typed-binary").ByteSchema;
291
+ overrun: import("typed-binary").BoolSchema;
292
+ samples: import("typed-binary").ArraySchema<import("typed-binary").Int32Schema>;
293
+ }>;
294
+ }>;
295
+ export type LoadCellPacket = bin.Parsed<typeof LoadCellPacket>;
268
296
  export declare const spec: {
269
297
  actuators_bldc_BldcTelemetry: {
270
298
  port: number;
@@ -508,6 +536,29 @@ export declare const spec: {
508
536
  samples: {};
509
537
  };
510
538
  };
539
+ LoadCellPacket: {
540
+ port: number;
541
+ schema: import("typed-binary").ObjectSchema<{
542
+ loadcell_id: import("typed-binary").ByteSchema;
543
+ data: import("typed-binary").ObjectSchema<{
544
+ t0_ms: import("typed-binary").Uint32Schema;
545
+ dt_us: import("typed-binary").Uint16Schema;
546
+ count: import("typed-binary").ByteSchema;
547
+ seq: import("typed-binary").ByteSchema;
548
+ overrun: import("typed-binary").BoolSchema;
549
+ samples: import("typed-binary").ArraySchema<import("typed-binary").Int32Schema>;
550
+ }>;
551
+ }>;
552
+ enums: {
553
+ loadcell_id: {
554
+ readonly LoadCell1: 0;
555
+ readonly LoadCell2: 1;
556
+ readonly LoadCell3: 2;
557
+ readonly Count: 3;
558
+ };
559
+ data: {};
560
+ };
561
+ };
511
562
  };
512
563
  export default spec;
513
564
  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-03-30 16:10:07. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-03-31 15:17:23. 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;
@@ -150,6 +150,12 @@ export const node_regulator_Id = {
150
150
  OxBoiloff: 0,
151
151
  Count: 1,
152
152
  };
153
+ export const node_load_cell_Id = {
154
+ LoadCell1: 0,
155
+ LoadCell2: 1,
156
+ LoadCell3: 2,
157
+ Count: 3,
158
+ };
153
159
  export const actuators_bldc_BldcTelemetry = bin.object({
154
160
  valve_position: bin.f32, // float
155
161
  motor_position: bin.f32, // float
@@ -246,6 +252,18 @@ export const ThermocouplePacket = bin.object({
246
252
  timestamp_ms: bin.u32, // unsigned int
247
253
  samples: proto_can_thermocouple_ThermocoupleSamples, // proto::can::thermocouple::ThermocoupleSamples
248
254
  });
255
+ export const sensors_loadcell_LoadCellBatch = bin.object({
256
+ t0_ms: bin.u32, // unsigned int
257
+ dt_us: bin.u16, // unsigned short
258
+ count: bin.u8, // unsigned char
259
+ seq: bin.u8, // unsigned char
260
+ overrun: bin.bool, // bool
261
+ samples: bin.arrayOf(bin.i32, 10), // int[10]
262
+ });
263
+ export const LoadCellPacket = bin.object({
264
+ loadcell_id: bin.u8, // node::load_cell::Id
265
+ data: sensors_loadcell_LoadCellBatch, // sensors::loadcell::LoadCellBatch
266
+ });
249
267
  export const spec = {
250
268
  actuators_bldc_BldcTelemetry: {
251
269
  port: 5000,
@@ -314,5 +332,13 @@ export const spec = {
314
332
  samples: {},
315
333
  },
316
334
  },
335
+ LoadCellPacket: {
336
+ port: 5007,
337
+ schema: LoadCellPacket,
338
+ enums: {
339
+ loadcell_id: node_load_cell_Id,
340
+ data: {},
341
+ },
342
+ },
317
343
  };
318
344
  export default spec;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fossekall-interface",
3
- "version": "0.1.41",
3
+ "version": "0.1.43",
4
4
  "description": "API contracts between client and server (rocket and GUI)",
5
5
  "license": "ISC",
6
6
  "author": "Propulse",