fossekall-interface 0.1.131 → 0.1.132

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-06-10 13:42:19. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-07-04 13:01:22. 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;
@@ -1,2 +1,4 @@
1
1
  export * as commands from "./commands";
2
+ export * as kalman from "./kalman";
3
+ export * as status from "./status";
2
4
  export * as telemetry from "./telemetry";
@@ -1,2 +1,4 @@
1
1
  export * as commands from "./commands";
2
+ export * as kalman from "./kalman";
3
+ export * as status from "./status";
2
4
  export * as telemetry from "./telemetry";
@@ -0,0 +1,24 @@
1
+ import bin, { MaxValue, Schema, type IMeasurer, type ISerialInput, type ISerialOutput } from 'typed-binary';
2
+ declare class Float64Schema extends Schema<number> {
3
+ readonly maxSize = 8;
4
+ read(input: ISerialInput): number;
5
+ write(output: ISerialOutput, value: number): void;
6
+ measure(_: number | typeof MaxValue, measurer?: IMeasurer): IMeasurer;
7
+ }
8
+ export declare const Telemetry_KalmanData: import("typed-binary").ObjectSchema<{
9
+ altitude: Float64Schema;
10
+ veloicty: Float64Schema;
11
+ }>;
12
+ export type Telemetry_KalmanData = bin.Parsed<typeof Telemetry_KalmanData>;
13
+ export declare const spec: {
14
+ Telemetry_KalmanData: {
15
+ port: number;
16
+ schema: import("typed-binary").ObjectSchema<{
17
+ altitude: Float64Schema;
18
+ veloicty: Float64Schema;
19
+ }>;
20
+ enums: {};
21
+ };
22
+ };
23
+ export default spec;
24
+ export type Spec = typeof spec;
@@ -0,0 +1,74 @@
1
+ import bin, { Measurer, Schema } from 'typed-binary';
2
+ // This file was generated by FRICC on 2026-07-04 12:57:22. Do not edit manually!
3
+ // The current version of typed-binary does not support 64-bit primitives.
4
+ // So for we'll implement our own schemas. :)
5
+ const __littleEndian = true;
6
+ class UInt64Schema extends Schema {
7
+ maxSize = 8;
8
+ read(input) {
9
+ const bytes = new Uint8Array(8);
10
+ input.readSlice(bytes, 0, 8);
11
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
12
+ return view.getBigUint64(0, __littleEndian);
13
+ }
14
+ write(output, value) {
15
+ const bytes = new Uint8Array(8);
16
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
17
+ view.setBigUint64(0, value, __littleEndian);
18
+ output.writeSlice(bytes);
19
+ }
20
+ measure(_, measurer = new Measurer()) {
21
+ return measurer.add(8);
22
+ }
23
+ }
24
+ class Int64Schema extends Schema {
25
+ maxSize = 8;
26
+ read(input) {
27
+ const bytes = new Uint8Array(8);
28
+ input.readSlice(bytes, 0, 8);
29
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
30
+ return view.getBigInt64(0, __littleEndian);
31
+ }
32
+ write(output, value) {
33
+ const bytes = new Uint8Array(8);
34
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
35
+ view.setBigInt64(0, value, __littleEndian);
36
+ output.writeSlice(bytes);
37
+ }
38
+ measure(_, measurer = new Measurer()) {
39
+ return measurer.add(8);
40
+ }
41
+ }
42
+ class Float64Schema extends Schema {
43
+ maxSize = 8;
44
+ read(input) {
45
+ const bytes = new Uint8Array(8);
46
+ input.readSlice(bytes, 0, 8);
47
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
48
+ return view.getFloat64(0, __littleEndian);
49
+ }
50
+ write(output, value) {
51
+ const bytes = new Uint8Array(8);
52
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
53
+ view.setFloat64(0, value, __littleEndian);
54
+ output.writeSlice(bytes);
55
+ }
56
+ measure(_, measurer = new Measurer()) {
57
+ return measurer.add(8);
58
+ }
59
+ }
60
+ const u64 = new UInt64Schema();
61
+ const i64 = new Int64Schema();
62
+ const f64 = new Float64Schema();
63
+ export const Telemetry_KalmanData = bin.object({
64
+ altitude: f64, // double
65
+ veloicty: f64, // double
66
+ });
67
+ export const spec = {
68
+ Telemetry_KalmanData: {
69
+ port: 3002,
70
+ schema: Telemetry_KalmanData,
71
+ enums: {},
72
+ },
73
+ };
74
+ export default spec;
@@ -0,0 +1,90 @@
1
+ import bin from 'typed-binary';
2
+ export declare const Telemetry_ActuatorStatus: import("typed-binary").ObjectSchema<{
3
+ separation_filling_online: import("typed-binary").BoolSchema;
4
+ flotation_filling_online: import("typed-binary").BoolSchema;
5
+ flotation_online: import("typed-binary").BoolSchema;
6
+ separation_servo_online: import("typed-binary").BoolSchema;
7
+ }>;
8
+ export type Telemetry_ActuatorStatus = bin.Parsed<typeof Telemetry_ActuatorStatus>;
9
+ export declare const Telemetry_SensorStatus: import("typed-binary").ObjectSchema<{
10
+ bme_online: import("typed-binary").BoolSchema;
11
+ ms_online: import("typed-binary").BoolSchema;
12
+ gnss_online: import("typed-binary").BoolSchema;
13
+ icm_online: import("typed-binary").BoolSchema;
14
+ stim_online: import("typed-binary").BoolSchema;
15
+ pressure_online: import("typed-binary").BoolSchema;
16
+ }>;
17
+ export type Telemetry_SensorStatus = bin.Parsed<typeof Telemetry_SensorStatus>;
18
+ export declare const Telemetry_HardwareStatus: import("typed-binary").ObjectSchema<{
19
+ pcan1_online: import("typed-binary").BoolSchema;
20
+ pcan2_online: import("typed-binary").BoolSchema;
21
+ networking_thread_online: import("typed-binary").BoolSchema;
22
+ cli_thread_online: import("typed-binary").BoolSchema;
23
+ kalman_thread_online: import("typed-binary").BoolSchema;
24
+ sensor_thread_online: import("typed-binary").BoolSchema;
25
+ fsm_thread_online: import("typed-binary").BoolSchema;
26
+ }>;
27
+ export type Telemetry_HardwareStatus = bin.Parsed<typeof Telemetry_HardwareStatus>;
28
+ export declare const Telemetry_SystemStatus: import("typed-binary").ObjectSchema<{
29
+ actuators: import("typed-binary").ObjectSchema<{
30
+ separation_filling_online: import("typed-binary").BoolSchema;
31
+ flotation_filling_online: import("typed-binary").BoolSchema;
32
+ flotation_online: import("typed-binary").BoolSchema;
33
+ separation_servo_online: import("typed-binary").BoolSchema;
34
+ }>;
35
+ sensors: import("typed-binary").ObjectSchema<{
36
+ bme_online: import("typed-binary").BoolSchema;
37
+ ms_online: import("typed-binary").BoolSchema;
38
+ gnss_online: import("typed-binary").BoolSchema;
39
+ icm_online: import("typed-binary").BoolSchema;
40
+ stim_online: import("typed-binary").BoolSchema;
41
+ pressure_online: import("typed-binary").BoolSchema;
42
+ }>;
43
+ hardware: import("typed-binary").ObjectSchema<{
44
+ pcan1_online: import("typed-binary").BoolSchema;
45
+ pcan2_online: import("typed-binary").BoolSchema;
46
+ networking_thread_online: import("typed-binary").BoolSchema;
47
+ cli_thread_online: import("typed-binary").BoolSchema;
48
+ kalman_thread_online: import("typed-binary").BoolSchema;
49
+ sensor_thread_online: import("typed-binary").BoolSchema;
50
+ fsm_thread_online: import("typed-binary").BoolSchema;
51
+ }>;
52
+ }>;
53
+ export type Telemetry_SystemStatus = bin.Parsed<typeof Telemetry_SystemStatus>;
54
+ export declare const spec: {
55
+ Telemetry_SystemStatus: {
56
+ port: number;
57
+ schema: import("typed-binary").ObjectSchema<{
58
+ actuators: import("typed-binary").ObjectSchema<{
59
+ separation_filling_online: import("typed-binary").BoolSchema;
60
+ flotation_filling_online: import("typed-binary").BoolSchema;
61
+ flotation_online: import("typed-binary").BoolSchema;
62
+ separation_servo_online: import("typed-binary").BoolSchema;
63
+ }>;
64
+ sensors: import("typed-binary").ObjectSchema<{
65
+ bme_online: import("typed-binary").BoolSchema;
66
+ ms_online: import("typed-binary").BoolSchema;
67
+ gnss_online: import("typed-binary").BoolSchema;
68
+ icm_online: import("typed-binary").BoolSchema;
69
+ stim_online: import("typed-binary").BoolSchema;
70
+ pressure_online: import("typed-binary").BoolSchema;
71
+ }>;
72
+ hardware: import("typed-binary").ObjectSchema<{
73
+ pcan1_online: import("typed-binary").BoolSchema;
74
+ pcan2_online: import("typed-binary").BoolSchema;
75
+ networking_thread_online: import("typed-binary").BoolSchema;
76
+ cli_thread_online: import("typed-binary").BoolSchema;
77
+ kalman_thread_online: import("typed-binary").BoolSchema;
78
+ sensor_thread_online: import("typed-binary").BoolSchema;
79
+ fsm_thread_online: import("typed-binary").BoolSchema;
80
+ }>;
81
+ }>;
82
+ enums: {
83
+ actuators: {};
84
+ sensors: {};
85
+ hardware: {};
86
+ };
87
+ };
88
+ };
89
+ export default spec;
90
+ export type Spec = typeof spec;
@@ -0,0 +1,102 @@
1
+ import bin, { Measurer, Schema } from 'typed-binary';
2
+ // This file was generated by FRICC on 2026-07-04 12:57:45. Do not edit manually!
3
+ // The current version of typed-binary does not support 64-bit primitives.
4
+ // So for we'll implement our own schemas. :)
5
+ const __littleEndian = true;
6
+ class UInt64Schema extends Schema {
7
+ maxSize = 8;
8
+ read(input) {
9
+ const bytes = new Uint8Array(8);
10
+ input.readSlice(bytes, 0, 8);
11
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
12
+ return view.getBigUint64(0, __littleEndian);
13
+ }
14
+ write(output, value) {
15
+ const bytes = new Uint8Array(8);
16
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
17
+ view.setBigUint64(0, value, __littleEndian);
18
+ output.writeSlice(bytes);
19
+ }
20
+ measure(_, measurer = new Measurer()) {
21
+ return measurer.add(8);
22
+ }
23
+ }
24
+ class Int64Schema extends Schema {
25
+ maxSize = 8;
26
+ read(input) {
27
+ const bytes = new Uint8Array(8);
28
+ input.readSlice(bytes, 0, 8);
29
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
30
+ return view.getBigInt64(0, __littleEndian);
31
+ }
32
+ write(output, value) {
33
+ const bytes = new Uint8Array(8);
34
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
35
+ view.setBigInt64(0, value, __littleEndian);
36
+ output.writeSlice(bytes);
37
+ }
38
+ measure(_, measurer = new Measurer()) {
39
+ return measurer.add(8);
40
+ }
41
+ }
42
+ class Float64Schema extends Schema {
43
+ maxSize = 8;
44
+ read(input) {
45
+ const bytes = new Uint8Array(8);
46
+ input.readSlice(bytes, 0, 8);
47
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
48
+ return view.getFloat64(0, __littleEndian);
49
+ }
50
+ write(output, value) {
51
+ const bytes = new Uint8Array(8);
52
+ const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
53
+ view.setFloat64(0, value, __littleEndian);
54
+ output.writeSlice(bytes);
55
+ }
56
+ measure(_, measurer = new Measurer()) {
57
+ return measurer.add(8);
58
+ }
59
+ }
60
+ const u64 = new UInt64Schema();
61
+ const i64 = new Int64Schema();
62
+ const f64 = new Float64Schema();
63
+ export const Telemetry_ActuatorStatus = bin.object({
64
+ separation_filling_online: bin.bool, // bool
65
+ flotation_filling_online: bin.bool, // bool
66
+ flotation_online: bin.bool, // bool
67
+ separation_servo_online: bin.bool, // bool
68
+ });
69
+ export const Telemetry_SensorStatus = bin.object({
70
+ bme_online: bin.bool, // bool
71
+ ms_online: bin.bool, // bool
72
+ gnss_online: bin.bool, // bool
73
+ icm_online: bin.bool, // bool
74
+ stim_online: bin.bool, // bool
75
+ pressure_online: bin.bool, // bool
76
+ });
77
+ export const Telemetry_HardwareStatus = bin.object({
78
+ pcan1_online: bin.bool, // bool
79
+ pcan2_online: bin.bool, // bool
80
+ networking_thread_online: bin.bool, // bool
81
+ cli_thread_online: bin.bool, // bool
82
+ kalman_thread_online: bin.bool, // bool
83
+ sensor_thread_online: bin.bool, // bool
84
+ fsm_thread_online: bin.bool, // bool
85
+ });
86
+ export const Telemetry_SystemStatus = bin.object({
87
+ actuators: Telemetry_ActuatorStatus, // Telemetry::ActuatorStatus
88
+ sensors: Telemetry_SensorStatus, // Telemetry::SensorStatus
89
+ hardware: Telemetry_HardwareStatus, // Telemetry::HardwareStatus
90
+ });
91
+ export const spec = {
92
+ Telemetry_SystemStatus: {
93
+ port: 3003,
94
+ schema: Telemetry_SystemStatus,
95
+ enums: {
96
+ actuators: {},
97
+ sensors: {},
98
+ hardware: {},
99
+ },
100
+ },
101
+ };
102
+ export default spec;
@@ -5,56 +5,136 @@ 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<{
9
- acc_x: import("typed-binary").Float32Schema;
10
- acc_y: import("typed-binary").Float32Schema;
11
- acc_z: import("typed-binary").Float32Schema;
12
- }>;
13
- export type Telemetry_AccelData = bin.Parsed<typeof Telemetry_AccelData>;
14
8
  export declare const Telemetry_GNSS_DATA: import("typed-binary").ObjectSchema<{
15
- data_valid: import("typed-binary").BoolSchema;
9
+ data_valid: import("typed-binary").ByteSchema;
10
+ numSV: import("typed-binary").ByteSchema;
16
11
  lat: Float64Schema;
17
12
  lon: Float64Schema;
18
- hAcc: import("typed-binary").Uint32Schema;
19
- vAcc: import("typed-binary").Uint32Schema;
20
13
  hMSL: Float64Schema;
21
14
  gSpeed: Float64Schema;
22
15
  headMot: Float64Schema;
16
+ hAcc: import("typed-binary").Uint32Schema;
17
+ vAcc: import("typed-binary").Uint32Schema;
23
18
  velN: import("typed-binary").Int32Schema;
24
19
  velE: import("typed-binary").Int32Schema;
25
20
  velD: import("typed-binary").Int32Schema;
26
- numSV: import("typed-binary").ByteSchema;
27
21
  }>;
