fossekall-interface 0.1.69 → 0.1.71

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-04 23:49:29. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-04-05 10:27:51. 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;
@@ -7,13 +7,15 @@
7
7
  "type": "BldcCommands::OpenCloseBldcPayload",
8
8
  "fields": [
9
9
  {
10
- "name": "node::bldc::Id",
10
+ "name": "id",
11
11
  "kind": "enum",
12
+ "type": "node::bldc::Id",
12
13
  "format_string": "<B"
13
14
  },
14
15
  {
15
- "name": "BldcCommands::OpenClose",
16
+ "name": "open_close",
16
17
  "kind": "enum",
18
+ "type": "BldcCommands::OpenClose",
17
19
  "format_string": "<B"
18
20
  }
19
21
  ],
@@ -25,8 +27,9 @@
25
27
  "type": "BldcCommands::SetBldcPayload",
26
28
  "fields": [
27
29
  {
28
- "name": "node::bldc::Id",
30
+ "name": "id",
29
31
  "kind": "enum",
32
+ "type": "node::bldc::Id",
30
33
  "format_string": "<B"
31
34
  },
32
35
  {
@@ -44,8 +47,9 @@
44
47
  "type": "BldcCommands::CalibratePayload",
45
48
  "fields": [
46
49
  {
47
- "name": "node::bldc::Id",
50
+ "name": "id",
48
51
  "kind": "enum",
52
+ "type": "node::bldc::Id",
49
53
  "format_string": "<B"
50
54
  }
51
55
  ],
@@ -57,8 +61,9 @@
57
61
  "type": "FsmCommands::NextStatePayload",
58
62
  "fields": [
59
63
  {
60
- "name": "StateId",
64
+ "name": "current_state",
61
65
  "kind": "enum",
66
+ "type": "StateId",
62
67
  "format_string": "<B"
63
68
  }
64
69
  ],
@@ -70,8 +75,9 @@
70
75
  "type": "FsmCommands::PreviousStatePayload",
71
76
  "fields": [
72
77
  {
73
- "name": "StateId",
78
+ "name": "current_state",
74
79
  "kind": "enum",
80
+ "type": "StateId",
75
81
  "format_string": "<B"
76
82
  }
77
83
  ],
@@ -111,13 +117,15 @@
111
117
  "type": "ServoCommands::OpenCloseServoPayload",
112
118
  "fields": [
113
119
  {
114
- "name": "node::servo::Id",
120
+ "name": "servo_id",
115
121
  "kind": "enum",
122
+ "type": "node::servo::Id",
116
123
  "format_string": "<B"
117
124
  },
118
125
  {
119
- "name": "ServoCommands::OpenClose",
126
+ "name": "open_close",
120
127
  "kind": "enum",
128
+ "type": "ServoCommands::OpenClose",
121
129
  "format_string": "<B"
122
130
  },
123
131
  {
@@ -133,13 +141,15 @@
133
141
  "format_string": "<H"
134
142
  },
135
143
  {
136
- "name": "actuators::servo::PositionMode",
144
+ "name": "position_mode",
137
145
  "kind": "enum",
146
+ "type": "actuators::servo::PositionMode",
138
147
  "format_string": "<B"
139
148
  },
140
149
  {
141
- "name": "actuators::servo::StartPolicy",
150
+ "name": "start_policy",
142
151
  "kind": "enum",
152
+ "type": "actuators::servo::StartPolicy",
143
153
  "format_string": "<B"
144
154
  }
145
155
  ],
@@ -151,8 +161,9 @@
151
161
  "type": "ServoCommands::SetServoPayload",
152
162
  "fields": [
153
163
  {
154
- "name": "node::servo::Id",
164
+ "name": "servo_id",
155
165
  "kind": "enum",
166
+ "type": "node::servo::Id",
156
167
  "format_string": "<B"
157
168
  },
158
169
  {
@@ -174,13 +185,15 @@
174
185
  "format_string": "<H"
175
186
  },
176
187
  {
177
- "name": "actuators::servo::PositionMode",
188
+ "name": "position_mode",
178
189
  "kind": "enum",
190
+ "type": "actuators::servo::PositionMode",
179
191
  "format_string": "<B"
180
192
  },
181
193
  {
182
- "name": "actuators::servo::StartPolicy",
194
+ "name": "start_policy",
183
195
  "kind": "enum",
196
+ "type": "actuators::servo::StartPolicy",
184
197
  "format_string": "<B"
185
198
  }
186
199
  ],
@@ -192,13 +205,15 @@
192
205
  "type": "SolenoidCommands::OpenCloseSolenoidPayload",
193
206
  "fields": [
194
207
  {
195
- "name": "node::solenoid::Id",
208
+ "name": "solenoid_id",
196
209
  "kind": "enum",
210
+ "type": "node::solenoid::Id",
197
211
  "format_string": "<B"
198
212
  },
199
213
  {
200
- "name": "SolenoidCommands::OpeningType",
214
+ "name": "opening_type",
201
215
  "kind": "enum",
216
+ "type": "SolenoidCommands::OpeningType",
202
217
  "format_string": "<B"
203
218
  }
204
219
  ],
@@ -210,8 +225,9 @@
210
225
  "type": "ControlPolicyCommands::SetManualPolicyPayload",
211
226
  "fields": [
212
227
  {
213
- "name": "ControlPolicyCommands::PolicyValue",
228
+ "name": "value",
214
229
  "kind": "enum",
230
+ "type": "ControlPolicyCommands::PolicyValue",
215
231
  "format_string": "<B"
216
232
  }
217
233
  ],
@@ -223,13 +239,15 @@
223
239
  "type": "RegulatorCommands::SetEnabledPayload",
224
240
  "fields": [
225
241
  {
226
- "name": "node::regulator::Id",
242
+ "name": "regulator_id",
227
243
  "kind": "enum",
244
+ "type": "node::regulator::Id",
228
245
  "format_string": "<B"
229
246
  },
230
247
  {
231
- "name": "RegulatorCommands::RegulatorValue",
248
+ "name": "value",
232
249
  "kind": "enum",
250
+ "type": "RegulatorCommands::RegulatorValue",
233
251
  "format_string": "<B"
234
252
  }
235
253
  ],
@@ -241,8 +259,9 @@
241
259
  "type": "RegulatorCommands::SetSetpointPayload",
242
260
  "fields": [
243
261
  {
244
- "name": "node::regulator::Id",
262
+ "name": "regulator_id",
245
263
  "kind": "enum",
264
+ "type": "node::regulator::Id",
246
265
  "format_string": "<B"
247
266
  },
248
267
  {
@@ -260,8 +279,9 @@
260
279
  "type": "RegulatorCommands::SetGainsPayload",
261
280
  "fields": [
262
281
  {
263
- "name": "node::regulator::Id",
282
+ "name": "regulator_id",
264
283
  "kind": "enum",
284
+ "type": "node::regulator::Id",
265
285
  "format_string": "<B"
266
286
  },
267
287
  {
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-04-04 23:49:33. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-04-05 10:27:55. 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;
@@ -34,13 +34,15 @@
34
34
  "type": "BldcTelemetryPacket",
35
35
  "fields": [
36
36
  {
37
- "name": "node::bldc::Id",
37
+ "name": "bldc_id",
38
38
  "kind": "enum",
39
+ "type": "node::bldc::Id",
39
40
  "format_string": "<B"
40
41
  },
41
42
  {
42
- "name": "StateId",
43
+ "name": "fsm_state",
43
44
  "kind": "enum",
45
+ "type": "StateId",
44
46
  "format_string": "<B"
45
47
  },
46
48
  {
@@ -173,23 +175,27 @@
173
175
  "format_string": "<Q"
174
176
  },
175
177
  {
176
- "name": "StateId",
178
+ "name": "current_state",
177
179
  "kind": "enum",
180
+ "type": "StateId",
178
181
  "format_string": "<B"
179
182
  },
180
183
  {
181
- "name": "StateId",
184
+ "name": "previous_state",
182
185
  "kind": "enum",
186
+ "type": "StateId",
183
187
  "format_string": "<B"
184
188
  },
185
189
  {
186
- "name": "Event",
190
+ "name": "last_event",
187
191
  "kind": "enum",
192
+ "type": "Event",
188
193
  "format_string": "<B"
189
194
  },
190
195
  {
191
- "name": "fsm::AbortReason",
196
+ "name": "last_abort_reason",
192
197
  "kind": "enum",
198
+ "type": "fsm::AbortReason",
193
199
  "format_string": "<B"
194
200
  }
195
201
  ],
@@ -211,8 +217,9 @@
211
217
  "type": "PressureSensorPacket",
212
218
  "fields": [
213
219
  {
214
- "name": "node::pressure_sensor::Id",
220
+ "name": "sensor_id",
215
221
  "kind": "enum",
222
+ "type": "node::pressure_sensor::Id",
216
223
  "format_string": "<B"
217
224
  },
218
225
  {
@@ -275,8 +282,9 @@
275
282
  "type": "ServoStatusPacket",
276
283
  "fields": [
277
284
  {
278
- "name": "node::servo::Id",
285
+ "name": "servo_id",
279
286
  "kind": "enum",
287
+ "type": "node::servo::Id",
280
288
  "format_string": "<B"
281
289
  },
282
290
  {
@@ -315,13 +323,15 @@
315
323
  "format_string": "<f"
316
324
  },
317
325
  {
318
- "name": "actuators::servo::ServoMode",
326
+ "name": "mode",
319
327
  "kind": "enum",
328
+ "type": "actuators::servo::ServoMode",
320
329
  "format_string": "<B"
321
330
  },
322
331
  {
323
- "name": "actuators::servo::PowerState",
332
+ "name": "power_state",
324
333
  "kind": "enum",
334
+ "type": "actuators::servo::PowerState",
325
335
  "format_string": "<B"
326
336
  }
327
337
  ],
@@ -337,8 +347,9 @@
337
347
  "type": "SolenoidStatusPacket",
338
348
  "fields": [
339
349
  {
340
- "name": "node::solenoid::Id",
350
+ "name": "solenoid_id",
341
351
  "kind": "enum",
352
+ "type": "node::solenoid::Id",
342
353
  "format_string": "<B"
343
354
  },
344
355
  {
@@ -353,13 +364,15 @@
353
364
  "type": "actuators::solenoid::SolenoidStatus",
354
365
  "fields": [
355
366
  {
356
- "name": "actuators::solenoid::PowerState",
367
+ "name": "power_state",
357
368
  "kind": "enum",
369
+ "type": "actuators::solenoid::PowerState",
358
370
  "format_string": "<B"
359
371
  },
360
372
  {
361
- "name": "actuators::solenoid::Opening",
373
+ "name": "opening",
362
374
  "kind": "enum",
375
+ "type": "actuators::solenoid::Opening",
363
376
  "format_string": "<B"
364
377
  }
365
378
  ],
@@ -375,8 +388,9 @@
375
388
  "type": "RegulatorStatusPacket",
376
389
  "fields": [
377
390
  {
378
- "name": "node::regulator::Id",
391
+ "name": "regulator_id",
379
392
  "kind": "enum",
393
+ "type": "node::regulator::Id",
380
394
  "format_string": "<B"
381
395
  },
382
396
  {
@@ -541,8 +555,9 @@
541
555
  "type": "LoadCellPacket",
542
556
  "fields": [
543
557
  {
544
- "name": "node::load_cell::Id",
558
+ "name": "loadcell_id",
545
559
  "kind": "enum",
560
+ "type": "node::load_cell::Id",
546
561
  "format_string": "<B"
547
562
  },
548
563
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fossekall-interface",
3
- "version": "0.1.69",
3
+ "version": "0.1.71",
4
4
  "description": "API contracts between client and server (rocket and GUI)",
5
5
  "license": "ISC",
6
6
  "author": "Propulse",