fossekall-interface 0.1.122 → 0.1.123

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-22 15:10:23. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-03-23 21:33:45. 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;
@@ -60,65 +60,6 @@ class Float64Schema extends Schema {
60
60
  const u64 = new UInt64Schema();
61
61
  const i64 = new Int64Schema();
62
62
  const f64 = new Float64Schema();
63
- export const node_bldc_Id = {
64
- Fuel: 0,
65
- Ox: 1,
66
- Count: 2,
67
- };
68
- export const StateId = {
69
- Safe: 0,
70
- N2Fill: 1,
71
- PostN2Fill: 2,
72
- OxFill: 3,
73
- PostOxFill: 4,
74
- QDDisconnect: 5,
75
- Pressurized: 6,
76
- Armed: 7,
77
- Burn: 8,
78
- Shutdown: 9,
79
- PostShutdown: 10,
80
- Purge: 11,
81
- Hold: 12,
82
- };
83
- export const Event = {
84
- Boot: 0,
85
- NextState: 1,
86
- PreviousState: 2,
87
- Timeout: 3,
88
- CalibrateRequest: 4,
89
- BurnwireCut: 5,
90
- Abort: 6,
91
- None: 7,
92
- Count: 8,
93
- };
94
- export const fsm_AbortReason = {
95
- None: 0,
96
- Manual: 1,
97
- FuelTankOverpressure: 2,
98
- OxTankOverpressure: 3,
99
- ChamberUnderpressure: 4,
100
- };
101
- export const node_pressure_sensor_Id = {
102
- N2Tank: 0,
103
- OxTank: 1,
104
- OxInjector: 2,
105
- FuelTank: 3,
106
- FuelInjector: 4,
107
- FuelInlet: 5,
108
- Chamber: 6,
109
- OxSupply: 7,
110
- N2_300: 8,
111
- Count: 9,
112
- };
113
- export const node_servo_Id = {
114
- MainFuel: 0,
115
- MainOx: 1,
116
- OxFill: 2,
117
- OxBoiloff: 3,
118
- OxSupply: 4,
119
- Purge: 5,
120
- Count: 6,
121
- };
122
63
  export const actuators_servo_ServoMode = {
123
64
  kUnknown: 0,
124
65
  kPosition: 1,
@@ -130,17 +71,6 @@ export const actuators_servo_PowerState = {
130
71
  kBooting: 2,
131
72
  kOn: 3,
132
73
  };
133
- export const node_solenoid_Id = {
134
- FuelVent: 0,
135
- OxVent: 1,
136
- N2Fill: 2,
137
- OxHoseBleed: 3,
138
- N2_300_Supply: 4,
139
- N2_300_Hose_Bleed: 5,
140
- QD_1: 6,
141
- QD_2: 7,
142
- Count: 8,
143
- };
144
74
  export const actuators_solenoid_PowerState = {
145
75
  kUnknown: 0,
146
76
  kOff: 1,
@@ -151,32 +81,48 @@ export const actuators_solenoid_Opening = {
151
81
  kClosed: 1,
152
82
  kOpen: 2,
153
83
  };
154
- export const node_regulator_Id = {
155
- OxBoiloff: 0,
156
- Count: 1,
84
+ export const StateId = {
85
+ Safe: 0,
86
+ N2Fill: 1,
87
+ PostN2Fill: 2,
88
+ OxFill: 3,
89
+ PostOxFill: 4,
90
+ Prechill: 5,
91
+ PostPrechill: 6,
92
+ QDDisconnect: 7,
93
+ Pressurized: 8,
94
+ Armed: 9,
95
+ Burn: 10,
96
+ Shutdown: 11,
97
+ PostShutdown: 12,
98
+ Calibrate: 13,
157
99
  };
158
- export const proto_can_thermocouple_Id = {
159
- OxTankBottom: 0,
160
- OxTankTop: 1,
161
- FuelTank: 2,
162
- OxInjector: 3,
163
- Chamber1: 4,
164
- FuelInjector: 5,
165
- Chamber2: 6,
166
- ExtraNodeOne: 7,
100
+ export const Event = {
101
+ Boot: 0,
102
+ NextState: 1,
103
+ PreviousState: 2,
104
+ Timeout: 3,
105
+ CalibrateRequest: 4,
106
+ BurnwireCut: 5,
107
+ Abort: 6,
108
+ None: 7,
167
109
  Count: 8,
168
110
  };
169
- export const node_load_cell_Id = {
170
- LoadCell1: 0,
171
- LoadCell2: 1,
172
- LoadCell3: 2,
173
- Count: 3,
111
+ export const fsm_AbortReason = {
112
+ None: 0,
113
+ FuelTankOverpressure: 1,
114
+ OxTankOverpressure: 2,
115
+ ChamberUnderpressure: 3,
174
116
  };
175
- export const HeartBeatTelemetry = bin.object({
176
- message: bin.arrayOf(bin.i8, 16), // char[16]
177
- status_flags: bin.u8, // unsigned char
117
+ export const actuators_servo_ServoStatus = bin.object({
118
+ commanded_angle_deg: bin.f32, // float
119
+ target_angle_deg: bin.f32, // float
120
+ measured_angle_deg: bin.f32, // float
121
+ current_ma: bin.f32, // float
122
+ mode: bin.u8, // actuators::servo::ServoMode
123
+ power_state: bin.u8, // actuators::servo::PowerState
178
124
  });
179
- export const actuators_bldc_BldcTelemetry = bin.object({
125
+ export const BldcTelemetry = bin.object({
180
126
  valve_position: bin.f32, // float
181
127
  motor_position: bin.f32, // float
182
128
  timestamp: u64, // unsigned long long
@@ -188,69 +134,20 @@ export const actuators_bldc_BldcTelemetry = bin.object({
188
134
  u_ff: bin.f32, // float
189
135
  u_set: bin.f32, // float
190
136
  u_total: bin.f32, // float
191
- hysteresis_offset: bin.f32, // float
192
- upstream_pressure: f64, // double
193
- downstream_pressure: f64, // double
194
- servo_encoder_value: f64, // double
195
- status_flags: bin.u8, // unsigned char
196
- });
197
- export const BldcTelemetryPacket = bin.object({
198
- bldc_id: bin.u8, // node::bldc::Id
199
- fsm_state: bin.u8, // StateId
200
- telemetry: actuators_bldc_BldcTelemetry, // actuators::bldc::BldcTelemetry
201
- });
202
- export const fsm_FsmStatus = bin.object({
203
- state_entry_time_ms: u64, // unsigned long long
204
- state_time_ms: u64, // unsigned long long
205
- current_state: bin.u8, // StateId
206
- previous_state: bin.u8, // StateId
207
- last_event: bin.u8, // Event
208
- last_abort_reason: bin.u8, // fsm::AbortReason
209
- });
210
- export const FsmStatusPacket = bin.object({
211
- status: fsm_FsmStatus, // fsm::FsmStatus
212
- timestamp_ms: bin.u32, // unsigned int
213
- });
214
- export const sensors_pressure_PressureBatch = bin.object({
215
- t0_ms: bin.u32, // unsigned int
216
- dt_us: bin.u16, // unsigned short
217
- count: bin.u8, // unsigned char
218
- seq: bin.u8, // unsigned char
219
- overrun: bin.bool, // bool
220
- samples: bin.arrayOf(bin.i16, 20), // short[20]
221
- });
222
- export const PressureSensorPacket = bin.object({
223
- sensor_id: bin.u8, // node::pressure_sensor::Id
224
- data: sensors_pressure_PressureBatch, // sensors::pressure::PressureBatch
225
- });
226
- export const actuators_servo_ServoStatus = bin.object({
227
- commanded_angle_deg: bin.f32, // float
228
- target_angle_deg: bin.f32, // float
229
- measured_angle_deg: bin.f32, // float
230
- current_ma: bin.f32, // float
231
- mode: bin.u8, // actuators::servo::ServoMode
232
- power_state: bin.u8, // actuators::servo::PowerState
233
- });
234
- export const ServoStatusPacket = bin.object({
235
- servo_id: bin.u8, // node::servo::Id
236
- timestamp_ms: bin.u32, // unsigned int
237
- status: actuators_servo_ServoStatus, // actuators::servo::ServoStatus
137
+ position_raw: bin.f32, // float
138
+ calibrated: bin.u8, // unsigned char
238
139
  });
239
140
  export const actuators_solenoid_SolenoidStatus = bin.object({
240
141
  power_state: bin.u8, // actuators::solenoid::PowerState
241
142
  opening: bin.u8, // actuators::solenoid::Opening
242
143
  });
243
- export const SolenoidStatusPacket = bin.object({
244
- solenoid_id: bin.u8, // node::solenoid::Id
245
- timestamp_ms: bin.u32, // unsigned int
246
- status: actuators_solenoid_SolenoidStatus, // actuators::solenoid::SolenoidStatus
144
+ export const HeartBeatTelemetry = bin.object({
145
+ message: bin.arrayOf(bin.i8, 16), // char[16]
247
146
  });
248
147
  export const regulators_RegulatorStatus = bin.object({
249
148
  operator_enabled: bin.bool, // bool
250
149
  policy_enabled: bin.bool, // bool
251
150
  active: bin.bool, // bool
252
- reserved: bin.bool, // bool
253
- valveSetpoint: bin.f32, // float
254
151
  setpoint: bin.f32, // float
255
152
  kp: bin.f32, // float
256
153
  ki: bin.f32, // float
@@ -262,176 +159,83 @@ export const regulators_RegulatorStatus = bin.object({
262
159
  last_servo_command_: bin.f32, // float
263
160
  last_update_ms: bin.u32, // unsigned int
264
161
  });
265
- export const RegulatorStatusPacket = bin.object({
266
- regulator_id: bin.u8, // node::regulator::Id
267
- timestamp_ms: bin.u32, // unsigned int
162
+ export const RegulatorStatusEntry = bin.object({
163
+ id: bin.u8, // node::regulator::Id
164
+ name: bin.arrayOf(bin.i8, 24), // char[24]
268
165
  status: regulators_RegulatorStatus, // regulators::RegulatorStatus
269
166
  });
270
- export const proto_can_thermocouple_ThermocoupleSample = bin.object({
271
- id: bin.u8, // proto::can::thermocouple::Id
272
- timestamp_us: u64, // unsigned long long
273
- interval_us: bin.f32, // float
274
- temperature_c: bin.arrayOf(bin.f32, 8), // float[8]
275
- });
276
- export const ThermocouplePacket = bin.object({
277
- thermocouple_id: bin.u8, // proto::can::thermocouple::Id
167
+ export const RegulatorStatusArrayPacket = bin.object({
168
+ count: bin.u8, // unsigned char
278
169
  timestamp_ms: bin.u32, // unsigned int
279
- data: proto_can_thermocouple_ThermocoupleSample, // proto::can::thermocouple::ThermocoupleSample
170
+ entries: bin.arrayOf(RegulatorStatusEntry, 1), // RegulatorStatusEntry[1]
171
+ });
172
+ export const fsm_FsmStatus = bin.object({
173
+ state_entry_time_ms: u64, // unsigned long long
174
+ state_time_ms: u64, // unsigned long long
175
+ current_state: bin.u8, // StateId
176
+ previous_state: bin.u8, // StateId
177
+ last_event: bin.u8, // Event
178
+ last_abort_reason: bin.u8, // fsm::AbortReason
280
179
  });
281
- export const sensors_loadcell_LoadCellBatch = bin.object({
180
+ export const sensors_pressure_PressureBatch = bin.object({
282
181
  t0_ms: bin.u32, // unsigned int
283
182
  dt_us: bin.u16, // unsigned short
284
183
  count: bin.u8, // unsigned char
285
184
  seq: bin.u8, // unsigned char
286
185
  overrun: bin.bool, // bool
287
- samples: bin.arrayOf(bin.i16, 20), // short[20]
288
- });
289
- export const LoadCellPacket = bin.object({
290
- loadcell_id: bin.u8, // node::load_cell::Id
291
- data: sensors_loadcell_LoadCellBatch, // sensors::loadcell::LoadCellBatch
292
- });
293
- export const actuators_bldc_PidGains = bin.object({
294
- p: f64, // double
295
- i: f64, // double
296
- d: f64, // double
297
- normalization_factor: f64, // double
298
- });
299
- export const SigmoidParameters = bin.object({
300
- a: f64, // double
301
- b: f64, // double
186
+ samples: bin.arrayOf(bin.i16, 10), // short[10]
302
187
  });
303
- export const actuators_bldc_ControllerConfig = bin.object({
304
- pressurize_pid_gains: actuators_bldc_PidGains, // actuators::bldc::PidGains
305
- run_pid_gains: actuators_bldc_PidGains, // actuators::bldc::PidGains
306
- minimum_position: f64, // double
307
- maximum_position: f64, // double
308
- valve_encoder_offset: f64, // double
309
- can_watchdog_timeout: u64, // unsigned long long
310
- end_pressure_ref: f64, // double
311
- pressurizing_time: f64, // double
312
- gear_ratio: bin.f32, // float
313
- max_torque: f64, // double
314
- dvdt_nominal: f64, // double
315
- cv_max: f64, // double
316
- control_valve_curve: SigmoidParameters, // SigmoidParameters
317
- main_valve_curve: SigmoidParameters, // SigmoidParameters
318
- });
319
- export const BldcConfigTelmetryPacket = bin.object({
320
- bldc_id: bin.u8, // node::load_cell::Id
321
- config: actuators_bldc_ControllerConfig, // actuators::bldc::ControllerConfig
322
- });
323
- export const BatteryMonitorTelemetryPacket = bin.object({
324
- timestamp_ms: bin.u32, // unsigned int
325
- voltages: bin.arrayOf(bin.f32, 2), // float[2]
188
+ export const PressureSensorData = bin.object({
189
+ sensor_id: bin.u8, // unsigned char
190
+ data: sensors_pressure_PressureBatch, // sensors::pressure::PressureBatch
326
191
  });
327
192
  export const spec = {
328
- HeartBeatTelemetry: {
329
- port: 57005,
330
- schema: HeartBeatTelemetry,
331
- enums: {},
332
- },
333
- BldcTelemetryPacket: {
334
- port: 5000,
335
- fragment: 'bldc_id',
336
- schema: BldcTelemetryPacket,
337
- enums: {
338
- bldc_id: node_bldc_Id,
339
- fsm_state: StateId,
340
- telemetry: {},
341
- },
342
- },
343
- FsmStatusPacket: {
344
- port: 5001,
345
- schema: FsmStatusPacket,
346
- enums: {
347
- status: {
348
- current_state: StateId,
349
- previous_state: StateId,
350
- last_event: Event,
351
- last_abort_reason: fsm_AbortReason,
352
- },
353
- },
354
- },
355
- PressureSensorPacket: {
356
- port: 5002,
357
- fragment: 'sensor_id',
358
- schema: PressureSensorPacket,
359
- enums: {
360
- sensor_id: node_pressure_sensor_Id,
361
- data: {},
362
- },
363
- },
364
- ServoStatusPacket: {
193
+ actuators_servo_ServoStatus: {
365
194
  port: 5003,
366
- fragment: 'servo_id',
367
- schema: ServoStatusPacket,
195
+ schema: actuators_servo_ServoStatus,
368
196
  enums: {
369
- servo_id: node_servo_Id,
370
- status: {
371
- mode: actuators_servo_ServoMode,
372
- power_state: actuators_servo_PowerState,
373
- },
197
+ mode: actuators_servo_ServoMode,
198
+ power_state: actuators_servo_PowerState,
374
199
  },
375
200
  },
376
- SolenoidStatusPacket: {
201
+ BldcTelemetry: {
202
+ port: 5000,
203
+ schema: BldcTelemetry,
204
+ enums: {},
205
+ },
206
+ actuators_solenoid_SolenoidStatus: {
377
207
  port: 5004,
378
- fragment: 'solenoid_id',
379
- schema: SolenoidStatusPacket,
208
+ schema: actuators_solenoid_SolenoidStatus,
380
209
  enums: {
381
- solenoid_id: node_solenoid_Id,
382
- status: {
383
- power_state: actuators_solenoid_PowerState,
384
- opening: actuators_solenoid_Opening,
385
- },
210
+ power_state: actuators_solenoid_PowerState,
211
+ opening: actuators_solenoid_Opening,
386
212
  },
387
213
  },
388
- RegulatorStatusPacket: {
214
+ HeartBeatTelemetry: {
215
+ schema: HeartBeatTelemetry,
216
+ enums: {},
217
+ },
218
+ RegulatorStatusArrayPacket: {
389
219
  port: 5005,
390
- fragment: 'regulator_id',
391
- schema: RegulatorStatusPacket,
392
- enums: {
393
- regulator_id: node_regulator_Id,
394
- status: {},
395
- },
220
+ schema: RegulatorStatusArrayPacket,
221
+ enums: {},
396
222
  },
397
- ThermocouplePacket: {
398
- port: 5006,
399
- fragment: 'thermocouple_id',
400
- schema: ThermocouplePacket,
223
+ fsm_FsmStatus: {
224
+ port: 5001,
225
+ schema: fsm_FsmStatus,
401
226
  enums: {
402
- thermocouple_id: proto_can_thermocouple_Id,
403
- data: {
404
- id: proto_can_thermocouple_Id,
405
- },
227
+ current_state: StateId,
228
+ previous_state: StateId,
229
+ last_event: Event,
230
+ last_abort_reason: fsm_AbortReason,
406
231
  },
407
232
  },
408
- LoadCellPacket: {
409
- port: 5007,
410
- fragment: 'loadcell_id',
411
- schema: LoadCellPacket,
233
+ PressureSensorData: {
234
+ port: 5002,
235
+ schema: PressureSensorData,
412
236
  enums: {
413
- loadcell_id: node_load_cell_Id,
414
237
  data: {},
415
238
  },
416
239
  },
417
- BldcConfigTelmetryPacket: {
418
- port: 5008,
419
- fragment: 'bldc_id',
420
- schema: BldcConfigTelmetryPacket,
421
- enums: {
422
- bldc_id: node_load_cell_Id,
423
- config: {
424
- pressurize_pid_gains: {},
425
- run_pid_gains: {},
426
- control_valve_curve: {},
427
- main_valve_curve: {},
428
- },
429
- },
430
- },
431
- BatteryMonitorTelemetryPacket: {
432
- port: 5009,
433
- schema: BatteryMonitorTelemetryPacket,
434
- enums: {},
435
- },
436
240
  };
437
241
  export default spec;
@@ -5,46 +5,61 @@ declare class Float64Schema extends Schema<number> {
5
5
  write(output: ISerialOutput, value: number): void;
6
6
  measure(_: number | typeof MaxValue, measurer?: IMeasurer): IMeasurer;
7
7
  }
8
- export declare const AccelerationData: import("typed-binary").ObjectSchema<{
8
+ export declare const Telemetry_AccelData: import("typed-binary").ObjectSchema<{
9
9
  acc_x: import("typed-binary").Float32Schema;
10
10
  acc_y: import("typed-binary").Float32Schema;
11
11
  acc_z: import("typed-binary").Float32Schema;
12
12
  }>;
13
- export type AccelerationData = bin.Parsed<typeof AccelerationData>;
14
- export declare const GNSS_DATA: import("typed-binary").ObjectSchema<{
13
+ export type Telemetry_AccelData = bin.Parsed<typeof Telemetry_AccelData>;
14
+ export declare const Telemetry_GNSS_DATA: import("typed-binary").ObjectSchema<{
15
+ data_valid: import("typed-binary").BoolSchema;
15
16
  lat: Float64Schema;
16
17
  lon: Float64Schema;
18
+ hAcc: import("typed-binary").Uint32Schema;
19
+ vAcc: import("typed-binary").Uint32Schema;
17
20
  hMSL: Float64Schema;
18
21
  gSpeed: Float64Schema;
19
22
  headMot: Float64Schema;
23
+ velN: import("typed-binary").Int32Schema;
24
+ velE: import("typed-binary").Int32Schema;
25
+ velD: import("typed-binary").Int32Schema;
20
26
  numSV: import("typed-binary").ByteSchema;
21
27
  }>;
22
- export type GNSS_DATA = bin.Parsed<typeof GNSS_DATA>;
23
- export declare const Loadcell: import("typed-binary").ObjectSchema<{
24
- loadcell_value: import("typed-binary").Float32Schema;
28
+ export type Telemetry_GNSS_DATA = bin.Parsed<typeof Telemetry_GNSS_DATA>;
29
+ export declare const Telemetry_PressureData: import("typed-binary").ObjectSchema<{
30
+ pressure_bar: import("typed-binary").Float32Schema;
25
31
  }>;
26
- export type Loadcell = bin.Parsed<typeof Loadcell>;
27
- export declare const SensorData: import("typed-binary").ObjectSchema<{
32
+ export type Telemetry_PressureData = bin.Parsed<typeof Telemetry_PressureData>;
33
+ export declare const Telemetry_SensorData: import("typed-binary").ObjectSchema<{
28
34
  iim_acc_data: import("typed-binary").ObjectSchema<{
29
35
  acc_x: import("typed-binary").Float32Schema;
30
36
  acc_y: import("typed-binary").Float32Schema;
31
37
  acc_z: import("typed-binary").Float32Schema;
32
38
  }>;
33
39
  gnss_data: import("typed-binary").ObjectSchema<{
40
+ data_valid: import("typed-binary").BoolSchema;
34
41
  lat: Float64Schema;
35
42
  lon: Float64Schema;
43
+ hAcc: import("typed-binary").Uint32Schema;
44
+ vAcc: import("typed-binary").Uint32Schema;
36
45
  hMSL: Float64Schema;
37
46
  gSpeed: Float64Schema;
38
47
  headMot: Float64Schema;
48
+ velN: import("typed-binary").Int32Schema;
49
+ velE: import("typed-binary").Int32Schema;
50
+ velD: import("typed-binary").Int32Schema;
39
51
  numSV: import("typed-binary").ByteSchema;
40
52
  }>;
41
- loadcell_data: import("typed-binary").ObjectSchema<{
42
- loadcell_value: import("typed-binary").Float32Schema;
53
+ flotation_pressure_data: import("typed-binary").ObjectSchema<{
54
+ pressure_bar: import("typed-binary").Float32Schema;
55
+ }>;
56
+ seperation_pressure_data: import("typed-binary").ObjectSchema<{
57
+ pressure_bar: import("typed-binary").Float32Schema;
43
58
  }>;
44
59
  }>;
45
- export type SensorData = bin.Parsed<typeof SensorData>;
60
+ export type Telemetry_SensorData = bin.Parsed<typeof Telemetry_SensorData>;
46
61
  export declare const spec: {
47
- SensorData: {
62
+ Telemetry_SensorData: {
48
63
  port: number;
49
64
  schema: import("typed-binary").ObjectSchema<{
50
65
  iim_acc_data: import("typed-binary").ObjectSchema<{
@@ -53,21 +68,31 @@ export declare const spec: {
53
68
  acc_z: import("typed-binary").Float32Schema;
54
69
  }>;
55
70
  gnss_data: import("typed-binary").ObjectSchema<{
71
+ data_valid: import("typed-binary").BoolSchema;
56
72
  lat: Float64Schema;
57
73
  lon: Float64Schema;
74
+ hAcc: import("typed-binary").Uint32Schema;
75
+ vAcc: import("typed-binary").Uint32Schema;
58
76
  hMSL: Float64Schema;
59
77
  gSpeed: Float64Schema;
60
78
  headMot: Float64Schema;
79
+ velN: import("typed-binary").Int32Schema;
80
+ velE: import("typed-binary").Int32Schema;
81
+ velD: import("typed-binary").Int32Schema;
61
82
  numSV: import("typed-binary").ByteSchema;
62
83
  }>;
63
- loadcell_data: import("typed-binary").ObjectSchema<{
64
- loadcell_value: import("typed-binary").Float32Schema;
84
+ flotation_pressure_data: import("typed-binary").ObjectSchema<{
85
+ pressure_bar: import("typed-binary").Float32Schema;
86
+ }>;
87
+ seperation_pressure_data: import("typed-binary").ObjectSchema<{
88
+ pressure_bar: import("typed-binary").Float32Schema;
65
89
  }>;
66
90
  }>;
67
91
  enums: {
68
92
  iim_acc_data: {};
69
93
  gnss_data: {};
70
- loadcell_data: {};
94
+ flotation_pressure_data: {};
95
+ seperation_pressure_data: {};
71
96
  };
72
97
  };
73
98
  };
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-03-19 15:15:45. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-06-10 11:43:40. 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;
@@ -60,35 +60,43 @@ class Float64Schema extends Schema {
60
60
  const u64 = new UInt64Schema();
61
61
  const i64 = new Int64Schema();
62
62
  const f64 = new Float64Schema();
63
- export const AccelerationData = bin.object({
63
+ export const Telemetry_AccelData = bin.object({
64
64
  acc_x: bin.f32, // float
65
65
  acc_y: bin.f32, // float
66
66
  acc_z: bin.f32, // float
67
67
  });
68
- export const GNSS_DATA = bin.object({
68
+ export const Telemetry_GNSS_DATA = bin.object({
69
+ data_valid: bin.bool, // bool
69
70
  lat: f64, // double
70
71
  lon: f64, // double
72
+ hAcc: bin.u32, // unsigned int
73
+ vAcc: bin.u32, // unsigned int
71
74
  hMSL: f64, // double
72
75
  gSpeed: f64, // double
73
76
  headMot: f64, // double
77
+ velN: bin.i32, // int
78
+ velE: bin.i32, // int
79
+ velD: bin.i32, // int
74
80
  numSV: bin.u8, // unsigned char
75
81
  });
76
- export const Loadcell = bin.object({
77
- loadcell_value: bin.f32, // float
82
+ export const Telemetry_PressureData = bin.object({
83
+ pressure_bar: bin.f32, // float
78
84
  });
79
- export const SensorData = bin.object({
80
- iim_acc_data: AccelerationData, // AccelerationData
81
- gnss_data: GNSS_DATA, // GNSS_DATA
82
- loadcell_data: Loadcell, // Loadcell
85
+ export const Telemetry_SensorData = bin.object({
86
+ iim_acc_data: Telemetry_AccelData, // Telemetry::AccelData
87
+ gnss_data: Telemetry_GNSS_DATA, // Telemetry::GNSS_DATA
88
+ flotation_pressure_data: Telemetry_PressureData, // Telemetry::PressureData
89
+ seperation_pressure_data: Telemetry_PressureData, // Telemetry::PressureData
83
90
  });
84
91
  export const spec = {
85
- SensorData: {
92
+ Telemetry_SensorData: {
86
93
  port: 3001,
87
- schema: SensorData,
94
+ schema: Telemetry_SensorData,
88
95
  enums: {
89
96
  iim_acc_data: {},
90
97
  gnss_data: {},
91
- loadcell_data: {},
98
+ flotation_pressure_data: {},
99
+ seperation_pressure_data: {},
92
100
  },
93
101
  },
94
102
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fossekall-interface",
3
- "version": "0.1.122",
3
+ "version": "0.1.123",
4
4
  "description": "API contracts between client and server (rocket and GUI)",
5
5
  "license": "ISC",
6
6
  "author": "Propulse",