fossekall-interface 0.1.124 → 0.1.125

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.
@@ -5,61 +5,46 @@ 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 Telemetry_AccelData: import("typed-binary").ObjectSchema<{
8
+ export declare const AccelerationData: 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 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;
13
+ export type AccelerationData = bin.Parsed<typeof AccelerationData>;
14
+ export declare const GNSS_DATA: import("typed-binary").ObjectSchema<{
16
15
  lat: Float64Schema;
17
16
  lon: Float64Schema;
18
- hAcc: import("typed-binary").Uint32Schema;
19
- vAcc: import("typed-binary").Uint32Schema;
20
17
  hMSL: Float64Schema;
21
18
  gSpeed: Float64Schema;
22
19
  headMot: Float64Schema;
23
- velN: import("typed-binary").Int32Schema;
24
- velE: import("typed-binary").Int32Schema;
25
- velD: import("typed-binary").Int32Schema;
26
20
  numSV: import("typed-binary").ByteSchema;
27
21
  }>;
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;
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;
31
25
  }>;
32
- export type Telemetry_PressureData = bin.Parsed<typeof Telemetry_PressureData>;
33
- export declare const Telemetry_SensorData: import("typed-binary").ObjectSchema<{
26
+ export type Loadcell = bin.Parsed<typeof Loadcell>;
27
+ export declare const SensorData: import("typed-binary").ObjectSchema<{
34
28
  iim_acc_data: import("typed-binary").ObjectSchema<{
35
29
  acc_x: import("typed-binary").Float32Schema;
36
30
  acc_y: import("typed-binary").Float32Schema;
37
31
  acc_z: import("typed-binary").Float32Schema;
38
32
  }>;
39
33
  gnss_data: import("typed-binary").ObjectSchema<{
40
- data_valid: import("typed-binary").BoolSchema;
41
34
  lat: Float64Schema;
42
35
  lon: Float64Schema;
43
- hAcc: import("typed-binary").Uint32Schema;
44
- vAcc: import("typed-binary").Uint32Schema;
45
36
  hMSL: Float64Schema;
46
37
  gSpeed: Float64Schema;
47
38
  headMot: Float64Schema;
48
- velN: import("typed-binary").Int32Schema;
49
- velE: import("typed-binary").Int32Schema;
50
- velD: import("typed-binary").Int32Schema;
51
39
  numSV: import("typed-binary").ByteSchema;
52
40
  }>;
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;
41
+ loadcell_data: import("typed-binary").ObjectSchema<{
42
+ loadcell_value: import("typed-binary").Float32Schema;
58
43
  }>;
59
44
  }>;
60
- export type Telemetry_SensorData = bin.Parsed<typeof Telemetry_SensorData>;
45
+ export type SensorData = bin.Parsed<typeof SensorData>;
61
46
  export declare const spec: {
62
- Telemetry_SensorData: {
47
+ SensorData: {
63
48
  port: number;
64
49
  schema: import("typed-binary").ObjectSchema<{
65
50
  iim_acc_data: import("typed-binary").ObjectSchema<{
@@ -68,31 +53,21 @@ export declare const spec: {
68
53
  acc_z: import("typed-binary").Float32Schema;
69
54
  }>;
70
55
  gnss_data: import("typed-binary").ObjectSchema<{
71
- data_valid: import("typed-binary").BoolSchema;
72
56
  lat: Float64Schema;
73
57
  lon: Float64Schema;
74
- hAcc: import("typed-binary").Uint32Schema;
75
- vAcc: import("typed-binary").Uint32Schema;
76
58
  hMSL: Float64Schema;
77
59
  gSpeed: Float64Schema;
78
60
  headMot: Float64Schema;
79
- velN: import("typed-binary").Int32Schema;
80
- velE: import("typed-binary").Int32Schema;
81
- velD: import("typed-binary").Int32Schema;
82
61
  numSV: import("typed-binary").ByteSchema;
83
62
  }>;
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;
63
+ loadcell_data: import("typed-binary").ObjectSchema<{
64
+ loadcell_value: import("typed-binary").Float32Schema;
89
65
  }>;
90
66
  }>;
91
67
  enums: {
92
68
  iim_acc_data: {};
93
69
  gnss_data: {};
94
- flotation_pressure_data: {};
95
- seperation_pressure_data: {};
70
+ loadcell_data: {};
96
71
  };
97
72
  };
98
73
  };
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-06-10 11:43:40. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-03-19 15:15: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,43 +60,35 @@ 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 Telemetry_AccelData = bin.object({
63
+ export const AccelerationData = 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 Telemetry_GNSS_DATA = bin.object({
69
- data_valid: bin.bool, // bool
68
+ export const GNSS_DATA = bin.object({
70
69
  lat: f64, // double
71
70
  lon: f64, // double
72
- hAcc: bin.u32, // unsigned int
73
- vAcc: bin.u32, // unsigned int
74
71
  hMSL: f64, // double
75
72
  gSpeed: f64, // double
76
73
  headMot: f64, // double
77
- velN: bin.i32, // int
78
- velE: bin.i32, // int
79
- velD: bin.i32, // int
80
74
  numSV: bin.u8, // unsigned char
81
75
  });
82
- export const Telemetry_PressureData = bin.object({
83
- pressure_bar: bin.f32, // float
76
+ export const Loadcell = bin.object({
77
+ loadcell_value: bin.f32, // float
84
78
  });
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
79
+ export const SensorData = bin.object({
80
+ iim_acc_data: AccelerationData, // AccelerationData
81
+ gnss_data: GNSS_DATA, // GNSS_DATA
82
+ loadcell_data: Loadcell, // Loadcell
90
83
  });
91
84
  export const spec = {
92
- Telemetry_SensorData: {
85
+ SensorData: {
93
86
  port: 3001,
94
- schema: Telemetry_SensorData,
87
+ schema: SensorData,
95
88
  enums: {
96
89
  iim_acc_data: {},
97
90
  gnss_data: {},
98
- flotation_pressure_data: {},
99
- seperation_pressure_data: {},
91
+ loadcell_data: {},
100
92
  },
101
93
  },
102
94
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fossekall-interface",
3
- "version": "0.1.124",
3
+ "version": "0.1.125",
4
4
  "description": "API contracts between client and server (rocket and GUI)",
5
5
  "license": "ISC",
6
6
  "author": "Propulse",