fossekall-interface 0.1.57 → 0.1.58
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-02
|
|
2
|
+
// This file was generated by FRICC on 2026-04-02 09:57:12. 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;
|
|
@@ -5,6 +5,12 @@ declare class UInt64Schema extends Schema<bigint> {
|
|
|
5
5
|
write(output: ISerialOutput, value: bigint): void;
|
|
6
6
|
measure(_: bigint | typeof MaxValue, measurer?: IMeasurer): IMeasurer;
|
|
7
7
|
}
|
|
8
|
+
declare class Float64Schema extends Schema<number> {
|
|
9
|
+
readonly maxSize = 8;
|
|
10
|
+
read(input: ISerialInput): number;
|
|
11
|
+
write(output: ISerialOutput, value: number): void;
|
|
12
|
+
measure(_: number | typeof MaxValue, measurer?: IMeasurer): IMeasurer;
|
|
13
|
+
}
|
|
8
14
|
export declare const node_bldc_Id: {
|
|
9
15
|
readonly Fuel: 0;
|
|
10
16
|
readonly Ox: 1;
|
|
@@ -137,6 +143,9 @@ export declare const actuators_bldc_BldcTelemetry: import("typed-binary").Object
|
|
|
137
143
|
u_set: import("typed-binary").Float32Schema;
|
|
138
144
|
u_total: import("typed-binary").Float32Schema;
|
|
139
145
|
position_raw: import("typed-binary").Float32Schema;
|
|
146
|
+
upstream_pressure: Float64Schema;
|
|
147
|
+
downstream_pressure: Float64Schema;
|
|
148
|
+
servo_encoder_value: Float64Schema;
|
|
140
149
|
calibrated: import("typed-binary").ByteSchema;
|
|
141
150
|
}>;
|
|
142
151
|
export type actuators_bldc_BldcTelemetry = bin.Parsed<typeof actuators_bldc_BldcTelemetry>;
|
|
@@ -156,6 +165,9 @@ export declare const BldcTelemetryPacket: import("typed-binary").ObjectSchema<{
|
|
|
156
165
|
u_set: import("typed-binary").Float32Schema;
|
|
157
166
|
u_total: import("typed-binary").Float32Schema;
|
|
158
167
|
position_raw: import("typed-binary").Float32Schema;
|
|
168
|
+
upstream_pressure: Float64Schema;
|
|
169
|
+
downstream_pressure: Float64Schema;
|
|
170
|
+
servo_encoder_value: Float64Schema;
|
|
159
171
|
calibrated: import("typed-binary").ByteSchema;
|
|
160
172
|
}>;
|
|
161
173
|
}>;
|
|
@@ -347,6 +359,9 @@ export declare const spec: {
|
|
|
347
359
|
u_set: import("typed-binary").Float32Schema;
|
|
348
360
|
u_total: import("typed-binary").Float32Schema;
|
|
349
361
|
position_raw: import("typed-binary").Float32Schema;
|
|
362
|
+
upstream_pressure: Float64Schema;
|
|
363
|
+
downstream_pressure: Float64Schema;
|
|
364
|
+
servo_encoder_value: Float64Schema;
|
|
350
365
|
calibrated: import("typed-binary").ByteSchema;
|
|
351
366
|
}>;
|
|
352
367
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import bin, { Measurer, Schema } from 'typed-binary';
|
|
2
|
-
// This file was generated by FRICC on 2026-04-02
|
|
2
|
+
// This file was generated by FRICC on 2026-04-02 09:57: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;
|
|
@@ -178,6 +178,9 @@ export const actuators_bldc_BldcTelemetry = bin.object({
|
|
|
178
178
|
u_set: bin.f32, // float
|
|
179
179
|
u_total: bin.f32, // float
|
|
180
180
|
position_raw: bin.f32, // float
|
|
181
|
+
upstream_pressure: f64, // double
|
|
182
|
+
downstream_pressure: f64, // double
|
|
183
|
+
servo_encoder_value: f64, // double
|
|
181
184
|
calibrated: bin.u8, // unsigned char
|
|
182
185
|
});
|
|
183
186
|
export const BldcTelemetryPacket = bin.object({
|