fossekall-interface 0.1.127 → 0.1.130
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 +46 -59
- package/dist/generated/ecu/commands.js +38 -44
- package/dist/generated/ecu/commands.json +27 -33
- package/dist/generated/ecu/telemetry.d.ts +77 -161
- package/dist/generated/ecu/telemetry.js +49 -90
- package/dist/generated/ecu/telemetry.json +50 -138
- package/dist/generated/fs/commands.d.ts +221 -0
- package/dist/generated/fs/commands.js +189 -0
- package/dist/generated/fs/commands.json +212 -0
- package/dist/generated/fs/index.d.ts +4 -0
- package/dist/generated/fs/index.js +4 -0
- package/dist/generated/fs/telemetry.d.ts +361 -0
- package/dist/generated/fs/telemetry.js +250 -0
- package/dist/generated/fs/telemetry.json +383 -0
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"structs": {
|
|
4
|
+
"HeartBeatTelemetry": {
|
|
5
|
+
"port": 57005,
|
|
6
|
+
"kind": "struct",
|
|
7
|
+
"type": "HeartBeatTelemetry",
|
|
8
|
+
"fields": [
|
|
9
|
+
{
|
|
10
|
+
"name": "message",
|
|
11
|
+
"kind": "array",
|
|
12
|
+
"type": "char[16]",
|
|
13
|
+
"element": {
|
|
14
|
+
"kind": "primitive",
|
|
15
|
+
"type": "char",
|
|
16
|
+
"format_string": "<c"
|
|
17
|
+
},
|
|
18
|
+
"count": 16,
|
|
19
|
+
"format_string": "<cccccccccccccccc"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "status_flags",
|
|
23
|
+
"kind": "primitive",
|
|
24
|
+
"type": "unsigned char",
|
|
25
|
+
"format_string": "<B"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"format_string": "<ccccccccccccccccB"
|
|
29
|
+
},
|
|
30
|
+
"FsmStatusPacket": {
|
|
31
|
+
"port": 5001,
|
|
32
|
+
"kind": "struct",
|
|
33
|
+
"type": "FsmStatusPacket",
|
|
34
|
+
"fields": [
|
|
35
|
+
{
|
|
36
|
+
"name": "status",
|
|
37
|
+
"kind": "struct",
|
|
38
|
+
"type": "fsm::FsmStatus",
|
|
39
|
+
"fields": [
|
|
40
|
+
{
|
|
41
|
+
"name": "state_entry_time_ms",
|
|
42
|
+
"kind": "primitive",
|
|
43
|
+
"type": "unsigned long long",
|
|
44
|
+
"format_string": "<Q"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "state_time_ms",
|
|
48
|
+
"kind": "primitive",
|
|
49
|
+
"type": "unsigned long long",
|
|
50
|
+
"format_string": "<Q"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "current_state",
|
|
54
|
+
"kind": "enum",
|
|
55
|
+
"type": "StateId",
|
|
56
|
+
"format_string": "<B"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "previous_state",
|
|
60
|
+
"kind": "enum",
|
|
61
|
+
"type": "StateId",
|
|
62
|
+
"format_string": "<B"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "last_event",
|
|
66
|
+
"kind": "enum",
|
|
67
|
+
"type": "Event",
|
|
68
|
+
"format_string": "<B"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "last_abort_reason",
|
|
72
|
+
"kind": "enum",
|
|
73
|
+
"type": "fsm::AbortReason",
|
|
74
|
+
"format_string": "<B"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"format_string": "<QQBBBB"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "timestamp_ms",
|
|
81
|
+
"kind": "primitive",
|
|
82
|
+
"type": "unsigned int",
|
|
83
|
+
"format_string": "<I"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"format_string": "<QQBBBBI"
|
|
87
|
+
},
|
|
88
|
+
"PressureSensorPacket": {
|
|
89
|
+
"port": 5002,
|
|
90
|
+
"fragment": "sensor_id",
|
|
91
|
+
"packed": null,
|
|
92
|
+
"kind": "struct",
|
|
93
|
+
"type": "PressureSensorPacket",
|
|
94
|
+
"fields": [
|
|
95
|
+
{
|
|
96
|
+
"name": "sensor_id",
|
|
97
|
+
"kind": "enum",
|
|
98
|
+
"type": "sensors::pressure::Id",
|
|
99
|
+
"format_string": "<B"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "pressure_batch",
|
|
103
|
+
"packed": null,
|
|
104
|
+
"kind": "struct",
|
|
105
|
+
"type": "sensors::pressure::PressureBatch",
|
|
106
|
+
"fields": [
|
|
107
|
+
{
|
|
108
|
+
"name": "t0_us",
|
|
109
|
+
"kind": "primitive",
|
|
110
|
+
"type": "unsigned long long",
|
|
111
|
+
"format_string": "<Q"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"name": "dt_us",
|
|
115
|
+
"kind": "primitive",
|
|
116
|
+
"type": "unsigned int",
|
|
117
|
+
"format_string": "<I"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "count",
|
|
121
|
+
"kind": "primitive",
|
|
122
|
+
"type": "unsigned char",
|
|
123
|
+
"format_string": "<B"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "seq",
|
|
127
|
+
"kind": "primitive",
|
|
128
|
+
"type": "unsigned char",
|
|
129
|
+
"format_string": "<B"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "samples",
|
|
133
|
+
"kind": "array",
|
|
134
|
+
"type": "short[20]",
|
|
135
|
+
"element": {
|
|
136
|
+
"kind": "primitive",
|
|
137
|
+
"type": "short",
|
|
138
|
+
"format_string": "<h"
|
|
139
|
+
},
|
|
140
|
+
"count": 20,
|
|
141
|
+
"format_string": "<hhhhhhhhhhhhhhhhhhhh"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"format_string": "<QIBBhhhhhhhhhhhhhhhhhhhh"
|
|
145
|
+
}
|
|
146
|
+
],
|
|
147
|
+
"format_string": "<BQIBBhhhhhhhhhhhhhhhhhhhh"
|
|
148
|
+
},
|
|
149
|
+
"ServoStatusPacket": {
|
|
150
|
+
"port": 5003,
|
|
151
|
+
"fragment": "servo_id",
|
|
152
|
+
"kind": "struct",
|
|
153
|
+
"type": "ServoStatusPacket",
|
|
154
|
+
"fields": [
|
|
155
|
+
{
|
|
156
|
+
"name": "servo_id",
|
|
157
|
+
"kind": "enum",
|
|
158
|
+
"type": "actuators::servo::Id",
|
|
159
|
+
"format_string": "<B"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "timestamp_ms",
|
|
163
|
+
"kind": "primitive",
|
|
164
|
+
"type": "unsigned int",
|
|
165
|
+
"format_string": "<I"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "status",
|
|
169
|
+
"kind": "struct",
|
|
170
|
+
"type": "actuators::servo::ServoStatus",
|
|
171
|
+
"fields": [
|
|
172
|
+
{
|
|
173
|
+
"name": "commanded_angle_deg",
|
|
174
|
+
"kind": "primitive",
|
|
175
|
+
"type": "float",
|
|
176
|
+
"format_string": "<f"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "target_angle_deg",
|
|
180
|
+
"kind": "primitive",
|
|
181
|
+
"type": "float",
|
|
182
|
+
"format_string": "<f"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "measured_angle_deg",
|
|
186
|
+
"kind": "primitive",
|
|
187
|
+
"type": "float",
|
|
188
|
+
"format_string": "<f"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "current_ma",
|
|
192
|
+
"kind": "primitive",
|
|
193
|
+
"type": "float",
|
|
194
|
+
"format_string": "<f"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "power_state",
|
|
198
|
+
"kind": "enum",
|
|
199
|
+
"type": "actuators::servo::PowerState",
|
|
200
|
+
"format_string": "<B"
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"format_string": "<ffffB"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"format_string": "<BIffffB"
|
|
207
|
+
},
|
|
208
|
+
"SolenoidStatusPacket": {
|
|
209
|
+
"port": 5004,
|
|
210
|
+
"fragment": "solenoid_id",
|
|
211
|
+
"kind": "struct",
|
|
212
|
+
"type": "SolenoidStatusPacket",
|
|
213
|
+
"fields": [
|
|
214
|
+
{
|
|
215
|
+
"name": "solenoid_id",
|
|
216
|
+
"kind": "enum",
|
|
217
|
+
"type": "actuators::solenoid::Id",
|
|
218
|
+
"format_string": "<B"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "timestamp_ms",
|
|
222
|
+
"kind": "primitive",
|
|
223
|
+
"type": "unsigned int",
|
|
224
|
+
"format_string": "<I"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "status",
|
|
228
|
+
"kind": "struct",
|
|
229
|
+
"type": "actuators::solenoid::SolenoidStatus",
|
|
230
|
+
"fields": [
|
|
231
|
+
{
|
|
232
|
+
"name": "power_state",
|
|
233
|
+
"kind": "enum",
|
|
234
|
+
"type": "actuators::solenoid::PowerState",
|
|
235
|
+
"format_string": "<B"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "opening",
|
|
239
|
+
"kind": "enum",
|
|
240
|
+
"type": "actuators::solenoid::Opening",
|
|
241
|
+
"format_string": "<B"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "current_ma",
|
|
245
|
+
"kind": "primitive",
|
|
246
|
+
"type": "float",
|
|
247
|
+
"format_string": "<f"
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
"format_string": "<BBf"
|
|
251
|
+
}
|
|
252
|
+
],
|
|
253
|
+
"format_string": "<BIBBf"
|
|
254
|
+
},
|
|
255
|
+
"LoadCellPacket": {
|
|
256
|
+
"port": 5007,
|
|
257
|
+
"fragment": "loadcell_id",
|
|
258
|
+
"kind": "struct",
|
|
259
|
+
"type": "LoadCellPacket",
|
|
260
|
+
"fields": [
|
|
261
|
+
{
|
|
262
|
+
"name": "load_cell_id",
|
|
263
|
+
"kind": "enum",
|
|
264
|
+
"type": "sensors::load_cell::Id",
|
|
265
|
+
"format_string": "<B"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "data",
|
|
269
|
+
"kind": "struct",
|
|
270
|
+
"type": "sensors::load_cell::LoadCellBatch",
|
|
271
|
+
"fields": [
|
|
272
|
+
{
|
|
273
|
+
"name": "t0_us",
|
|
274
|
+
"kind": "primitive",
|
|
275
|
+
"type": "unsigned long long",
|
|
276
|
+
"format_string": "<Q"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "dt_us",
|
|
280
|
+
"kind": "primitive",
|
|
281
|
+
"type": "unsigned int",
|
|
282
|
+
"format_string": "<I"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "count",
|
|
286
|
+
"kind": "primitive",
|
|
287
|
+
"type": "unsigned char",
|
|
288
|
+
"format_string": "<B"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "seq",
|
|
292
|
+
"kind": "primitive",
|
|
293
|
+
"type": "unsigned char",
|
|
294
|
+
"format_string": "<B"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "samples",
|
|
298
|
+
"kind": "array",
|
|
299
|
+
"type": "short[20]",
|
|
300
|
+
"element": {
|
|
301
|
+
"kind": "primitive",
|
|
302
|
+
"type": "short",
|
|
303
|
+
"format_string": "<h"
|
|
304
|
+
},
|
|
305
|
+
"count": 20,
|
|
306
|
+
"format_string": "<hhhhhhhhhhhhhhhhhhhh"
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"format_string": "<QIBBhhhhhhhhhhhhhhhhhhhh"
|
|
310
|
+
}
|
|
311
|
+
],
|
|
312
|
+
"format_string": "<BQIBBhhhhhhhhhhhhhhhhhhhh"
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"enums": {
|
|
316
|
+
"StateId": {
|
|
317
|
+
"Safe": 0,
|
|
318
|
+
"RecoveryFill": 1,
|
|
319
|
+
"PostRecoveryFill": 2,
|
|
320
|
+
"N2Fill": 3,
|
|
321
|
+
"PostN2Fill": 4,
|
|
322
|
+
"OxFill": 5,
|
|
323
|
+
"PostOxFill": 6,
|
|
324
|
+
"QDDisconnect": 7,
|
|
325
|
+
"Hold": 8
|
|
326
|
+
},
|
|
327
|
+
"Event": {
|
|
328
|
+
"Boot": 0,
|
|
329
|
+
"NextState": 1,
|
|
330
|
+
"PreviousState": 2,
|
|
331
|
+
"Timeout": 3,
|
|
332
|
+
"Abort": 4,
|
|
333
|
+
"None": 5,
|
|
334
|
+
"Count": 6
|
|
335
|
+
},
|
|
336
|
+
"fsm::AbortReason": {
|
|
337
|
+
"None": 0,
|
|
338
|
+
"Manual": 1
|
|
339
|
+
},
|
|
340
|
+
"sensors::pressure::Id": {
|
|
341
|
+
"OxSupply": 0,
|
|
342
|
+
"N2_200": 1,
|
|
343
|
+
"N2_300": 2,
|
|
344
|
+
"Count": 3
|
|
345
|
+
},
|
|
346
|
+
"actuators::servo::Id": {
|
|
347
|
+
"OxSupply": 0,
|
|
348
|
+
"Count": 1
|
|
349
|
+
},
|
|
350
|
+
"actuators::servo::PowerState": {
|
|
351
|
+
"Unknown": 0,
|
|
352
|
+
"Off": 1,
|
|
353
|
+
"Booting": 2,
|
|
354
|
+
"On": 3
|
|
355
|
+
},
|
|
356
|
+
"actuators::solenoid::Id": {
|
|
357
|
+
"OxBleed": 0,
|
|
358
|
+
"N2_200_Supply": 1,
|
|
359
|
+
"N2_200_Bleed": 2,
|
|
360
|
+
"N2_300_Supply": 3,
|
|
361
|
+
"N2_300_Bleed": 4,
|
|
362
|
+
"QD_1": 5,
|
|
363
|
+
"QD_2": 6,
|
|
364
|
+
"Count": 7
|
|
365
|
+
},
|
|
366
|
+
"actuators::solenoid::PowerState": {
|
|
367
|
+
"Unknown": 0,
|
|
368
|
+
"Off": 1,
|
|
369
|
+
"On": 2
|
|
370
|
+
},
|
|
371
|
+
"actuators::solenoid::Opening": {
|
|
372
|
+
"Unknown": 0,
|
|
373
|
+
"Closed": 1,
|
|
374
|
+
"Open": 2
|
|
375
|
+
},
|
|
376
|
+
"sensors::load_cell::Id": {
|
|
377
|
+
"LoadCell0": 0,
|
|
378
|
+
"LoadCell1": 1,
|
|
379
|
+
"LoadCell2": 2,
|
|
380
|
+
"Count": 3
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
}
|
package/dist/generated/index.js
CHANGED