fossekall-interface 0.1.124 → 0.1.126

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.
@@ -0,0 +1,569 @@
1
+ {
2
+ "version": 1,
3
+ "structs": {
4
+ "BldcCommands::OpenCloseBldcPayload": {
5
+ "id": 64,
6
+ "kind": "struct",
7
+ "type": "BldcCommands::OpenCloseBldcPayload",
8
+ "fields": [
9
+ {
10
+ "name": "id",
11
+ "kind": "enum",
12
+ "type": "node::bldc::Id",
13
+ "format_string": "<B"
14
+ },
15
+ {
16
+ "name": "open_close",
17
+ "kind": "enum",
18
+ "type": "BldcCommands::OpenClose",
19
+ "format_string": "<B"
20
+ }
21
+ ],
22
+ "format_string": "<BB"
23
+ },
24
+ "BldcCommands::SetBldcPayload": {
25
+ "id": 65,
26
+ "kind": "struct",
27
+ "type": "BldcCommands::SetBldcPayload",
28
+ "fields": [
29
+ {
30
+ "name": "id",
31
+ "kind": "enum",
32
+ "type": "node::bldc::Id",
33
+ "format_string": "<B"
34
+ },
35
+ {
36
+ "name": "angle_deg",
37
+ "kind": "primitive",
38
+ "type": "float",
39
+ "format_string": "<f"
40
+ }
41
+ ],
42
+ "format_string": "<Bf"
43
+ },
44
+ "BldcCommands::CalibratePayload": {
45
+ "id": 66,
46
+ "kind": "struct",
47
+ "type": "BldcCommands::CalibratePayload",
48
+ "fields": [
49
+ {
50
+ "name": "id",
51
+ "kind": "enum",
52
+ "type": "node::bldc::Id",
53
+ "format_string": "<B"
54
+ }
55
+ ],
56
+ "format_string": "<B"
57
+ },
58
+ "BldcCommands::ConfigureBldcPayload": {
59
+ "id": 67,
60
+ "kind": "struct",
61
+ "type": "BldcCommands::ConfigureBldcPayload",
62
+ "fields": [
63
+ {
64
+ "name": "id",
65
+ "kind": "enum",
66
+ "type": "node::bldc::Id",
67
+ "format_string": "<B"
68
+ },
69
+ {
70
+ "name": "config",
71
+ "kind": "struct",
72
+ "type": "actuators::bldc::ControllerConfig",
73
+ "fields": [
74
+ {
75
+ "name": "pressurize_pid_gains",
76
+ "kind": "struct",
77
+ "type": "actuators::bldc::PidGains",
78
+ "fields": [
79
+ {
80
+ "name": "p",
81
+ "kind": "primitive",
82
+ "type": "double",
83
+ "format_string": "<d"
84
+ },
85
+ {
86
+ "name": "i",
87
+ "kind": "primitive",
88
+ "type": "double",
89
+ "format_string": "<d"
90
+ },
91
+ {
92
+ "name": "d",
93
+ "kind": "primitive",
94
+ "type": "double",
95
+ "format_string": "<d"
96
+ },
97
+ {
98
+ "name": "normalization_factor",
99
+ "kind": "primitive",
100
+ "type": "double",
101
+ "format_string": "<d"
102
+ }
103
+ ],
104
+ "format_string": "<dddd"
105
+ },
106
+ {
107
+ "name": "run_pid_gains",
108
+ "kind": "struct",
109
+ "type": "actuators::bldc::PidGains",
110
+ "fields": [
111
+ {
112
+ "name": "p",
113
+ "kind": "primitive",
114
+ "type": "double",
115
+ "format_string": "<d"
116
+ },
117
+ {
118
+ "name": "i",
119
+ "kind": "primitive",
120
+ "type": "double",
121
+ "format_string": "<d"
122
+ },
123
+ {
124
+ "name": "d",
125
+ "kind": "primitive",
126
+ "type": "double",
127
+ "format_string": "<d"
128
+ },
129
+ {
130
+ "name": "normalization_factor",
131
+ "kind": "primitive",
132
+ "type": "double",
133
+ "format_string": "<d"
134
+ }
135
+ ],
136
+ "format_string": "<dddd"
137
+ },
138
+ {
139
+ "name": "minimum_position",
140
+ "kind": "primitive",
141
+ "type": "double",
142
+ "format_string": "<d"
143
+ },
144
+ {
145
+ "name": "maximum_position",
146
+ "kind": "primitive",
147
+ "type": "double",
148
+ "format_string": "<d"
149
+ },
150
+ {
151
+ "name": "valve_encoder_offset",
152
+ "kind": "primitive",
153
+ "type": "double",
154
+ "format_string": "<d"
155
+ },
156
+ {
157
+ "name": "can_watchdog_timeout",
158
+ "kind": "primitive",
159
+ "type": "unsigned long long",
160
+ "format_string": "<Q"
161
+ },
162
+ {
163
+ "name": "end_pressure_ref",
164
+ "kind": "primitive",
165
+ "type": "double",
166
+ "format_string": "<d"
167
+ },
168
+ {
169
+ "name": "pressurizing_time",
170
+ "kind": "primitive",
171
+ "type": "double",
172
+ "format_string": "<d"
173
+ },
174
+ {
175
+ "name": "gear_ratio",
176
+ "kind": "primitive",
177
+ "type": "float",
178
+ "format_string": "<f"
179
+ },
180
+ {
181
+ "name": "max_torque",
182
+ "kind": "primitive",
183
+ "type": "double",
184
+ "format_string": "<d"
185
+ },
186
+ {
187
+ "name": "dvdt_nominal",
188
+ "kind": "primitive",
189
+ "type": "double",
190
+ "format_string": "<d"
191
+ },
192
+ {
193
+ "name": "cv_max",
194
+ "kind": "primitive",
195
+ "type": "double",
196
+ "format_string": "<d"
197
+ },
198
+ {
199
+ "name": "control_valve_curve",
200
+ "kind": "struct",
201
+ "type": "SigmoidParameters",
202
+ "fields": [
203
+ {
204
+ "name": "a",
205
+ "kind": "primitive",
206
+ "type": "double",
207
+ "format_string": "<d"
208
+ },
209
+ {
210
+ "name": "b",
211
+ "kind": "primitive",
212
+ "type": "double",
213
+ "format_string": "<d"
214
+ }
215
+ ],
216
+ "format_string": "<dd"
217
+ },
218
+ {
219
+ "name": "main_valve_curve",
220
+ "kind": "struct",
221
+ "type": "SigmoidParameters",
222
+ "fields": [
223
+ {
224
+ "name": "a",
225
+ "kind": "primitive",
226
+ "type": "double",
227
+ "format_string": "<d"
228
+ },
229
+ {
230
+ "name": "b",
231
+ "kind": "primitive",
232
+ "type": "double",
233
+ "format_string": "<d"
234
+ }
235
+ ],
236
+ "format_string": "<dd"
237
+ }
238
+ ],
239
+ "format_string": "<dddddddddddQddfddddddd"
240
+ }
241
+ ],
242
+ "format_string": "<BdddddddddddQddfddddddd"
243
+ },
244
+ "FsmCommands::NextStatePayload": {
245
+ "id": 32,
246
+ "kind": "struct",
247
+ "type": "FsmCommands::NextStatePayload",
248
+ "fields": [
249
+ {
250
+ "name": "current_state",
251
+ "kind": "enum",
252
+ "type": "StateId",
253
+ "format_string": "<B"
254
+ }
255
+ ],
256
+ "format_string": "<B"
257
+ },
258
+ "FsmCommands::PreviousStatePayload": {
259
+ "id": 33,
260
+ "kind": "struct",
261
+ "type": "FsmCommands::PreviousStatePayload",
262
+ "fields": [
263
+ {
264
+ "name": "current_state",
265
+ "kind": "enum",
266
+ "type": "StateId",
267
+ "format_string": "<B"
268
+ }
269
+ ],
270
+ "format_string": "<B"
271
+ },
272
+ "FsmCommands::AbortPayload": {
273
+ "id": 34,
274
+ "kind": "struct",
275
+ "type": "FsmCommands::AbortPayload",
276
+ "fields": [
277
+ {
278
+ "name": "reserved",
279
+ "kind": "primitive",
280
+ "type": "unsigned char",
281
+ "format_string": "<B"
282
+ }
283
+ ],
284
+ "format_string": "<B"
285
+ },
286
+ "FsmCommands::StatusPayload": {
287
+ "id": 35,
288
+ "kind": "struct",
289
+ "type": "FsmCommands::StatusPayload",
290
+ "fields": [
291
+ {
292
+ "name": "reserved",
293
+ "kind": "primitive",
294
+ "type": "unsigned char",
295
+ "format_string": "<B"
296
+ }
297
+ ],
298
+ "format_string": "<B"
299
+ },
300
+ "ServoCommands::OpenCloseServoPayload": {
301
+ "id": 48,
302
+ "kind": "struct",
303
+ "type": "ServoCommands::OpenCloseServoPayload",
304
+ "fields": [
305
+ {
306
+ "name": "servo_id",
307
+ "kind": "enum",
308
+ "type": "node::servo::Id",
309
+ "format_string": "<B"
310
+ },
311
+ {
312
+ "name": "open_close",
313
+ "kind": "enum",
314
+ "type": "ServoCommands::OpenClose",
315
+ "format_string": "<B"
316
+ },
317
+ {
318
+ "name": "duration_ms",
319
+ "kind": "primitive",
320
+ "type": "unsigned short",
321
+ "format_string": "<H"
322
+ },
323
+ {
324
+ "name": "delay_ms",
325
+ "kind": "primitive",
326
+ "type": "unsigned short",
327
+ "format_string": "<H"
328
+ },
329
+ {
330
+ "name": "position_mode",
331
+ "kind": "enum",
332
+ "type": "actuators::servo::PositionMode",
333
+ "format_string": "<B"
334
+ },
335
+ {
336
+ "name": "start_policy",
337
+ "kind": "enum",
338
+ "type": "actuators::servo::StartPolicy",
339
+ "format_string": "<B"
340
+ }
341
+ ],
342
+ "format_string": "<BBHHBB"
343
+ },
344
+ "ServoCommands::SetServoPayload": {
345
+ "id": 49,
346
+ "kind": "struct",
347
+ "type": "ServoCommands::SetServoPayload",
348
+ "fields": [
349
+ {
350
+ "name": "servo_id",
351
+ "kind": "enum",
352
+ "type": "node::servo::Id",
353
+ "format_string": "<B"
354
+ },
355
+ {
356
+ "name": "angle_deg",
357
+ "kind": "primitive",
358
+ "type": "float",
359
+ "format_string": "<f"
360
+ },
361
+ {
362
+ "name": "duration_ms",
363
+ "kind": "primitive",
364
+ "type": "unsigned short",
365
+ "format_string": "<H"
366
+ },
367
+ {
368
+ "name": "delay_ms",
369
+ "kind": "primitive",
370
+ "type": "unsigned short",
371
+ "format_string": "<H"
372
+ },
373
+ {
374
+ "name": "position_mode",
375
+ "kind": "enum",
376
+ "type": "actuators::servo::PositionMode",
377
+ "format_string": "<B"
378
+ },
379
+ {
380
+ "name": "start_policy",
381
+ "kind": "enum",
382
+ "type": "actuators::servo::StartPolicy",
383
+ "format_string": "<B"
384
+ }
385
+ ],
386
+ "format_string": "<BfHHBB"
387
+ },
388
+ "SolenoidCommands::OpenCloseSolenoidPayload": {
389
+ "id": 80,
390
+ "kind": "struct",
391
+ "type": "SolenoidCommands::OpenCloseSolenoidPayload",
392
+ "fields": [
393
+ {
394
+ "name": "solenoid_id",
395
+ "kind": "enum",
396
+ "type": "node::solenoid::Id",
397
+ "format_string": "<B"
398
+ },
399
+ {
400
+ "name": "opening_type",
401
+ "kind": "enum",
402
+ "type": "SolenoidCommands::OpeningType",
403
+ "format_string": "<B"
404
+ }
405
+ ],
406
+ "format_string": "<BB"
407
+ },
408
+ "ControlPolicyCommands::SetManualPolicyPayload": {
409
+ "id": 96,
410
+ "kind": "struct",
411
+ "type": "ControlPolicyCommands::SetManualPolicyPayload",
412
+ "fields": [
413
+ {
414
+ "name": "value",
415
+ "kind": "enum",
416
+ "type": "ControlPolicyCommands::PolicyValue",
417
+ "format_string": "<B"
418
+ }
419
+ ],
420
+ "format_string": "<B"
421
+ },
422
+ "RegulatorCommands::SetEnabledPayload": {
423
+ "id": 112,
424
+ "kind": "struct",
425
+ "type": "RegulatorCommands::SetEnabledPayload",
426
+ "fields": [
427
+ {
428
+ "name": "regulator_id",
429
+ "kind": "enum",
430
+ "type": "node::regulator::Id",
431
+ "format_string": "<B"
432
+ },
433
+ {
434
+ "name": "value",
435
+ "kind": "enum",
436
+ "type": "RegulatorCommands::RegulatorValue",
437
+ "format_string": "<B"
438
+ }
439
+ ],
440
+ "format_string": "<BB"
441
+ },
442
+ "RegulatorCommands::SetSetpointPayload": {
443
+ "id": 113,
444
+ "kind": "struct",
445
+ "type": "RegulatorCommands::SetSetpointPayload",
446
+ "fields": [
447
+ {
448
+ "name": "regulator_id",
449
+ "kind": "enum",
450
+ "type": "node::regulator::Id",
451
+ "format_string": "<B"
452
+ },
453
+ {
454
+ "name": "setpoint",
455
+ "kind": "primitive",
456
+ "type": "float",
457
+ "format_string": "<f"
458
+ }
459
+ ],
460
+ "format_string": "<Bf"
461
+ },
462
+ "RegulatorCommands::SetGainsPayload": {
463
+ "id": 114,
464
+ "kind": "struct",
465
+ "type": "RegulatorCommands::SetGainsPayload",
466
+ "fields": [
467
+ {
468
+ "name": "regulator_id",
469
+ "kind": "enum",
470
+ "type": "node::regulator::Id",
471
+ "format_string": "<B"
472
+ },
473
+ {
474
+ "name": "kp",
475
+ "kind": "primitive",
476
+ "type": "float",
477
+ "format_string": "<f"
478
+ },
479
+ {
480
+ "name": "ki",
481
+ "kind": "primitive",
482
+ "type": "float",
483
+ "format_string": "<f"
484
+ },
485
+ {
486
+ "name": "kd",
487
+ "kind": "primitive",
488
+ "type": "float",
489
+ "format_string": "<f"
490
+ }
491
+ ],
492
+ "format_string": "<Bfff"
493
+ }
494
+ },
495
+ "enums": {
496
+ "node::bldc::Id": {
497
+ "Fuel": 0,
498
+ "Ox": 1,
499
+ "Count": 2
500
+ },
501
+ "BldcCommands::OpenClose": {
502
+ "Open": 0,
503
+ "Close": 1
504
+ },
505
+ "StateId": {
506
+ "Safe": 0,
507
+ "N2Fill": 1,
508
+ "PostN2Fill": 2,
509
+ "OxFill": 3,
510
+ "PostOxFill": 4,
511
+ "QDDisconnect": 5,
512
+ "Pressurized": 6,
513
+ "Armed": 7,
514
+ "Burn": 8,
515
+ "Shutdown": 9,
516
+ "PostShutdown": 10,
517
+ "Purge": 11,
518
+ "Hold": 12
519
+ },
520
+ "node::servo::Id": {
521
+ "MainFuel": 0,
522
+ "MainOx": 1,
523
+ "OxFill": 2,
524
+ "OxBoiloff": 3,
525
+ "OxSupply": 4,
526
+ "Purge": 5,
527
+ "Count": 6
528
+ },
529
+ "ServoCommands::OpenClose": {
530
+ "Open": 0,
531
+ "Close": 1
532
+ },
533
+ "actuators::servo::PositionMode": {
534
+ "kAbsolute": 0,
535
+ "kRelative": 1
536
+ },
537
+ "actuators::servo::StartPolicy": {
538
+ "kPreempt": 0,
539
+ "kNoInterrupt": 1
540
+ },
541
+ "node::solenoid::Id": {
542
+ "FuelVent": 0,
543
+ "OxVent": 1,
544
+ "N2Fill": 2,
545
+ "OxHoseBleed": 3,
546
+ "N2_300_Supply": 4,
547
+ "N2_300_Hose_Bleed": 5,
548
+ "QD_1": 6,
549
+ "QD_2": 7,
550
+ "Count": 8
551
+ },
552
+ "SolenoidCommands::OpeningType": {
553
+ "Open": 0,
554
+ "Close": 1
555
+ },
556
+ "ControlPolicyCommands::PolicyValue": {
557
+ "Disable": 0,
558
+ "Enable": 1
559
+ },
560
+ "node::regulator::Id": {
561
+ "OxBoiloff": 0,
562
+ "Count": 1
563
+ },
564
+ "RegulatorCommands::RegulatorValue": {
565
+ "Disable": 0,
566
+ "Enable": 1
567
+ }
568
+ }
569
+ }
@@ -1,2 +1,4 @@
1
+ export { default as commandsJson } from "./commands.json";
1
2
  export * as commands from "./commands";
3
+ export { default as telemetryJson } from "./telemetry.json";
2
4
  export * as telemetry from "./telemetry";
@@ -1,2 +1,4 @@
1
+ export { default as commandsJson } from "./commands.json";
1
2
  export * as commands from "./commands";
3
+ export { default as telemetryJson } from "./telemetry.json";
2
4
  export * as telemetry from "./telemetry";