28
22
  export type Telemetry_GNSS_DATA = bin.Parsed<typeof Telemetry_GNSS_DATA>;
23
+ export declare const Telemetry_BME280_DATA: import("typed-binary").ObjectSchema<{
24
+ valid: import("typed-binary").ByteSchema;
25
+ temperature: import("typed-binary").Float32Schema;
26
+ pressure: import("typed-binary").Float32Schema;
27
+ humidity: import("typed-binary").Float32Schema;
28
+ timestamp: import("typed-binary").Uint32Schema;
29
+ }>;
30
+ export type Telemetry_BME280_DATA = bin.Parsed<typeof Telemetry_BME280_DATA>;
31
+ export declare const Telemetry_MS5611_DATA: import("typed-binary").ObjectSchema<{
32
+ valid: import("typed-binary").ByteSchema;
33
+ temperature: import("typed-binary").Float32Schema;
34
+ pressure: import("typed-binary").Float32Schema;
35
+ timestamp: import("typed-binary").Uint32Schema;
36
+ }>;
37
+ export type Telemetry_MS5611_DATA = bin.Parsed<typeof Telemetry_MS5611_DATA>;
38
+ export declare const Telemetry_AccelerationData: import("typed-binary").ObjectSchema<{
39
+ acc_x_m_per_ss: import("typed-binary").Float32Schema;
40
+ acc_y_m_per_ss: import("typed-binary").Float32Schema;
41
+ acc_z_m_per_ss: import("typed-binary").Float32Schema;
42
+ }>;
43
+ export type Telemetry_AccelerationData = bin.Parsed<typeof Telemetry_AccelerationData>;
44
+ export declare const Telemetry_GyroData: import("typed-binary").ObjectSchema<{
45
+ gyro_x: import("typed-binary").Float32Schema;
46
+ gyro_y: import("typed-binary").Float32Schema;
47
+ gyro_z: import("typed-binary").Float32Schema;
48
+ }>;
49
+ export type Telemetry_GyroData = bin.Parsed<typeof Telemetry_GyroData>;
50
+ export declare const Telemetry_ICM40609D_DATA: import("typed-binary").ObjectSchema<{
51
+ acc_m_per_ss: import("typed-binary").ObjectSchema<{
52
+ acc_x_m_per_ss: import("typed-binary").Float32Schema;
53
+ acc_y_m_per_ss: import("typed-binary").Float32Schema;
54
+ acc_z_m_per_ss: import("typed-binary").Float32Schema;
55
+ }>;
56
+ gyro: import("typed-binary").ObjectSchema<{
57
+ gyro_x: import("typed-binary").Float32Schema;
58
+ gyro_y: import("typed-binary").Float32Schema;
59
+ gyro_z: import("typed-binary").Float32Schema;
60
+ }>;
61
+ temperature_C: import("typed-binary").Float32Schema;
62
+ }>;
63
+ export type Telemetry_ICM40609D_DATA = bin.Parsed<typeof Telemetry_ICM40609D_DATA>;
64
+ export declare const Telemetry_STIM377H_DATA: import("typed-binary").ObjectSchema<{
65
+ acc: import("typed-binary").ObjectSchema<{
66
+ acc_x_m_per_ss: import("typed-binary").Float32Schema;
67
+ acc_y_m_per_ss: import("typed-binary").Float32Schema;
68
+ acc_z_m_per_ss: import("typed-binary").Float32Schema;
69
+ }>;
70
+ gyro: import("typed-binary").ObjectSchema<{
71
+ gyro_x: import("typed-binary").Float32Schema;
72
+ gyro_y: import("typed-binary").Float32Schema;
73
+ gyro_z: import("typed-binary").Float32Schema;
74
+ }>;
75
+ }>;
76
+ export type Telemetry_STIM377H_DATA = bin.Parsed<typeof Telemetry_STIM377H_DATA>;
29
77
  export declare const Telemetry_PressureData: import("typed-binary").ObjectSchema<{
30
- pressure_bar: import("typed-binary").Float32Schema;
78
+ flotation_pressure: import("typed-binary").Float32Schema;
79
+ separation_pressure: import("typed-binary").Float32Schema;
31
80
  }>;
