fossekall-interface 0.1.39 → 0.1.41
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-
|
|
2
|
+
// This file was generated by FRICC on 2026-03-30 16:10:10. 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;
|
|
@@ -240,6 +240,31 @@ export declare const RegulatorStatusPacket: import("typed-binary").ObjectSchema<
|
|
|
240
240
|
}>;
|
|
241
241
|
}>;
|
|
242
242
|
export type RegulatorStatusPacket = bin.Parsed<typeof RegulatorStatusPacket>;
|
|
243
|
+
export declare const proto_can_thermocouple_ThermocoupleSample: import("typed-binary").ObjectSchema<{
|
|
244
|
+
timestamp_us: UInt64Schema;
|
|
245
|
+
interval_us: import("typed-binary").Float32Schema;
|
|
246
|
+
temperature_c: import("typed-binary").ArraySchema<import("typed-binary").Float32Schema>;
|
|
247
|
+
}>;
|
|
248
|
+
export type proto_can_thermocouple_ThermocoupleSample = bin.Parsed<typeof proto_can_thermocouple_ThermocoupleSample>;
|
|
249
|
+
export declare const proto_can_thermocouple_ThermocoupleSamples: import("typed-binary").ObjectSchema<{
|
|
250
|
+
port: import("typed-binary").ArraySchema<import("typed-binary").ObjectSchema<{
|
|
251
|
+
timestamp_us: UInt64Schema;
|
|
252
|
+
interval_us: import("typed-binary").Float32Schema;
|
|
253
|
+
temperature_c: import("typed-binary").ArraySchema<import("typed-binary").Float32Schema>;
|
|
254
|
+
}>>;
|
|
255
|
+
}>;
|
|
256
|
+
export type proto_can_thermocouple_ThermocoupleSamples = bin.Parsed<typeof proto_can_thermocouple_ThermocoupleSamples>;
|
|
257
|
+
export declare const ThermocouplePacket: import("typed-binary").ObjectSchema<{
|
|
258
|
+
timestamp_ms: import("typed-binary").Uint32Schema;
|
|
259
|
+
samples: import("typed-binary").ObjectSchema<{
|
|
260
|
+
port: import("typed-binary").ArraySchema<import("typed-binary").ObjectSchema<{
|
|
261
|
+
timestamp_us: UInt64Schema;
|
|
262
|
+
interval_us: import("typed-binary").Float32Schema;
|
|
263
|
+
temperature_c: import("typed-binary").ArraySchema<import("typed-binary").Float32Schema>;
|
|
264
|
+
}>>;
|
|
265
|
+
}>;
|
|
266
|
+
}>;
|
|
267
|
+
export type ThermocouplePacket = bin.Parsed<typeof ThermocouplePacket>;
|
|
243
268
|
export declare const spec: {
|
|
244
269
|
actuators_bldc_BldcTelemetry: {
|
|
245
270
|
port: number;
|
|
@@ -467,6 +492,22 @@ export declare const spec: {
|
|
|
467
492
|
status: {};
|
|
468
493
|
};
|
|
469
494
|
};
|
|
495
|
+
ThermocouplePacket: {
|
|
496
|
+
port: number;
|
|
497
|
+
schema: import("typed-binary").ObjectSchema<{
|
|
498
|
+
timestamp_ms: import("typed-binary").Uint32Schema;
|
|
499
|
+
samples: import("typed-binary").ObjectSchema<{
|
|
500
|
+
port: import("typed-binary").ArraySchema<import("typed-binary").ObjectSchema<{
|
|
501
|
+
timestamp_us: UInt64Schema;
|
|
502
|
+
interval_us: import("typed-binary").Float32Schema;
|
|
503
|
+
temperature_c: import("typed-binary").ArraySchema<import("typed-binary").Float32Schema>;
|
|
504
|
+
}>>;
|
|
505
|
+
}>;
|
|
506
|
+
}>;
|
|
507
|
+
enums: {
|
|
508
|
+
samples: {};
|
|
509
|
+
};
|
|
510
|
+
};
|
|
470
511
|
};
|
|
471
512
|
export default spec;
|
|
472
513
|
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-
|
|
2
|
+
// This file was generated by FRICC on 2026-03-30 16:10:07. 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;
|
|
@@ -186,7 +186,7 @@ export const sensors_pressure_PressureBatch = bin.object({
|
|
|
186
186
|
count: bin.u8, // unsigned char
|
|
187
187
|
seq: bin.u8, // unsigned char
|
|
188
188
|
overrun: bin.bool, // bool
|
|
189
|
-
samples: bin.arrayOf(bin.i16,
|
|
189
|
+
samples: bin.arrayOf(bin.i16, 20), // short[20]
|
|
190
190
|
});
|
|
191
191
|
export const PressureSensorPacket = bin.object({
|
|
192
192
|
sensor_id: bin.u8, // node::pressure_sensor::Id
|
|
@@ -234,6 +234,18 @@ export const RegulatorStatusPacket = bin.object({
|
|
|
234
234
|
timestamp_ms: bin.u32, // unsigned int
|
|
235
235
|
status: regulators_RegulatorStatus, // regulators::RegulatorStatus
|
|
236
236
|
});
|
|
237
|
+
export const proto_can_thermocouple_ThermocoupleSample = bin.object({
|
|
238
|
+
timestamp_us: u64, // unsigned long long
|
|
239
|
+
interval_us: bin.f32, // float
|
|
240
|
+
temperature_c: bin.arrayOf(bin.f32, 8), // float[8]
|
|
241
|
+
});
|
|
242
|
+
export const proto_can_thermocouple_ThermocoupleSamples = bin.object({
|
|
243
|
+
port: bin.arrayOf(proto_can_thermocouple_ThermocoupleSample, 4), // proto::can::thermocouple::ThermocoupleSample[4]
|
|
244
|
+
});
|
|
245
|
+
export const ThermocouplePacket = bin.object({
|
|
246
|
+
timestamp_ms: bin.u32, // unsigned int
|
|
247
|
+
samples: proto_can_thermocouple_ThermocoupleSamples, // proto::can::thermocouple::ThermocoupleSamples
|
|
248
|
+
});
|
|
237
249
|
export const spec = {
|
|
238
250
|
actuators_bldc_BldcTelemetry: {
|
|
239
251
|
port: 5000,
|
|
@@ -295,5 +307,12 @@ export const spec = {
|
|
|
295
307
|
status: {},
|
|
296
308
|
},
|
|
297
309
|
},
|
|
310
|
+
ThermocouplePacket: {
|
|
311
|
+
port: 5006,
|
|
312
|
+
schema: ThermocouplePacket,
|
|
313
|
+
enums: {
|
|
314
|
+
samples: {},
|
|
315
|
+
},
|
|
316
|
+
},
|
|
298
317
|
};
|
|
299
318
|
export default spec;
|