fossekall-interface 0.1.133 → 0.1.135

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-07-04 12:06:02. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-07-05 14:13:42. 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;
@@ -189,6 +189,26 @@ export declare const PressureSensorPacket: import("typed-binary").ObjectSchema<{
189
189
  }>;
190
190
  }>;
191
191
  export type PressureSensorPacket = bin.Parsed<typeof PressureSensorPacket>;
192
+ export declare const sensors_capacitance_LevelBatch: import("typed-binary").ObjectSchema<{
193
+ t0_us: UInt64Schema;
194
+ dt_us: import("typed-binary").Uint32Schema;
195
+ count: import("typed-binary").ByteSchema;
196
+ seq: import("typed-binary").ByteSchema;
197
+ heights_m: import("typed-binary").ArraySchema<import("typed-binary").Float32Schema>;
198
+ }>;
199
+ export type sensors_capacitance_LevelBatch = bin.Parsed<typeof sensors_capacitance_LevelBatch>;
200
+ export declare const LevelTelemetryPacket: import("typed-binary").ObjectSchema<{
201
+ timestamp_ms: import("typed-binary").Uint32Schema;
202
+ faults: import("typed-binary").Uint16Schema;
203
+ data: import("typed-binary").ObjectSchema<{
204
+ t0_us: UInt64Schema;
205
+ dt_us: import("typed-binary").Uint32Schema;
206
+ count: import("typed-binary").ByteSchema;
207
+ seq: import("typed-binary").ByteSchema;
208
+ heights_m: import("typed-binary").ArraySchema<import("typed-binary").Float32Schema>;
209
+ }>;
210
+ }>;
211
+ export type LevelTelemetryPacket = bin.Parsed<typeof LevelTelemetryPacket>;
192
212
  export declare const actuators_servo_ServoStatus: import("typed-binary").ObjectSchema<{
193
213
  commanded_angle_deg: import("typed-binary").Float32Schema;
194
214
  target_angle_deg: import("typed-binary").Float32Schema;
@@ -511,6 +531,24 @@ export declare const spec: {
511
531
  data: {};
512
532
  };
513
533
  };
534
+ LevelTelemetryPacket: {
535
+ port: number;
536
+ packed: null;
537
+ schema: import("typed-binary").ObjectSchema<{
538
+ timestamp_ms: import("typed-binary").Uint32Schema;
539
+ faults: import("typed-binary").Uint16Schema;
540
+ data: import("typed-binary").ObjectSchema<{
541
+ t0_us: UInt64Schema;
542
+ dt_us: import("typed-binary").Uint32Schema;
543
+ count: import("typed-binary").ByteSchema;
544
+ seq: import("typed-binary").ByteSchema;
545
+ heights_m: import("typed-binary").ArraySchema<import("typed-binary").Float32Schema>;
546
+ }>;
547
+ }>;
548
+ enums: {
549
+ data: {};
550
+ };
551
+ };
514
552
  ServoStatusPacket: {
515
553
  port: number;
516
554
  fragment: string;
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-07-04 12:06:04. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-07-05 14:13:44. 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;
@@ -196,6 +196,18 @@ export const PressureSensorPacket = bin.object({
196
196
  sensor_id: bin.u8, // sensors::pressure::Id
197
197
  data: sensors_pressure_PressureBatch, // sensors::pressure::PressureBatch
198
198
  });
199
+ export const sensors_capacitance_LevelBatch = bin.object({
200
+ t0_us: u64, // unsigned long long
201
+ dt_us: bin.u32, // unsigned int
202
+ count: bin.u8, // unsigned char
203
+ seq: bin.u8, // unsigned char
204
+ heights_m: bin.arrayOf(bin.f32, 8), // float[8]
205
+ });
206
+ export const LevelTelemetryPacket = bin.object({
207
+ timestamp_ms: bin.u32, // unsigned int
208
+ faults: bin.u16, // unsigned short
209
+ data: sensors_capacitance_LevelBatch, // sensors::capacitance::LevelBatch
210
+ });
199
211
  export const actuators_servo_ServoStatus = bin.object({
200
212
  commanded_angle_deg: bin.f32, // float
201
213
  target_angle_deg: bin.f32, // float
@@ -323,6 +335,14 @@ export const spec = {
323
335
  data: {},
324
336
  },
325
337
  },
338
+ LevelTelemetryPacket: {
339
+ port: 5010,
340
+ packed: null,
341
+ schema: LevelTelemetryPacket,
342
+ enums: {
343
+ data: {},
344
+ },
345
+ },
326
346
  ServoStatusPacket: {
327
347
  port: 5003,
328
348
  fragment: "servo_id",
@@ -229,6 +229,71 @@
229
229
  ],
230
230
  "format_string": "<BQIBBhhhhhhhhhhhhhhhhhhhh"
231
231
  },
232
+ "LevelTelemetryPacket": {
233
+ "port": 5010,
234
+ "packed": null,
235
+ "kind": "struct",
236
+ "type": "LevelTelemetryPacket",
237
+ "fields": [
238
+ {
239
+ "name": "timestamp_ms",
240
+ "kind": "primitive",
241
+ "type": "unsigned int",
242
+ "format_string": "<I"
243
+ },
244
+ {
245
+ "name": "faults",
246
+ "kind": "primitive",
247
+ "type": "unsigned short",
248
+ "format_string": "<H"
249
+ },
250
+ {
251
+ "name": "data",
252
+ "kind": "struct",
253
+ "type": "sensors::capacitance::LevelBatch",
254
+ "fields": [
255
+ {
256
+ "name": "t0_us",
257
+ "kind": "primitive",
258
+ "type": "unsigned long long",
259
+ "format_string": "<Q"
260
+ },
261
+ {
262
+ "name": "dt_us",
263
+ "kind": "primitive",
264
+ "type": "unsigned int",
265
+ "format_string": "<I"
266
+ },
267
+ {
268
+ "name": "count",
269
+ "kind": "primitive",
270
+ "type": "unsigned char",
271
+ "format_string": "<B"
272
+ },
273
+ {
274
+ "name": "seq",
275
+ "kind": "primitive",
276
+ "type": "unsigned char",
277
+ "format_string": "<B"
278
+ },
279
+ {
280
+ "name": "heights_m",
281
+ "kind": "array",
282
+ "type": "float[8]",
283
+ "element": {
284
+ "kind": "primitive",
285
+ "type": "float",
286
+ "format_string": "<f"
287
+ },
288
+ "count": 8,
289
+ "format_string": "<ffffffff"
290
+ }
291
+ ],
292
+ "format_string": "<QIBBffffffff"
293
+ }
294
+ ],
295
+ "format_string": "<IHQIBBffffffff"
296
+ },
232
297
  "ServoStatusPacket": {
233
298
  "port": 5003,
234
299
  "fragment": "servo_id",
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-06-29 21:55:58. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-07-05 13:58: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;
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-06-29 21:56:01. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-07-05 13:58:05. 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fossekall-interface",
3
- "version": "0.1.133",
3
+ "version": "0.1.135",
4
4
  "description": "API contracts between client and server (rocket and GUI)",
5
5
  "license": "ISC",
6
6
  "author": "Propulse",