fossekall-interface 0.1.33 → 0.1.35

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,15 +1,4 @@
1
1
  import bin from 'typed-binary';
2
- export declare const node_bldc_Id: {
3
- readonly Fuel: 0;
4
- readonly Ox: 1;
5
- readonly Count: 2;
6
- };
7
- export type node_bldc_Id = (typeof node_bldc_Id)[keyof typeof node_bldc_Id];
8
- export declare const BldcCommands_SetBldcCommand: {
9
- readonly open: 0;
10
- readonly close: 1;
11
- };
12
- export type BldcCommands_SetBldcCommand = (typeof BldcCommands_SetBldcCommand)[keyof typeof BldcCommands_SetBldcCommand];
13
2
  export declare const StateId: {
14
3
  readonly Safe: 0;
15
4
  readonly N2Fill: 1;
@@ -83,11 +72,6 @@ export declare const RegulatorCommands_RegulatorValue: {
83
72
  readonly Enable: 1;
84
73
  };
85
74
  export type RegulatorCommands_RegulatorValue = (typeof RegulatorCommands_RegulatorValue)[keyof typeof RegulatorCommands_RegulatorValue];
86
- export declare const BldcCommands_SetBldcPayload: import("typed-binary").ObjectSchema<{
87
- bldc_id: import("typed-binary").ByteSchema;
88
- command: import("typed-binary").Uint32Schema;
89
- }>;
90
- export type BldcCommands_SetBldcPayload = bin.Parsed<typeof BldcCommands_SetBldcPayload>;
91
75
  export declare const FsmCommands_NextStatePayload: import("typed-binary").ObjectSchema<{
92
76
  current_state: import("typed-binary").ByteSchema;
93
77
  }>;
@@ -149,24 +133,6 @@ export declare const RegulatorCommands_SetGainsPayload: import("typed-binary").O
149
133
  }>;
150
134
  export type RegulatorCommands_SetGainsPayload = bin.Parsed<typeof RegulatorCommands_SetGainsPayload>;
151
135
  export declare const spec: {
152
- BldcCommands_SetBldcPayload: {
153
- id: number;
154
- schema: import("typed-binary").ObjectSchema<{
155
- bldc_id: import("typed-binary").ByteSchema;
156
- command: import("typed-binary").Uint32Schema;
157
- }>;
158
- enums: {
159
- bldc_id: {
160
- readonly Fuel: 0;
161
- readonly Ox: 1;
162
- readonly Count: 2;
163
- };
164
- command: {
165
- readonly open: 0;
166
- readonly close: 1;
167
- };
168
- };
169
- };
170
136
  FsmCommands_NextStatePayload: {
171
137
  id: number;
172
138
  schema: import("typed-binary").ObjectSchema<{
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-03-27 13:08:11. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-03-28 13:23:23. 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,15 +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 BldcCommands_SetBldcCommand = {
69
- open: 0,
70
- close: 1,
71
- };
72
63
  export const StateId = {
73
64
  Safe: 0,
74
65
  N2Fill: 1,
@@ -132,10 +123,6 @@ export const RegulatorCommands_RegulatorValue = {
132
123
  Disable: 0,
133
124
  Enable: 1,
134
125
  };
135
- export const BldcCommands_SetBldcPayload = bin.object({
136
- bldc_id: bin.u8, // node::bldc::Id
137
- command: bin.u32, // BldcCommands::SetBldcCommand
138
- });
139
126
  export const FsmCommands_NextStatePayload = bin.object({
140
127
  current_state: bin.u8, // StateId
141
128
  });
@@ -186,14 +173,6 @@ export const RegulatorCommands_SetGainsPayload = bin.object({
186
173
  kd: bin.f32, // float
187
174
  });
188
175
  export const spec = {
189
- BldcCommands_SetBldcPayload: {
190
- id: 64,
191
- schema: BldcCommands_SetBldcPayload,
192
- enums: {
193
- bldc_id: node_bldc_Id,
194
- command: BldcCommands_SetBldcCommand,
195
- },
196
- },
197
176
  FsmCommands_NextStatePayload: {
198
177
  id: 32,
199
178
  schema: FsmCommands_NextStatePayload,
@@ -106,7 +106,7 @@ export declare const node_regulator_Id: {
106
106
  readonly Count: 1;
107
107
  };
108
108
  export type node_regulator_Id = (typeof node_regulator_Id)[keyof typeof node_regulator_Id];
109
- export declare const BldcTelemetry: import("typed-binary").ObjectSchema<{
109
+ export declare const actuators_bldc_BldcTelemetry: import("typed-binary").ObjectSchema<{
110
110
  valve_position: import("typed-binary").Float32Schema;
111
111
  motor_position: import("typed-binary").Float32Schema;
112
112
  timestamp: UInt64Schema;
@@ -121,7 +121,7 @@ export declare const BldcTelemetry: import("typed-binary").ObjectSchema<{
121
121
  position_raw: import("typed-binary").Float32Schema;
122
122
  calibrated: import("typed-binary").ByteSchema;
123
123
  }>;
124
- export type BldcTelemetry = bin.Parsed<typeof BldcTelemetry>;
124
+ export type actuators_bldc_BldcTelemetry = bin.Parsed<typeof actuators_bldc_BldcTelemetry>;
125
125
  export declare const HeartBeatTelemetry: import("typed-binary").ObjectSchema<{
126
126
  message: import("typed-binary").ArraySchema<import("typed-binary").Int8Schema>;
127
127
  }>;
@@ -241,7 +241,7 @@ export declare const RegulatorStatusPacket: import("typed-binary").ObjectSchema<
241
241
  }>;
242
242
  export type RegulatorStatusPacket = bin.Parsed<typeof RegulatorStatusPacket>;
243
243
  export declare const spec: {
244
- BldcTelemetry: {
244
+ actuators_bldc_BldcTelemetry: {
245
245
  port: number;
246
246
  schema: import("typed-binary").ObjectSchema<{
247
247
  valve_position: import("typed-binary").Float32Schema;
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-03-27 13:08:09. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-03-28 13:23:20. 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;
@@ -150,7 +150,7 @@ export const node_regulator_Id = {
150
150
  OxBoiloff: 0,
151
151
  Count: 1,
152
152
  };
153
- export const BldcTelemetry = bin.object({
153
+ export const actuators_bldc_BldcTelemetry = bin.object({
154
154
  valve_position: bin.f32, // float
155
155
  motor_position: bin.f32, // float
156
156
  timestamp: u64, // unsigned long long
@@ -235,9 +235,9 @@ export const RegulatorStatusPacket = bin.object({
235
235
  status: regulators_RegulatorStatus, // regulators::RegulatorStatus
236
236
  });
237
237
  export const spec = {
238
- BldcTelemetry: {
238
+ actuators_bldc_BldcTelemetry: {
239
239
  port: 5000,
240
- schema: BldcTelemetry,
240
+ schema: actuators_bldc_BldcTelemetry,
241
241
  enums: {},
242
242
  },
243
243
  HeartBeatTelemetry: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fossekall-interface",
3
- "version": "0.1.33",
3
+ "version": "0.1.35",
4
4
  "description": "API contracts between client and server (rocket and GUI)",
5
5
  "license": "ISC",
6
6
  "author": "Propulse",