fossekall-interface 0.1.17 → 0.1.18
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.
|
@@ -6,14 +6,12 @@ declare class Float64Schema extends Schema<number> {
|
|
|
6
6
|
measure(_: number | typeof MaxValue, measurer?: IMeasurer): IMeasurer;
|
|
7
7
|
}
|
|
8
8
|
export declare const AccelerationData: import("typed-binary").ObjectSchema<{
|
|
9
|
-
valid: import("typed-binary").BoolSchema;
|
|
10
9
|
acc_x: import("typed-binary").Float32Schema;
|
|
11
10
|
acc_y: import("typed-binary").Float32Schema;
|
|
12
11
|
acc_z: import("typed-binary").Float32Schema;
|
|
13
12
|
}>;
|
|
14
13
|
export type AccelerationData = bin.Parsed<typeof AccelerationData>;
|
|
15
14
|
export declare const GNSS_DATA: import("typed-binary").ObjectSchema<{
|
|
16
|
-
data_valid: import("typed-binary").BoolSchema;
|
|
17
15
|
lat: Float64Schema;
|
|
18
16
|
lon: Float64Schema;
|
|
19
17
|
hMSL: Float64Schema;
|
|
@@ -22,15 +20,17 @@ export declare const GNSS_DATA: import("typed-binary").ObjectSchema<{
|
|
|
22
20
|
numSV: import("typed-binary").ByteSchema;
|
|
23
21
|
}>;
|
|
24
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;
|
|
25
|
+
}>;
|
|
26
|
+
export type Loadcell = bin.Parsed<typeof Loadcell>;
|
|
25
27
|
export declare const SensorData: import("typed-binary").ObjectSchema<{
|
|
26
28
|
iim_acc_data: import("typed-binary").ObjectSchema<{
|
|
27
|
-
valid: import("typed-binary").BoolSchema;
|
|
28
29
|
acc_x: import("typed-binary").Float32Schema;
|
|
29
30
|
acc_y: import("typed-binary").Float32Schema;
|
|
30
31
|
acc_z: import("typed-binary").Float32Schema;
|
|
31
32
|
}>;
|
|
32
33
|
gnss_data: import("typed-binary").ObjectSchema<{
|
|
33
|
-
data_valid: import("typed-binary").BoolSchema;
|
|
34
34
|
lat: Float64Schema;
|
|
35
35
|
lon: Float64Schema;
|
|
36
36
|
hMSL: Float64Schema;
|
|
@@ -38,29 +38,21 @@ export declare const SensorData: import("typed-binary").ObjectSchema<{
|
|
|
38
38
|
headMot: Float64Schema;
|
|
39
39
|
numSV: import("typed-binary").ByteSchema;
|
|
40
40
|
}>;
|
|
41
|
+
loadcell_data: import("typed-binary").ObjectSchema<{
|
|
42
|
+
loadcell_value: import("typed-binary").Float32Schema;
|
|
43
|
+
}>;
|
|
41
44
|
}>;
|
|
42
45
|
export type SensorData = bin.Parsed<typeof SensorData>;
|
|
43
46
|
export declare const spec: {
|
|
44
|
-
AccelerationData: {
|
|
45
|
-
schema: import("typed-binary").ObjectSchema<{
|
|
46
|
-
valid: import("typed-binary").BoolSchema;
|
|
47
|
-
acc_x: import("typed-binary").Float32Schema;
|
|
48
|
-
acc_y: import("typed-binary").Float32Schema;
|
|
49
|
-
acc_z: import("typed-binary").Float32Schema;
|
|
50
|
-
}>;
|
|
51
|
-
enums: {};
|
|
52
|
-
};
|
|
53
47
|
SensorData: {
|
|
54
48
|
port: number;
|
|
55
49
|
schema: import("typed-binary").ObjectSchema<{
|
|
56
50
|
iim_acc_data: import("typed-binary").ObjectSchema<{
|
|
57
|
-
valid: import("typed-binary").BoolSchema;
|
|
58
51
|
acc_x: import("typed-binary").Float32Schema;
|
|
59
52
|
acc_y: import("typed-binary").Float32Schema;
|
|
60
53
|
acc_z: import("typed-binary").Float32Schema;
|
|
61
54
|
}>;
|
|
62
55
|
gnss_data: import("typed-binary").ObjectSchema<{
|
|
63
|
-
data_valid: import("typed-binary").BoolSchema;
|
|
64
56
|
lat: Float64Schema;
|
|
65
57
|
lon: Float64Schema;
|
|
66
58
|
hMSL: Float64Schema;
|
|
@@ -68,10 +60,14 @@ export declare const spec: {
|
|
|
68
60
|
headMot: Float64Schema;
|
|
69
61
|
numSV: import("typed-binary").ByteSchema;
|
|
70
62
|
}>;
|
|
63
|
+
loadcell_data: import("typed-binary").ObjectSchema<{
|
|
64
|
+
loadcell_value: import("typed-binary").Float32Schema;
|
|
65
|
+
}>;
|
|
71
66
|
}>;
|
|
72
67
|
enums: {
|
|
73
68
|
iim_acc_data: {};
|
|
74
69
|
gnss_data: {};
|
|
70
|
+
loadcell_data: {};
|
|
75
71
|
};
|
|
76
72
|
};
|
|
77
73
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import bin, { Measurer, Schema } from 'typed-binary';
|
|
2
|
-
// This file was generated by FRICC on 2026-03-19 14:
|
|
2
|
+
// This file was generated by FRICC on 2026-03-19 14:51:15. 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;
|
|
@@ -61,13 +61,11 @@ const u64 = new UInt64Schema();
|
|
|
61
61
|
const i64 = new Int64Schema();
|
|
62
62
|
const f64 = new Float64Schema();
|
|
63
63
|
export const AccelerationData = bin.object({
|
|
64
|
-
valid: bin.bool, // bool
|
|
65
64
|
acc_x: bin.f32, // float
|
|
66
65
|
acc_y: bin.f32, // float
|
|
67
66
|
acc_z: bin.f32, // float
|
|
68
67
|
});
|
|
69
68
|
export const GNSS_DATA = bin.object({
|
|
70
|
-
data_valid: bin.bool, // bool
|
|
71
69
|
lat: f64, // double
|
|
72
70
|
lon: f64, // double
|
|
73
71
|
hMSL: f64, // double
|
|
@@ -75,21 +73,22 @@ export const GNSS_DATA = bin.object({
|
|
|
75
73
|
headMot: f64, // double
|
|
76
74
|
numSV: bin.u8, // unsigned char
|
|
77
75
|
});
|
|
76
|
+
export const Loadcell = bin.object({
|
|
77
|
+
loadcell_value: bin.f32, // float
|
|
78
|
+
});
|
|
78
79
|
export const SensorData = bin.object({
|
|
79
80
|
iim_acc_data: AccelerationData, // AccelerationData
|
|
80
81
|
gnss_data: GNSS_DATA, // GNSS_DATA
|
|
82
|
+
loadcell_data: Loadcell, // Loadcell
|
|
81
83
|
});
|
|
82
84
|
export const spec = {
|
|
83
|
-
AccelerationData: {
|
|
84
|
-
schema: AccelerationData,
|
|
85
|
-
enums: {},
|
|
86
|
-
},
|
|
87
85
|
SensorData: {
|
|
88
86
|
port: 3001,
|
|
89
87
|
schema: SensorData,
|
|
90
88
|
enums: {
|
|
91
89
|
iim_acc_data: {},
|
|
92
90
|
gnss_data: {},
|
|
91
|
+
loadcell_data: {},
|
|
93
92
|
},
|
|
94
93
|
},
|
|
95
94
|
};
|