fossekall-interface 0.1.143 → 0.1.145
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.
- package/dist/generated/ecu/commands.d.ts +38 -4
- package/dist/generated/ecu/commands.js +8 -3
- package/dist/generated/ecu/commands.json +61 -5
- package/dist/generated/ecu/telemetry.d.ts +38 -4
- package/dist/generated/ecu/telemetry.js +8 -3
- package/dist/generated/ecu/telemetry.json +63 -5
- package/dist/generated/fc/index.d.ts +0 -1
- package/dist/generated/fc/index.js +0 -1
- package/dist/generated/fs/commands.d.ts +27 -24
- package/dist/generated/fs/commands.js +10 -9
- package/dist/generated/fs/commands.json +9 -8
- package/dist/generated/fs/telemetry.d.ts +86 -24
- package/dist/generated/fs/telemetry.js +38 -9
- package/dist/generated/fs/telemetry.json +103 -8
- package/package.json +1 -1
- package/dist/generated/fc/telemetry.d.ts +0 -219
- package/dist/generated/fc/telemetry.js +0 -141
|
@@ -108,6 +108,9 @@ export declare const actuators_bldc_PidGains: import("typed-binary").ObjectSchem
|
|
|
108
108
|
i: Float64Schema;
|
|
109
109
|
d: Float64Schema;
|
|
110
110
|
normalization_factor: Float64Schema;
|
|
111
|
+
integral_clamp: import("typed-binary").BoolSchema;
|
|
112
|
+
integral_clamp_max: Float64Schema;
|
|
113
|
+
integral_clamp_min: Float64Schema;
|
|
111
114
|
}>;
|
|
112
115
|
export type actuators_bldc_PidGains = bin.Parsed<typeof actuators_bldc_PidGains>;
|
|
113
116
|
export declare const SigmoidParameters: import("typed-binary").ObjectSchema<{
|
|
@@ -121,12 +124,18 @@ export declare const actuators_bldc_ControllerConfig: import("typed-binary").Obj
|
|
|
121
124
|
i: Float64Schema;
|
|
122
125
|
d: Float64Schema;
|
|
123
126
|
normalization_factor: Float64Schema;
|
|
127
|
+
integral_clamp: import("typed-binary").BoolSchema;
|
|
128
|
+
integral_clamp_max: Float64Schema;
|
|
129
|
+
integral_clamp_min: Float64Schema;
|
|
124
130
|
}>;
|
|
125
131
|
run_pid_gains: import("typed-binary").ObjectSchema<{
|
|
126
132
|
p: Float64Schema;
|
|
127
133
|
i: Float64Schema;
|
|
128
134
|
d: Float64Schema;
|
|
129
135
|
normalization_factor: Float64Schema;
|
|
136
|
+
integral_clamp: import("typed-binary").BoolSchema;
|
|
137
|
+
integral_clamp_max: Float64Schema;
|
|
138
|
+
integral_clamp_min: Float64Schema;
|
|
130
139
|
}>;
|
|
131
140
|
minimum_position: Float64Schema;
|
|
132
141
|
maximum_position: Float64Schema;
|
|
@@ -138,7 +147,11 @@ export declare const actuators_bldc_ControllerConfig: import("typed-binary").Obj
|
|
|
138
147
|
max_torque: Float64Schema;
|
|
139
148
|
dvdt_nominal: Float64Schema;
|
|
140
149
|
cv_max: Float64Schema;
|
|
141
|
-
|
|
150
|
+
control_valve_curve_pressurization: import("typed-binary").ObjectSchema<{
|
|
151
|
+
a: Float64Schema;
|
|
152
|
+
b: Float64Schema;
|
|
153
|
+
}>;
|
|
154
|
+
control_valve_curve_run: import("typed-binary").ObjectSchema<{
|
|
142
155
|
a: Float64Schema;
|
|
143
156
|
b: Float64Schema;
|
|
144
157
|
}>;
|
|
@@ -156,12 +169,18 @@ export declare const BldcCommands_ConfigureBldcPayload: import("typed-binary").O
|
|
|
156
169
|
i: Float64Schema;
|
|
157
170
|
d: Float64Schema;
|
|
158
171
|
normalization_factor: Float64Schema;
|
|
172
|
+
integral_clamp: import("typed-binary").BoolSchema;
|
|
173
|
+
integral_clamp_max: Float64Schema;
|
|
174
|
+
integral_clamp_min: Float64Schema;
|
|
159
175
|
}>;
|
|
160
176
|
run_pid_gains: import("typed-binary").ObjectSchema<{
|
|
161
177
|
p: Float64Schema;
|
|
162
178
|
i: Float64Schema;
|
|
163
179
|
d: Float64Schema;
|
|
164
180
|
normalization_factor: Float64Schema;
|
|
181
|
+
integral_clamp: import("typed-binary").BoolSchema;
|
|
182
|
+
integral_clamp_max: Float64Schema;
|
|
183
|
+
integral_clamp_min: Float64Schema;
|
|
165
184
|
}>;
|
|
166
185
|
minimum_position: Float64Schema;
|
|
167
186
|
maximum_position: Float64Schema;
|
|
@@ -173,7 +192,11 @@ export declare const BldcCommands_ConfigureBldcPayload: import("typed-binary").O
|
|
|
173
192
|
max_torque: Float64Schema;
|
|
174
193
|
dvdt_nominal: Float64Schema;
|
|
175
194
|
cv_max: Float64Schema;
|
|
176
|
-
|
|
195
|
+
control_valve_curve_pressurization: import("typed-binary").ObjectSchema<{
|
|
196
|
+
a: Float64Schema;
|
|
197
|
+
b: Float64Schema;
|
|
198
|
+
}>;
|
|
199
|
+
control_valve_curve_run: import("typed-binary").ObjectSchema<{
|
|
177
200
|
a: Float64Schema;
|
|
178
201
|
b: Float64Schema;
|
|
179
202
|
}>;
|
|
@@ -304,12 +327,18 @@ export declare const spec: {
|
|
|
304
327
|
i: Float64Schema;
|
|
305
328
|
d: Float64Schema;
|
|
306
329
|
normalization_factor: Float64Schema;
|
|
330
|
+
integral_clamp: import("typed-binary").BoolSchema;
|
|
331
|
+
integral_clamp_max: Float64Schema;
|
|
332
|
+
integral_clamp_min: Float64Schema;
|
|
307
333
|
}>;
|
|
308
334
|
run_pid_gains: import("typed-binary").ObjectSchema<{
|
|
309
335
|
p: Float64Schema;
|
|
310
336
|
i: Float64Schema;
|
|
311
337
|
d: Float64Schema;
|
|
312
338
|
normalization_factor: Float64Schema;
|
|
339
|
+
integral_clamp: import("typed-binary").BoolSchema;
|
|
340
|
+
integral_clamp_max: Float64Schema;
|
|
341
|
+
integral_clamp_min: Float64Schema;
|
|
313
342
|
}>;
|
|
314
343
|
minimum_position: Float64Schema;
|
|
315
344
|
maximum_position: Float64Schema;
|
|
@@ -321,7 +350,11 @@ export declare const spec: {
|
|
|
321
350
|
max_torque: Float64Schema;
|
|
322
351
|
dvdt_nominal: Float64Schema;
|
|
323
352
|
cv_max: Float64Schema;
|
|
324
|
-
|
|
353
|
+
control_valve_curve_pressurization: import("typed-binary").ObjectSchema<{
|
|
354
|
+
a: Float64Schema;
|
|
355
|
+
b: Float64Schema;
|
|
356
|
+
}>;
|
|
357
|
+
control_valve_curve_run: import("typed-binary").ObjectSchema<{
|
|
325
358
|
a: Float64Schema;
|
|
326
359
|
b: Float64Schema;
|
|
327
360
|
}>;
|
|
@@ -340,7 +373,8 @@ export declare const spec: {
|
|
|
340
373
|
config: {
|
|
341
374
|
pressurize_pid_gains: {};
|
|
342
375
|
run_pid_gains: {};
|
|
343
|
-
|
|
376
|
+
control_valve_curve_pressurization: {};
|
|
377
|
+
control_valve_curve_run: {};
|
|
344
378
|
main_valve_curve: {};
|
|
345
379
|
};
|
|
346
380
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import bin, { Measurer, Schema } from 'typed-binary';
|
|
2
|
-
// This file was generated by FRICC on 2026-07-
|
|
2
|
+
// This file was generated by FRICC on 2026-07-14 20: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;
|
|
@@ -142,6 +142,9 @@ export const actuators_bldc_PidGains = bin.object({
|
|
|
142
142
|
i: f64, // double
|
|
143
143
|
d: f64, // double
|
|
144
144
|
normalization_factor: f64, // double
|
|
145
|
+
integral_clamp: bin.bool, // bool
|
|
146
|
+
integral_clamp_max: f64, // double
|
|
147
|
+
integral_clamp_min: f64, // double
|
|
145
148
|
});
|
|
146
149
|
export const SigmoidParameters = bin.object({
|
|
147
150
|
a: f64, // double
|
|
@@ -160,7 +163,8 @@ export const actuators_bldc_ControllerConfig = bin.object({
|
|
|
160
163
|
max_torque: f64, // double
|
|
161
164
|
dvdt_nominal: f64, // double
|
|
162
165
|
cv_max: f64, // double
|
|
163
|
-
|
|
166
|
+
control_valve_curve_pressurization: SigmoidParameters, // SigmoidParameters
|
|
167
|
+
control_valve_curve_run: SigmoidParameters, // SigmoidParameters
|
|
164
168
|
main_valve_curve: SigmoidParameters, // SigmoidParameters
|
|
165
169
|
});
|
|
166
170
|
export const BldcCommands_ConfigureBldcPayload = bin.object({
|
|
@@ -250,7 +254,8 @@ export const spec = {
|
|
|
250
254
|
config: {
|
|
251
255
|
pressurize_pid_gains: {},
|
|
252
256
|
run_pid_gains: {},
|
|
253
|
-
|
|
257
|
+
control_valve_curve_pressurization: {},
|
|
258
|
+
control_valve_curve_run: {},
|
|
254
259
|
main_valve_curve: {},
|
|
255
260
|
},
|
|
256
261
|
},
|
|
@@ -99,9 +99,27 @@
|
|
|
99
99
|
"kind": "primitive",
|
|
100
100
|
"type": "double",
|
|
101
101
|
"format_string": "<d"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"name": "integral_clamp",
|
|
105
|
+
"kind": "primitive",
|
|
106
|
+
"type": "bool",
|
|
107
|
+
"format_string": "<?"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "integral_clamp_max",
|
|
111
|
+
"kind": "primitive",
|
|
112
|
+
"type": "double",
|
|
113
|
+
"format_string": "<d"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "integral_clamp_min",
|
|
117
|
+
"kind": "primitive",
|
|
118
|
+
"type": "double",
|
|
119
|
+
"format_string": "<d"
|
|
102
120
|
}
|
|
103
121
|
],
|
|
104
|
-
"format_string": "<dddd"
|
|
122
|
+
"format_string": "<dddd?dd"
|
|
105
123
|
},
|
|
106
124
|
{
|
|
107
125
|
"name": "run_pid_gains",
|
|
@@ -131,9 +149,27 @@
|
|
|
131
149
|
"kind": "primitive",
|
|
132
150
|
"type": "double",
|
|
133
151
|
"format_string": "<d"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "integral_clamp",
|
|
155
|
+
"kind": "primitive",
|
|
156
|
+
"type": "bool",
|
|
157
|
+
"format_string": "<?"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "integral_clamp_max",
|
|
161
|
+
"kind": "primitive",
|
|
162
|
+
"type": "double",
|
|
163
|
+
"format_string": "<d"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "integral_clamp_min",
|
|
167
|
+
"kind": "primitive",
|
|
168
|
+
"type": "double",
|
|
169
|
+
"format_string": "<d"
|
|
134
170
|
}
|
|
135
171
|
],
|
|
136
|
-
"format_string": "<dddd"
|
|
172
|
+
"format_string": "<dddd?dd"
|
|
137
173
|
},
|
|
138
174
|
{
|
|
139
175
|
"name": "minimum_position",
|
|
@@ -196,7 +232,27 @@
|
|
|
196
232
|
"format_string": "<d"
|
|
197
233
|
},
|
|
198
234
|
{
|
|
199
|
-
"name": "
|
|
235
|
+
"name": "control_valve_curve_pressurization",
|
|
236
|
+
"kind": "struct",
|
|
237
|
+
"type": "SigmoidParameters",
|
|
238
|
+
"fields": [
|
|
239
|
+
{
|
|
240
|
+
"name": "a",
|
|
241
|
+
"kind": "primitive",
|
|
242
|
+
"type": "double",
|
|
243
|
+
"format_string": "<d"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"name": "b",
|
|
247
|
+
"kind": "primitive",
|
|
248
|
+
"type": "double",
|
|
249
|
+
"format_string": "<d"
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"format_string": "<dd"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "control_valve_curve_run",
|
|
200
256
|
"kind": "struct",
|
|
201
257
|
"type": "SigmoidParameters",
|
|
202
258
|
"fields": [
|
|
@@ -236,10 +292,10 @@
|
|
|
236
292
|
"format_string": "<dd"
|
|
237
293
|
}
|
|
238
294
|
],
|
|
239
|
-
"format_string": "<
|
|
295
|
+
"format_string": "<dddd?dddddd?dddddQddfddddddddd"
|
|
240
296
|
}
|
|
241
297
|
],
|
|
242
|
-
"format_string": "<
|
|
298
|
+
"format_string": "<Bdddd?dddddd?dddddQddfddddddddd"
|
|
243
299
|
},
|
|
244
300
|
"FsmCommands::NextStatePayload": {
|
|
245
301
|
"id": 32,
|
|
@@ -358,6 +358,9 @@ export declare const actuators_bldc_PidGains: import("typed-binary").ObjectSchem
|
|
|
358
358
|
i: Float64Schema;
|
|
359
359
|
d: Float64Schema;
|
|
360
360
|
normalization_factor: Float64Schema;
|
|
361
|
+
integral_clamp: import("typed-binary").BoolSchema;
|
|
362
|
+
integral_clamp_max: Float64Schema;
|
|
363
|
+
integral_clamp_min: Float64Schema;
|
|
361
364
|
}>;
|
|
362
365
|
export type actuators_bldc_PidGains = bin.Parsed<typeof actuators_bldc_PidGains>;
|
|
363
366
|
export declare const SigmoidParameters: import("typed-binary").ObjectSchema<{
|
|
@@ -371,12 +374,18 @@ export declare const actuators_bldc_ControllerConfig: import("typed-binary").Obj
|
|
|
371
374
|
i: Float64Schema;
|
|
372
375
|
d: Float64Schema;
|
|
373
376
|
normalization_factor: Float64Schema;
|
|
377
|
+
integral_clamp: import("typed-binary").BoolSchema;
|
|
378
|
+
integral_clamp_max: Float64Schema;
|
|
379
|
+
integral_clamp_min: Float64Schema;
|
|
374
380
|
}>;
|
|
375
381
|
run_pid_gains: import("typed-binary").ObjectSchema<{
|
|
376
382
|
p: Float64Schema;
|
|
377
383
|
i: Float64Schema;
|
|
378
384
|
d: Float64Schema;
|
|
379
385
|
normalization_factor: Float64Schema;
|
|
386
|
+
integral_clamp: import("typed-binary").BoolSchema;
|
|
387
|
+
integral_clamp_max: Float64Schema;
|
|
388
|
+
integral_clamp_min: Float64Schema;
|
|
380
389
|
}>;
|
|
381
390
|
minimum_position: Float64Schema;
|
|
382
391
|
maximum_position: Float64Schema;
|
|
@@ -388,7 +397,11 @@ export declare const actuators_bldc_ControllerConfig: import("typed-binary").Obj
|
|
|
388
397
|
max_torque: Float64Schema;
|
|
389
398
|
dvdt_nominal: Float64Schema;
|
|
390
399
|
cv_max: Float64Schema;
|
|
391
|
-
|
|
400
|
+
control_valve_curve_pressurization: import("typed-binary").ObjectSchema<{
|
|
401
|
+
a: Float64Schema;
|
|
402
|
+
b: Float64Schema;
|
|
403
|
+
}>;
|
|
404
|
+
control_valve_curve_run: import("typed-binary").ObjectSchema<{
|
|
392
405
|
a: Float64Schema;
|
|
393
406
|
b: Float64Schema;
|
|
394
407
|
}>;
|
|
@@ -406,12 +419,18 @@ export declare const BldcConfigTelmetryPacket: import("typed-binary").ObjectSche
|
|
|
406
419
|
i: Float64Schema;
|
|
407
420
|
d: Float64Schema;
|
|
408
421
|
normalization_factor: Float64Schema;
|
|
422
|
+
integral_clamp: import("typed-binary").BoolSchema;
|
|
423
|
+
integral_clamp_max: Float64Schema;
|
|
424
|
+
integral_clamp_min: Float64Schema;
|
|
409
425
|
}>;
|
|
410
426
|
run_pid_gains: import("typed-binary").ObjectSchema<{
|
|
411
427
|
p: Float64Schema;
|
|
412
428
|
i: Float64Schema;
|
|
413
429
|
d: Float64Schema;
|
|
414
430
|
normalization_factor: Float64Schema;
|
|
431
|
+
integral_clamp: import("typed-binary").BoolSchema;
|
|
432
|
+
integral_clamp_max: Float64Schema;
|
|
433
|
+
integral_clamp_min: Float64Schema;
|
|
415
434
|
}>;
|
|
416
435
|
minimum_position: Float64Schema;
|
|
417
436
|
maximum_position: Float64Schema;
|
|
@@ -423,7 +442,11 @@ export declare const BldcConfigTelmetryPacket: import("typed-binary").ObjectSche
|
|
|
423
442
|
max_torque: Float64Schema;
|
|
424
443
|
dvdt_nominal: Float64Schema;
|
|
425
444
|
cv_max: Float64Schema;
|
|
426
|
-
|
|
445
|
+
control_valve_curve_pressurization: import("typed-binary").ObjectSchema<{
|
|
446
|
+
a: Float64Schema;
|
|
447
|
+
b: Float64Schema;
|
|
448
|
+
}>;
|
|
449
|
+
control_valve_curve_run: import("typed-binary").ObjectSchema<{
|
|
427
450
|
a: Float64Schema;
|
|
428
451
|
b: Float64Schema;
|
|
429
452
|
}>;
|
|
@@ -870,12 +893,18 @@ export declare const spec: {
|
|
|
870
893
|
i: Float64Schema;
|
|
871
894
|
d: Float64Schema;
|
|
872
895
|
normalization_factor: Float64Schema;
|
|
896
|
+
integral_clamp: import("typed-binary").BoolSchema;
|
|
897
|
+
integral_clamp_max: Float64Schema;
|
|
898
|
+
integral_clamp_min: Float64Schema;
|
|
873
899
|
}>;
|
|
874
900
|
run_pid_gains: import("typed-binary").ObjectSchema<{
|
|
875
901
|
p: Float64Schema;
|
|
876
902
|
i: Float64Schema;
|
|
877
903
|
d: Float64Schema;
|
|
878
904
|
normalization_factor: Float64Schema;
|
|
905
|
+
integral_clamp: import("typed-binary").BoolSchema;
|
|
906
|
+
integral_clamp_max: Float64Schema;
|
|
907
|
+
integral_clamp_min: Float64Schema;
|
|
879
908
|
}>;
|
|
880
909
|
minimum_position: Float64Schema;
|
|
881
910
|
maximum_position: Float64Schema;
|
|
@@ -887,7 +916,11 @@ export declare const spec: {
|
|
|
887
916
|
max_torque: Float64Schema;
|
|
888
917
|
dvdt_nominal: Float64Schema;
|
|
889
918
|
cv_max: Float64Schema;
|
|
890
|
-
|
|
919
|
+
control_valve_curve_pressurization: import("typed-binary").ObjectSchema<{
|
|
920
|
+
a: Float64Schema;
|
|
921
|
+
b: Float64Schema;
|
|
922
|
+
}>;
|
|
923
|
+
control_valve_curve_run: import("typed-binary").ObjectSchema<{
|
|
891
924
|
a: Float64Schema;
|
|
892
925
|
b: Float64Schema;
|
|
893
926
|
}>;
|
|
@@ -906,7 +939,8 @@ export declare const spec: {
|
|
|
906
939
|
config: {
|
|
907
940
|
pressurize_pid_gains: {};
|
|
908
941
|
run_pid_gains: {};
|
|
909
|
-
|
|
942
|
+
control_valve_curve_pressurization: {};
|
|
943
|
+
control_valve_curve_run: {};
|
|
910
944
|
main_valve_curve: {};
|
|
911
945
|
};
|
|
912
946
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import bin, { Measurer, Schema } from 'typed-binary';
|
|
2
|
-
// This file was generated by FRICC on 2026-07-
|
|
2
|
+
// This file was generated by FRICC on 2026-07-14 20:17:29. 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;
|
|
@@ -299,6 +299,9 @@ export const actuators_bldc_PidGains = bin.object({
|
|
|
299
299
|
i: f64, // double
|
|
300
300
|
d: f64, // double
|
|
301
301
|
normalization_factor: f64, // double
|
|
302
|
+
integral_clamp: bin.bool, // bool
|
|
303
|
+
integral_clamp_max: f64, // double
|
|
304
|
+
integral_clamp_min: f64, // double
|
|
302
305
|
});
|
|
303
306
|
export const SigmoidParameters = bin.object({
|
|
304
307
|
a: f64, // double
|
|
@@ -317,7 +320,8 @@ export const actuators_bldc_ControllerConfig = bin.object({
|
|
|
317
320
|
max_torque: f64, // double
|
|
318
321
|
dvdt_nominal: f64, // double
|
|
319
322
|
cv_max: f64, // double
|
|
320
|
-
|
|
323
|
+
control_valve_curve_pressurization: SigmoidParameters, // SigmoidParameters
|
|
324
|
+
control_valve_curve_run: SigmoidParameters, // SigmoidParameters
|
|
321
325
|
main_valve_curve: SigmoidParameters, // SigmoidParameters
|
|
322
326
|
});
|
|
323
327
|
export const BldcConfigTelmetryPacket = bin.object({
|
|
@@ -474,7 +478,8 @@ export const spec = {
|
|
|
474
478
|
config: {
|
|
475
479
|
pressurize_pid_gains: {},
|
|
476
480
|
run_pid_gains: {},
|
|
477
|
-
|
|
481
|
+
control_valve_curve_pressurization: {},
|
|
482
|
+
control_valve_curve_run: {},
|
|
478
483
|
main_valve_curve: {},
|
|
479
484
|
},
|
|
480
485
|
},
|
|
@@ -250,6 +250,7 @@
|
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
"name": "data",
|
|
253
|
+
"packed": null,
|
|
253
254
|
"kind": "struct",
|
|
254
255
|
"type": "sensors::capacitance::CapacitanceBatch",
|
|
255
256
|
"fields": [
|
|
@@ -282,6 +283,7 @@
|
|
|
282
283
|
"kind": "array",
|
|
283
284
|
"type": "sensors::capacitance::CapacitanceSample[8]",
|
|
284
285
|
"element": {
|
|
286
|
+
"packed": null,
|
|
285
287
|
"kind": "struct",
|
|
286
288
|
"type": "sensors::capacitance::CapacitanceSample",
|
|
287
289
|
"fields": [
|
|
@@ -703,9 +705,27 @@
|
|
|
703
705
|
"kind": "primitive",
|
|
704
706
|
"type": "double",
|
|
705
707
|
"format_string": "<d"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"name": "integral_clamp",
|
|
711
|
+
"kind": "primitive",
|
|
712
|
+
"type": "bool",
|
|
713
|
+
"format_string": "<?"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"name": "integral_clamp_max",
|
|
717
|
+
"kind": "primitive",
|
|
718
|
+
"type": "double",
|
|
719
|
+
"format_string": "<d"
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
"name": "integral_clamp_min",
|
|
723
|
+
"kind": "primitive",
|
|
724
|
+
"type": "double",
|
|
725
|
+
"format_string": "<d"
|
|
706
726
|
}
|
|
707
727
|
],
|
|
708
|
-
"format_string": "<dddd"
|
|
728
|
+
"format_string": "<dddd?dd"
|
|
709
729
|
},
|
|
710
730
|
{
|
|
711
731
|
"name": "run_pid_gains",
|
|
@@ -735,9 +755,27 @@
|
|
|
735
755
|
"kind": "primitive",
|
|
736
756
|
"type": "double",
|
|
737
757
|
"format_string": "<d"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"name": "integral_clamp",
|
|
761
|
+
"kind": "primitive",
|
|
762
|
+
"type": "bool",
|
|
763
|
+
"format_string": "<?"
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"name": "integral_clamp_max",
|
|
767
|
+
"kind": "primitive",
|
|
768
|
+
"type": "double",
|
|
769
|
+
"format_string": "<d"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"name": "integral_clamp_min",
|
|
773
|
+
"kind": "primitive",
|
|
774
|
+
"type": "double",
|
|
775
|
+
"format_string": "<d"
|
|
738
776
|
}
|
|
739
777
|
],
|
|
740
|
-
"format_string": "<dddd"
|
|
778
|
+
"format_string": "<dddd?dd"
|
|
741
779
|
},
|
|
742
780
|
{
|
|
743
781
|
"name": "minimum_position",
|
|
@@ -800,7 +838,27 @@
|
|
|
800
838
|
"format_string": "<d"
|
|
801
839
|
},
|
|
802
840
|
{
|
|
803
|
-
"name": "
|
|
841
|
+
"name": "control_valve_curve_pressurization",
|
|
842
|
+
"kind": "struct",
|
|
843
|
+
"type": "SigmoidParameters",
|
|
844
|
+
"fields": [
|
|
845
|
+
{
|
|
846
|
+
"name": "a",
|
|
847
|
+
"kind": "primitive",
|
|
848
|
+
"type": "double",
|
|
849
|
+
"format_string": "<d"
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"name": "b",
|
|
853
|
+
"kind": "primitive",
|
|
854
|
+
"type": "double",
|
|
855
|
+
"format_string": "<d"
|
|
856
|
+
}
|
|
857
|
+
],
|
|
858
|
+
"format_string": "<dd"
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"name": "control_valve_curve_run",
|
|
804
862
|
"kind": "struct",
|
|
805
863
|
"type": "SigmoidParameters",
|
|
806
864
|
"fields": [
|
|
@@ -840,10 +898,10 @@
|
|
|
840
898
|
"format_string": "<dd"
|
|
841
899
|
}
|
|
842
900
|
],
|
|
843
|
-
"format_string": "<
|
|
901
|
+
"format_string": "<dddd?dddddd?dddddQddfddddddddd"
|
|
844
902
|
}
|
|
845
903
|
],
|
|
846
|
-
"format_string": "<
|
|
904
|
+
"format_string": "<Bdddd?dddddd?dddddQddfddddddddd"
|
|
847
905
|
},
|
|
848
906
|
"BatteryMonitorTelemetryPacket": {
|
|
849
907
|
"port": 5009,
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import bin from 'typed-binary';
|
|
2
2
|
export declare const StateId: {
|
|
3
3
|
readonly Safe: 0;
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
11
|
-
readonly
|
|
4
|
+
readonly FuelFill: 1;
|
|
5
|
+
readonly RecoveryFill: 2;
|
|
6
|
+
readonly PostRecoveryFill: 3;
|
|
7
|
+
readonly N2Fill: 4;
|
|
8
|
+
readonly PostN2Fill: 5;
|
|
9
|
+
readonly OxFill: 6;
|
|
10
|
+
readonly PostOxFill: 7;
|
|
11
|
+
readonly QDDisconnect: 8;
|
|
12
|
+
readonly Hold: 9;
|
|
12
13
|
};
|
|
13
14
|
export type StateId = (typeof StateId)[keyof typeof StateId];
|
|
14
15
|
export declare const actuators_servo_Id: {
|
|
@@ -95,14 +96,15 @@ export declare const spec: {
|
|
|
95
96
|
enums: {
|
|
96
97
|
current_state: {
|
|
97
98
|
readonly Safe: 0;
|
|
98
|
-
readonly
|
|
99
|
-
readonly
|
|
100
|
-
readonly
|
|
101
|
-
readonly
|
|
102
|
-
readonly
|
|
103
|
-
readonly
|
|
104
|
-
readonly
|
|
105
|
-
readonly
|
|
99
|
+
readonly FuelFill: 1;
|
|
100
|
+
readonly RecoveryFill: 2;
|
|
101
|
+
readonly PostRecoveryFill: 3;
|
|
102
|
+
readonly N2Fill: 4;
|
|
103
|
+
readonly PostN2Fill: 5;
|
|
104
|
+
readonly OxFill: 6;
|
|
105
|
+
readonly PostOxFill: 7;
|
|
106
|
+
readonly QDDisconnect: 8;
|
|
107
|
+
readonly Hold: 9;
|
|
106
108
|
};
|
|
107
109
|
};
|
|
108
110
|
};
|
|
@@ -114,14 +116,15 @@ export declare const spec: {
|
|
|
114
116
|
enums: {
|
|
115
117
|
current_state: {
|
|
116
118
|
readonly Safe: 0;
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
119
|
+
readonly FuelFill: 1;
|
|
120
|
+
readonly RecoveryFill: 2;
|
|
121
|
+
readonly PostRecoveryFill: 3;
|
|
122
|
+
readonly N2Fill: 4;
|
|
123
|
+
readonly PostN2Fill: 5;
|
|
124
|
+
readonly OxFill: 6;
|
|
125
|
+
readonly PostOxFill: 7;
|
|
126
|
+
readonly QDDisconnect: 8;
|
|
127
|
+
readonly Hold: 9;
|
|
125
128
|
};
|
|
126
129
|
};
|
|
127
130
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import bin, { Measurer, Schema } from 'typed-binary';
|
|
2
|
-
// This file was generated by FRICC on 2026-07-
|
|
2
|
+
// This file was generated by FRICC on 2026-07-15 07:10: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;
|
|
@@ -62,14 +62,15 @@ const i64 = new Int64Schema();
|
|
|
62
62
|
const f64 = new Float64Schema();
|
|
63
63
|
export const StateId = {
|
|
64
64
|
Safe: 0,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
65
|
+
FuelFill: 1,
|
|
66
|
+
RecoveryFill: 2,
|
|
67
|
+
PostRecoveryFill: 3,
|
|
68
|
+
N2Fill: 4,
|
|
69
|
+
PostN2Fill: 5,
|
|
70
|
+
OxFill: 6,
|
|
71
|
+
PostOxFill: 7,
|
|
72
|
+
QDDisconnect: 8,
|
|
73
|
+
Hold: 9,
|
|
73
74
|
};
|
|
74
75
|
export const actuators_servo_Id = {
|
|
75
76
|
OxSupply: 0,
|
|
@@ -169,14 +169,15 @@
|
|
|
169
169
|
"enums": {
|
|
170
170
|
"StateId": {
|
|
171
171
|
"Safe": 0,
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
172
|
+
"FuelFill": 1,
|
|
173
|
+
"RecoveryFill": 2,
|
|
174
|
+
"PostRecoveryFill": 3,
|
|
175
|
+
"N2Fill": 4,
|
|
176
|
+
"PostN2Fill": 5,
|
|
177
|
+
"OxFill": 6,
|
|
178
|
+
"PostOxFill": 7,
|
|
179
|
+
"QDDisconnect": 8,
|
|
180
|
+
"Hold": 9
|
|
180
181
|
},
|
|
181
182
|
"actuators::servo::Id": {
|
|
182
183
|
"OxSupply": 0,
|