32
81
  export type Telemetry_PressureData = bin.Parsed<typeof Telemetry_PressureData>;
33
82
  export declare const Telemetry_SensorData: import("typed-binary").ObjectSchema<{
34
- iim_acc_data: import("typed-binary").ObjectSchema<{
35
- acc_x: import("typed-binary").Float32Schema;
36
- acc_y: import("typed-binary").Float32Schema;
37
- acc_z: import("typed-binary").Float32Schema;
38
- }>;
39
83
  gnss_data: import("typed-binary").ObjectSchema<{
40
- data_valid: import("typed-binary").BoolSchema;
84
+ data_valid: import("typed-binary").ByteSchema;
85
+ numSV: import("typed-binary").ByteSchema;
41
86
  lat: Float64Schema;
42
87
  lon: Float64Schema;
43
- hAcc: import("typed-binary").Uint32Schema;
44
- vAcc: import("typed-binary").Uint32Schema;
45
88
  hMSL: Float64Schema;
46
89
  gSpeed: Float64Schema;
47
90
  headMot: Float64Schema;
91
+ hAcc: import("typed-binary").Uint32Schema;
92
+ vAcc: import("typed-binary").Uint32Schema;
48
93
  velN: import("typed-binary").Int32Schema;
49
94
  velE: import("typed-binary").Int32Schema;
50
95
  velD: import("typed-binary").Int32Schema;
51
- numSV: import("typed-binary").ByteSchema;
52
96
  }>;
53
- flotation_pressure_data: import("typed-binary").ObjectSchema<{
54
- pressure_bar: import("typed-binary").Float32Schema;
97
+ bme_data: import("typed-binary").ObjectSchema<{
98
+ valid: import("typed-binary").ByteSchema;
99
+ temperature: import("typed-binary").Float32Schema;
100
+ pressure: import("typed-binary").Float32Schema;
101
+ humidity: import("typed-binary").Float32Schema;
102
+ timestamp: import("typed-binary").Uint32Schema;
103
+ }>;
104
+ ms_data: import("typed-binary").ObjectSchema<{
105
+ valid: import("typed-binary").ByteSchema;
106
+ temperature: import("typed-binary").Float32Schema;
107
+ pressure: import("typed-binary").Float32Schema;
108
+ timestamp: import("typed-binary").Uint32Schema;
109
+ }>;
110
+ icm_data: import("typed-binary").ObjectSchema<{
111
+ acc_m_per_ss: import("typed-binary").ObjectSchema<{
112
+ acc_x_m_per_ss: import("typed-binary").Float32Schema;
113
+ acc_y_m_per_ss: import("typed-binary").Float32Schema;
114
+ acc_z_m_per_ss: import("typed-binary").Float32Schema;
115
+ }>;
116
+ gyro: import("typed-binary").ObjectSchema<{
117
+ gyro_x: import("typed-binary").Float32Schema;
118
+ gyro_y: import("typed-binary").Float32Schema;
119
+ gyro_z: import("typed-binary").Float32Schema;
120
+ }>;
121
+ temperature_C: import("typed-binary").Float32Schema;
122
+ }>;
123
+ stim_data: import("typed-binary").ObjectSchema<{
124
+ acc: import("typed-binary").ObjectSchema<{
125
+ acc_x_m_per_ss: import("typed-binary").Float32Schema;
126
+ acc_y_m_per_ss: import("typed-binary").Float32Schema;
127
+ acc_z_m_per_ss: import("typed-binary").Float32Schema;
128
+ }>;
129
+ gyro: import("typed-binary").ObjectSchema<{
130
+ gyro_x: import("typed-binary").Float32Schema;
131
+ gyro_y: import("typed-binary").Float32Schema;
132
+ gyro_z: import("typed-binary").Float32Schema;
133
+ }>;
55
134
  }>;
56
- seperation_pressure_data: import("typed-binary").ObjectSchema<{
57
- pressure_bar: import("typed-binary").Float32Schema;
135
+ pressure_data: import("typed-binary").ObjectSchema<{
136
+ flotation_pressure: import("typed-binary").Float32Schema;
137
+ separation_pressure: import("typed-binary").Float32Schema;
58
138
  }>;
59
139
  }>;
60
140
  export type Telemetry_SensorData = bin.Parsed<typeof Telemetry_SensorData>;
@@ -62,37 +142,76 @@ export declare const spec: {
62
142
  Telemetry_SensorData: {
63
143
  port: number;
64
144
  schema: import("typed-binary").ObjectSchema<{
65
- iim_acc_data: import("typed-binary").ObjectSchema<{
66
- acc_x: import("typed-binary").Float32Schema;
67
- acc_y: import("typed-binary").Float32Schema;
68
- acc_z: import("typed-binary").Float32Schema;
69
- }>;
70
145
  gnss_data: import("typed-binary").ObjectSchema<{
71
- data_valid: import("typed-binary").BoolSchema;
146
+ data_valid: import("typed-binary").ByteSchema;
147
+ numSV: import("typed-binary").ByteSchema;
72
148
  lat: Float64Schema;
73
149
  lon: Float64Schema;
74
- hAcc: import("typed-binary").Uint32Schema;
75
- vAcc: import("typed-binary").Uint32Schema;
76
150
  hMSL: Float64Schema;
77
151
  gSpeed: Float64Schema;
78
152
  headMot: Float64Schema;
153
+ hAcc: import("typed-binary").Uint32Schema;
154
+ vAcc: import("typed-binary").Uint32Schema;
79
155
  velN: import("typed-binary").Int32Schema;
80
156
  velE: import("typed-binary").Int32Schema;
81
157
  velD: import("typed-binary").Int32Schema;
82
- numSV: import("typed-binary").ByteSchema;
83
158
  }>;
84
- flotation_pressure_data: import("typed-binary").ObjectSchema<{
85
- pressure_bar: import("typed-binary").Float32Schema;
159
+ bme_data: import("typed-binary").ObjectSchema<{
160
+ valid: import("typed-binary").ByteSchema;
161
+ temperature: import("typed-binary").Float32Schema;
162
+ pressure: import("typed-binary").Float32Schema;
163
+ humidity: import("typed-binary").Float32Schema;
164
+ timestamp: import("typed-binary").Uint32Schema;
165
+ }>;
166
+ ms_data: import("typed-binary").ObjectSchema<{
167
+ valid: import("typed-binary").ByteSchema;
168
+ temperature: import("typed-binary").Float32Schema;
169
+ pressure: import("typed-binary").Float32Schema;
170
+ timestamp: import("typed-binary").Uint32Schema;
171
+ }>;
172
+ icm_data: import("typed-binary").ObjectSchema<{
173
+ acc_m_per_ss: import("typed-binary").ObjectSchema<{
174
+ acc_x_m_per_ss: import("typed-binary").Float32Schema;
175
+ acc_y_m_per_ss: import("typed-binary").Float32Schema;
176
+ acc_z_m_per_ss: import("typed-binary").Float32Schema;
177
+ }>;
178
+ gyro: import("typed-binary").ObjectSchema<{
179
+ gyro_x: import("typed-binary").Float32Schema;
180
+ gyro_y: import("typed-binary").Float32Schema;
181
+ gyro_z: import("typed-binary").Float32Schema;
182
+ }>;
183
+ temperature_C: import("typed-binary").Float32Schema;
184
+ }>;
185
+ stim_data: import("typed-binary").ObjectSchema<{
186
+ acc: import("typed-binary").ObjectSchema<{
187
+ acc_x_m_per_ss: import("typed-binary").Float32Schema;
188
+ acc_y_m_per_ss: import("typed-binary").Float32Schema;
189
+ acc_z_m_per_ss: import("typed-binary").Float32Schema;
190
+ }>;
191
+ gyro: import("typed-binary").ObjectSchema<{
192
+ gyro_x: import("typed-binary").Float32Schema;
193
+ gyro_y: import("typed-binary").Float32Schema;
194
+ gyro_z: import("typed-binary").Float32Schema;
195
+ }>;
86
196
  }>;
87
- seperation_pressure_data: import("typed-binary").ObjectSchema<{
88
- pressure_bar: import("typed-binary").Float32Schema;
197
+ pressure_data: import("typed-binary").ObjectSchema<{
198
+ flotation_pressure: import("typed-binary").Float32Schema;
199
+ separation_pressure: import("typed-binary").Float32Schema;
89
200
  }>;
90
201
  }>;
91
202
  enums: {
92
- iim_acc_data: {};
93
203
  gnss_data: {};
94
- flotation_pressure_data: {};
95
- seperation_pressure_data: {};
204
+ bme_data: {};
205
+ ms_data: {};
206
+ icm_data: {
207
+ acc_m_per_ss: {};
208
+ gyro: {};
209
+ };
210
+ stim_data: {
211
+ acc: {};
212
+ gyro: {};
213
+ };
214
+ pressure_data: {};
96
215
  };
97
216
  };
98
217
  };
@@ -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-07-04 12:56:39. 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,81 @@ 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({
64
- acc_x: bin.f32, // float
65
- acc_y: bin.f32, // float
66
- acc_z: bin.f32, // float
67
- });
68
63
  export const Telemetry_GNSS_DATA = bin.object({
69
- data_valid: bin.bool, // bool
64
+ data_valid: bin.u8, // unsigned char
65
+ numSV: bin.u8, // unsigned char
70
66
  lat: f64, // double
71
67
  lon: f64, // double
72
- hAcc: bin.u32, // unsigned int
73
- vAcc: bin.u32, // unsigned int
74
68
  hMSL: f64, // double
75
69
  gSpeed: f64, // double
76
70
  headMot: f64, // double
71
+ hAcc: bin.u32, // unsigned int
72
+ vAcc: bin.u32, // unsigned int
77
73
  velN: bin.i32, // int
78
74
  velE: bin.i32, // int
79
75
  velD: bin.i32, // int
80
- numSV: bin.u8, // unsigned char
76
+ });
77
+ export const Telemetry_BME280_DATA = bin.object({
78
+ valid: bin.u8, // unsigned char
79
+ temperature: bin.f32, // float
80
+ pressure: bin.f32, // float
81
+ humidity: bin.f32, // float
82
+ timestamp: bin.u32, // unsigned int
83
+ });
84
+ export const Telemetry_MS5611_DATA = bin.object({
85
+ valid: bin.u8, // unsigned char
86
+ temperature: bin.f32, // float
87
+ pressure: bin.f32, // float
88
+ timestamp: bin.u32, // unsigned int
89
+ });
90
+ export const Telemetry_AccelerationData = bin.object({
91
+ acc_x_m_per_ss: bin.f32, // float
92
+ acc_y_m_per_ss: bin.f32, // float
93
+ acc_z_m_per_ss: bin.f32, // float
94
+ });
95
+ export const Telemetry_GyroData = bin.object({
96
+ gyro_x: bin.f32, // float
97
+ gyro_y: bin.f32, // float
98
+ gyro_z: bin.f32, // float
99
+ });
100
+ export const Telemetry_ICM40609D_DATA = bin.object({
101
+ acc_m_per_ss: Telemetry_AccelerationData, // Telemetry::AccelerationData
102
+ gyro: Telemetry_GyroData, // Telemetry::GyroData
103
+ temperature_C: bin.f32, // float
104
+ });
105
+ export const Telemetry_STIM377H_DATA = bin.object({
106
+ acc: Telemetry_AccelerationData, // Telemetry::AccelerationData
107
+ gyro: Telemetry_GyroData, // Telemetry::GyroData
81
108
  });
82
109
  export const Telemetry_PressureData = bin.object({
83
- pressure_bar: bin.f32, // float
110
+ flotation_pressure: bin.f32, // float
111
+ separation_pressure: bin.f32, // float
84
112
  });
85
113
  export const Telemetry_SensorData = bin.object({
86
- iim_acc_data: Telemetry_AccelData, // Telemetry::AccelData
87
114
  gnss_data: Telemetry_GNSS_DATA, // Telemetry::GNSS_DATA
88
- flotation_pressure_data: Telemetry_PressureData, // Telemetry::PressureData
89
- seperation_pressure_data: Telemetry_PressureData, // Telemetry::PressureData
115
+ bme_data: Telemetry_BME280_DATA, // Telemetry::BME280_DATA
116
+ ms_data: Telemetry_MS5611_DATA, // Telemetry::MS5611_DATA
117
+ icm_data: Telemetry_ICM40609D_DATA, // Telemetry::ICM40609D_DATA
118
+ stim_data: Telemetry_STIM377H_DATA, // Telemetry::STIM377H_DATA
119
+ pressure_data: Telemetry_PressureData, // Telemetry::PressureData
90
120
  });
91
121
  export const spec = {
92
122
  Telemetry_SensorData: {
93
123
  port: 3001,
94
124
  schema: Telemetry_SensorData,
95
125
  enums: {
96
- iim_acc_data: {},
97
126
  gnss_data: {},
98
- flotation_pressure_data: {},
99
- seperation_pressure_data: {},
127
+ bme_data: {},
128
+ ms_data: {},
129
+ icm_data: {
130
+ acc_m_per_ss: {},
131
+ gyro: {},
132
+ },
133
+ stim_data: {
134
+ acc: {},
135
+ gyro: {},
136
+ },
137
+ pressure_data: {},
100
138
  },
101
139
  },
102
140
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fossekall-interface",
3
- "version": "0.1.131",
3
+ "version": "0.1.132",
4
4
  "description": "API contracts between client and server (rocket and GUI)",
5
5
  "license": "ISC",
6
6
  "author": "Propulse",