fossekall-interface 0.1.20 → 0.1.21

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.
@@ -16,9 +16,10 @@ export declare const Event: {
16
16
  readonly PreviousState: 2;
17
17
  readonly Timeout: 3;
18
18
  readonly CalibrateRequest: 4;
19
- readonly Abort: 5;
20
- readonly None: 6;
21
- readonly Count: 7;
19
+ readonly BurnwireCut: 5;
20
+ readonly Abort: 6;
21
+ readonly None: 7;
22
+ readonly Count: 8;
22
23
  };
23
24
  export type Event = (typeof Event)[keyof typeof Event];
24
25
  export declare const StateId: {
@@ -182,9 +183,10 @@ export declare const spec: {
182
183
  readonly PreviousState: 2;
183
184
  readonly Timeout: 3;
184
185
  readonly CalibrateRequest: 4;
185
- readonly Abort: 5;
186
- readonly None: 6;
187
- readonly Count: 7;
186
+ readonly BurnwireCut: 5;
187
+ readonly Abort: 6;
188
+ readonly None: 7;
189
+ readonly Count: 8;
188
190
  };
189
191
  current_state: {
190
192
  readonly Safe: 0;
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-03-22 13:52:51. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-03-22 14:17: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;
@@ -75,9 +75,10 @@ export const Event = {
75
75
  PreviousState: 2,
76
76
  Timeout: 3,
77
77
  CalibrateRequest: 4,
78
- Abort: 5,
79
- None: 6,
80
- Count: 7,
78
+ BurnwireCut: 5,
79
+ Abort: 6,
80
+ None: 7,
81
+ Count: 8,
81
82
  };
82
83
  export const StateId = {
83
84
  Safe: 0,
@@ -53,9 +53,10 @@ export declare const Event: {
53
53
  readonly PreviousState: 2;
54
54
  readonly Timeout: 3;
55
55
  readonly CalibrateRequest: 4;
56
- readonly Abort: 5;
57
- readonly None: 6;
58
- readonly Count: 7;
56
+ readonly BurnwireCut: 5;
57
+ readonly Abort: 6;
58
+ readonly None: 7;
59
+ readonly Count: 8;
59
60
  };
60
61
  export type Event = (typeof Event)[keyof typeof Event];
61
62
  export declare const actuators_servo_ServoStatus: import("typed-binary").ObjectSchema<{
@@ -83,6 +84,15 @@ export declare const BldcTelemetry: import("typed-binary").ObjectSchema<{
83
84
  calibrated: import("typed-binary").ByteSchema;
84
85
  }>;
85
86
  export type BldcTelemetry = bin.Parsed<typeof BldcTelemetry>;
87
+ export declare const sensors_pressure_PressureBatch: import("typed-binary").ObjectSchema<{
88
+ t0_ms: import("typed-binary").Uint32Schema;
89
+ dt_us: import("typed-binary").Uint16Schema;
90
+ count: import("typed-binary").ByteSchema;
91
+ seq: import("typed-binary").ByteSchema;
92
+ overrun: import("typed-binary").BoolSchema;
93
+ samples: import("typed-binary").ArraySchema<import("typed-binary").Int16Schema>;
94
+ }>;
95
+ export type sensors_pressure_PressureBatch = bin.Parsed<typeof sensors_pressure_PressureBatch>;
86
96
  export declare const actuators_solenoid_SolenoidStatus: import("typed-binary").ObjectSchema<{
87
97
  power_state: import("typed-binary").ByteSchema;
88
98
  opening: import("typed-binary").ByteSchema;
@@ -204,6 +214,18 @@ export declare const spec: {
204
214
  }>;
205
215
  enums: {};
206
216
  };
217
+ sensors_pressure_PressureBatch: {
218
+ port: number;
219
+ schema: import("typed-binary").ObjectSchema<{
220
+ t0_ms: import("typed-binary").Uint32Schema;
221
+ dt_us: import("typed-binary").Uint16Schema;
222
+ count: import("typed-binary").ByteSchema;
223
+ seq: import("typed-binary").ByteSchema;
224
+ overrun: import("typed-binary").BoolSchema;
225
+ samples: import("typed-binary").ArraySchema<import("typed-binary").Int16Schema>;
226
+ }>;
227
+ enums: {};
228
+ };
207
229
  actuators_solenoid_SolenoidStatus: {
208
230
  port: number;
209
231
  schema: import("typed-binary").ObjectSchema<{
@@ -304,9 +326,10 @@ export declare const spec: {
304
326
  readonly PreviousState: 2;
305
327
  readonly Timeout: 3;
306
328
  readonly CalibrateRequest: 4;
307
- readonly Abort: 5;
308
- readonly None: 6;
309
- readonly Count: 7;
329
+ readonly BurnwireCut: 5;
330
+ readonly Abort: 6;
331
+ readonly None: 7;
332
+ readonly Count: 8;
310
333
  };
311
334
  };
312
335
  };
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-03-22 14:02:58. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-03-22 14:17:53. 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;
@@ -103,9 +103,10 @@ export const Event = {
103
103
  PreviousState: 2,
104
104
  Timeout: 3,
105
105
  CalibrateRequest: 4,
106
- Abort: 5,
107
- None: 6,
108
- Count: 7,
106
+ BurnwireCut: 5,
107
+ Abort: 6,
108
+ None: 7,
109
+ Count: 8,
109
110
  };
110
111
  export const actuators_servo_ServoStatus = bin.object({
111
112
  commanded_angle_deg: bin.f32, // float
@@ -130,6 +131,14 @@ export const BldcTelemetry = bin.object({
130
131
  position_raw: bin.f32, // float
131
132
  calibrated: bin.u8, // unsigned char
132
133
  });
134
+ export const sensors_pressure_PressureBatch = bin.object({
135
+ t0_ms: bin.u32, // unsigned int
136
+ dt_us: bin.u16, // unsigned short
137
+ count: bin.u8, // unsigned char
138
+ seq: bin.u8, // unsigned char
139
+ overrun: bin.bool, // bool
140
+ samples: bin.arrayOf(bin.i16, 10), // short[10]
141
+ });
133
142
  export const actuators_solenoid_SolenoidStatus = bin.object({
134
143
  power_state: bin.u8, // actuators::solenoid::PowerState
135
144
  opening: bin.u8, // actuators::solenoid::Opening
@@ -183,6 +192,11 @@ export const spec = {
183
192
  schema: BldcTelemetry,
184
193
  enums: {},
185
194
  },
195
+ sensors_pressure_PressureBatch: {
196
+ port: 5002,
197
+ schema: sensors_pressure_PressureBatch,
198
+ enums: {},
199
+ },
186
200
  actuators_solenoid_SolenoidStatus: {
187
201
  port: 5004,
188
202
  schema: actuators_solenoid_SolenoidStatus,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fossekall-interface",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "description": "API contracts between client and server (rocket and GUI)",
5
5
  "license": "ISC",
6
6
  "author": "Propulse",