fossekall-interface 0.1.150 → 0.1.151

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-07-18 16:20:50. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-07-18 19:49:37. 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;
@@ -78,34 +78,12 @@ export declare const Telemetry_Shared_ImuData: import("typed-binary").ObjectSche
78
78
  timestamp: import("typed-binary").Uint32Schema;
79
79
  }>;
80
80
  export type Telemetry_Shared_ImuData = bin.Parsed<typeof Telemetry_Shared_ImuData>;
81
- export declare const Mmc5983maVector: import("typed-binary").ObjectSchema<{
82
- x: import("typed-binary").Float32Schema;
83
- y: import("typed-binary").Float32Schema;
84
- z: import("typed-binary").Float32Schema;
81
+ export declare const Telemetry_Shared_MagnetometerData: import("typed-binary").ObjectSchema<{
82
+ mag_x_gauss: import("typed-binary").Float32Schema;
83
+ mag_y_gauss: import("typed-binary").Float32Schema;
84
+ mag_z_gauss: import("typed-binary").Float32Schema;
85
85
  }>;
86
- export type Mmc5983maVector = bin.Parsed<typeof Mmc5983maVector>;
87
- export declare const Mmc5983maVectorRaw: import("typed-binary").ObjectSchema<{
88
- x: import("typed-binary").Uint32Schema;
89
- y: import("typed-binary").Uint32Schema;
90
- z: import("typed-binary").Uint32Schema;
91
- }>;
92
- export type Mmc5983maVectorRaw = bin.Parsed<typeof Mmc5983maVectorRaw>;
93
- export declare const Mmc5983maData: import("typed-binary").ObjectSchema<{
94
- valid: import("typed-binary").BoolSchema;
95
- magnetic_gauss: import("typed-binary").ObjectSchema<{
96
- x: import("typed-binary").Float32Schema;
97
- y: import("typed-binary").Float32Schema;
98
- z: import("typed-binary").Float32Schema;
99
- }>;
100
- raw: import("typed-binary").ObjectSchema<{
101
- x: import("typed-binary").Uint32Schema;
102
- y: import("typed-binary").Uint32Schema;
103
- z: import("typed-binary").Uint32Schema;
104
- }>;
105
- temperature_c: import("typed-binary").Float32Schema;
106
- timestamp_ms: import("typed-binary").Uint32Schema;
107
- }>;
108
- export type Mmc5983maData = bin.Parsed<typeof Mmc5983maData>;
86
+ export type Telemetry_Shared_MagnetometerData = bin.Parsed<typeof Telemetry_Shared_MagnetometerData>;
109
87
  export declare const Telemetry_GroundStation_STIM377H_DATA: import("typed-binary").ObjectSchema<{
110
88
  acc: import("typed-binary").ObjectSchema<{
111
89
  acc_x_m_per_ss: import("typed-binary").Float32Schema;
@@ -167,19 +145,9 @@ export declare const Telemetry_GroundStation_SensorData: import("typed-binary").
167
145
  timestamp: import("typed-binary").Uint32Schema;
168
146
  }>;
169
147
  mmc_data: import("typed-binary").ObjectSchema<{
170
- valid: import("typed-binary").BoolSchema;
171
- magnetic_gauss: import("typed-binary").ObjectSchema<{
172
- x: import("typed-binary").Float32Schema;
173
- y: import("typed-binary").Float32Schema;
174
- z: import("typed-binary").Float32Schema;
175
- }>;
176
- raw: import("typed-binary").ObjectSchema<{
177
- x: import("typed-binary").Uint32Schema;
178
- y: import("typed-binary").Uint32Schema;
179
- z: import("typed-binary").Uint32Schema;
180
- }>;
181
- temperature_c: import("typed-binary").Float32Schema;
182
- timestamp_ms: import("typed-binary").Uint32Schema;
148
+ mag_x_gauss: import("typed-binary").Float32Schema;
149
+ mag_y_gauss: import("typed-binary").Float32Schema;
150
+ mag_z_gauss: import("typed-binary").Float32Schema;
183
151
  }>;
184
152
  stim_data: import("typed-binary").ObjectSchema<{
185
153
  acc: import("typed-binary").ObjectSchema<{
@@ -305,19 +273,9 @@ export declare const spec: {
305
273
  timestamp: import("typed-binary").Uint32Schema;
306
274
  }>;
307
275
  mmc_data: import("typed-binary").ObjectSchema<{
308
- valid: import("typed-binary").BoolSchema;
309
- magnetic_gauss: import("typed-binary").ObjectSchema<{
310
- x: import("typed-binary").Float32Schema;
311
- y: import("typed-binary").Float32Schema;
312
- z: import("typed-binary").Float32Schema;
313
- }>;
314
- raw: import("typed-binary").ObjectSchema<{
315
- x: import("typed-binary").Uint32Schema;
316
- y: import("typed-binary").Uint32Schema;
317
- z: import("typed-binary").Uint32Schema;
318
- }>;
319
- temperature_c: import("typed-binary").Float32Schema;
320
- timestamp_ms: import("typed-binary").Uint32Schema;
276
+ mag_x_gauss: import("typed-binary").Float32Schema;
277
+ mag_y_gauss: import("typed-binary").Float32Schema;
278
+ mag_z_gauss: import("typed-binary").Float32Schema;
321
279
  }>;
322
280
  stim_data: import("typed-binary").ObjectSchema<{
323
281
  acc: import("typed-binary").ObjectSchema<{
@@ -344,10 +302,7 @@ export declare const spec: {
344
302
  gyro: {};
345
303
  acc: {};
346
304
  };
347
- mmc_data: {
348
- magnetic_gauss: {};
349
- raw: {};
350
- };
305
+ mmc_data: {};
351
306
  stim_data: {
352
307
  acc: {};
353
308
  gyro: {};
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-07-18 16:20:50. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-07-18 19:49:37. 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;
@@ -118,22 +118,10 @@ export const Telemetry_Shared_ImuData = bin.object({
118
118
  acc: Telemetry_Shared_AccelerationData, // Telemetry::Shared::AccelerationData
119
119
  timestamp: bin.u32, // unsigned long
120
120
  });
121
- export const Mmc5983maVector = bin.object({
122
- x: bin.f32, // float
123
- y: bin.f32, // float
124
- z: bin.f32, // float
125
- });
126
- export const Mmc5983maVectorRaw = bin.object({
127
- x: bin.u32, // unsigned int
128
- y: bin.u32, // unsigned int
129
- z: bin.u32, // unsigned int
130
- });
131
- export const Mmc5983maData = bin.object({
132
- valid: bin.bool, // bool
133
- magnetic_gauss: Mmc5983maVector, // Mmc5983maVector
134
- raw: Mmc5983maVectorRaw, // Mmc5983maVectorRaw
135
- temperature_c: bin.f32, // float
136
- timestamp_ms: bin.u32, // unsigned int
121
+ export const Telemetry_Shared_MagnetometerData = bin.object({
122
+ mag_x_gauss: bin.f32, // float
123
+ mag_y_gauss: bin.f32, // float
124
+ mag_z_gauss: bin.f32, // float
137
125
  });
138
126
  export const Telemetry_GroundStation_STIM377H_DATA = bin.object({
139
127
  acc: Telemetry_Shared_AccelerationData, // Telemetry::Shared::AccelerationData
@@ -148,7 +136,7 @@ export const Telemetry_GroundStation_SensorData = bin.object({
148
136
  bme_data: Telemetry_GroundStation_BME280_DATA, // Telemetry::GroundStation::BME280_DATA
149
137
  ms_data: Telemetry_GroundStation_MS5611_DATA, // Telemetry::GroundStation::MS5611_DATA
150
138
  icm_data: Telemetry_Shared_ImuData, // Telemetry::Shared::ImuData
151
- mmc_data: Mmc5983maData, // Mmc5983maData
139
+ mmc_data: Telemetry_Shared_MagnetometerData, // Telemetry::Shared::MagnetometerData
152
140
  stim_data: Telemetry_GroundStation_STIM377H_DATA, // Telemetry::GroundStation::STIM377H_DATA
153
141
  pressure_data: Telemetry_GroundStation_PressureData, // Telemetry::GroundStation::PressureData
154
142
  });
@@ -198,10 +186,7 @@ export const spec = {
198
186
  gyro: {},
199
187
  acc: {},
200
188
  },
201
- mmc_data: {
202
- magnetic_gauss: {},
203
- raw: {},
204
- },
189
+ mmc_data: {},
205
190
  stim_data: {
206
191
  acc: {},
207
192
  gyro: {},
@@ -231,80 +231,28 @@
231
231
  {
232
232
  "name": "mmc_data",
233
233
  "kind": "struct",
234
- "type": "Mmc5983maData",
234
+ "type": "Telemetry::Shared::MagnetometerData",
235
235
  "fields": [
236
236
  {
237
- "name": "valid",
237
+ "name": "mag_x_gauss",
238
238
  "kind": "primitive",
239
- "type": "bool",
240
- "format_string": "<?"
241
- },
242
- {
243
- "name": "magnetic_gauss",
244
- "kind": "struct",
245
- "type": "Mmc5983maVector",
246
- "fields": [
247
- {
248
- "name": "x",
249
- "kind": "primitive",
250
- "type": "float",
251
- "format_string": "<f"
252
- },
253
- {
254
- "name": "y",
255
- "kind": "primitive",
256
- "type": "float",
257
- "format_string": "<f"
258
- },
259
- {
260
- "name": "z",
261
- "kind": "primitive",
262
- "type": "float",
263
- "format_string": "<f"
264
- }
265
- ],
266
- "format_string": "<fff"
267
- },
268
- {
269
- "name": "raw",
270
- "kind": "struct",
271
- "type": "Mmc5983maVectorRaw",
272
- "fields": [
273
- {
274
- "name": "x",
275
- "kind": "primitive",
276
- "type": "unsigned int",
277
- "format_string": "<I"
278
- },
279
- {
280
- "name": "y",
281
- "kind": "primitive",
282
- "type": "unsigned int",
283
- "format_string": "<I"
284
- },
285
- {
286
- "name": "z",
287
- "kind": "primitive",
288
- "type": "unsigned int",
289
- "format_string": "<I"
290
- }
291
- ],
292
- "format_string": "<III"
239
+ "type": "float",
240
+ "format_string": "<f"
293
241
  },
294
242
  {
295
- "name": "temperature_c",
243
+ "name": "mag_y_gauss",
296
244
  "kind": "primitive",
297
245
  "type": "float",
298
246
  "format_string": "<f"
299
247
  },
300
248
  {
301
- "name": "timestamp_ms",
249
+ "name": "mag_z_gauss",
302
250
  "kind": "primitive",
303
- "type": "unsigned int",
304
- "format_string": "<I"
251
+ "type": "float",
252
+ "format_string": "<f"
305
253
  }
306
254
  ],
307
- "format_string": "<?fffIIIfI"
255
+ "format_string": "<fff"
308
256
  },
309
257
  {
310
258
  "name": "stim_data",
@@ -387,7 +335,7 @@
387
335
  "format_string": "<ff"
388
336
  }
389
337
  ],
390
- "format_string": "<BBdddddIIiiiBfffIBffIfffffffL?fffIIIfIffffffff"
338
+ "format_string": "<BBdddddIIiiiBfffIBffIfffffffLfffffffffff"
391
339
  },
392
340
  "Telemetry::GroundStation::KalmanData": {
393
341
  "port": 3002,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fossekall-interface",
3
- "version": "0.1.150",
3
+ "version": "0.1.151",
4
4
  "description": "API contracts between client and server (rocket and GUI)",
5
5
  "license": "ISC",
6
6
  "author": "Propulse",