fossekall-interface 0.1.7 → 0.1.8

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.
@@ -60,4 +60,68 @@ export declare const actuators_solenoid_SolenoidStatus: import("typed-binary").O
60
60
  opening: import("typed-binary").ByteSchema;
61
61
  }>;
62
62
  export type actuators_solenoid_SolenoidStatus = bin.Parsed<typeof actuators_solenoid_SolenoidStatus>;
63
- export {};
63
+ export declare const spec: {
64
+ actuators_servo_ServoStatus: {
65
+ port: number;
66
+ schema: import("typed-binary").ObjectSchema<{
67
+ commanded_angle_deg: import("typed-binary").Float32Schema;
68
+ target_angle_deg: import("typed-binary").Float32Schema;
69
+ measured_angle_deg: import("typed-binary").Float32Schema;
70
+ current_ma: import("typed-binary").Float32Schema;
71
+ mode: import("typed-binary").ByteSchema;
72
+ power_state: import("typed-binary").ByteSchema;
73
+ }>;
74
+ enums: {
75
+ mode: {
76
+ readonly kUnknown: 0;
77
+ readonly kPosition: 1;
78
+ readonly kCalibrate: 2;
79
+ };
80
+ power_state: {
81
+ readonly kUnknown: 0;
82
+ readonly kOff: 1;
83
+ readonly kBooting: 2;
84
+ readonly kOn: 3;
85
+ };
86
+ };
87
+ };
88
+ BldcTelemetry: {
89
+ port: number;
90
+ schema: import("typed-binary").ObjectSchema<{
91
+ valve_position: import("typed-binary").Float32Schema;
92
+ motor_position: import("typed-binary").Float32Schema;
93
+ timestamp: UInt64Schema;
94
+ current_draw: import("typed-binary").Float32Schema;
95
+ u_p: import("typed-binary").Float32Schema;
96
+ u_i: import("typed-binary").Float32Schema;
97
+ u_d: import("typed-binary").Float32Schema;
98
+ u_pid: import("typed-binary").Float32Schema;
99
+ u_ff: import("typed-binary").Float32Schema;
100
+ u_set: import("typed-binary").Float32Schema;
101
+ u_total: import("typed-binary").Float32Schema;
102
+ position_raw: import("typed-binary").Float32Schema;
103
+ calibrated: import("typed-binary").ByteSchema;
104
+ }>;
105
+ enums: {};
106
+ };
107
+ actuators_solenoid_SolenoidStatus: {
108
+ port: number;
109
+ schema: import("typed-binary").ObjectSchema<{
110
+ power_state: import("typed-binary").ByteSchema;
111
+ opening: import("typed-binary").ByteSchema;
112
+ }>;
113
+ enums: {
114
+ power_state: {
115
+ readonly kUnknown: 0;
116
+ readonly kOff: 1;
117
+ readonly kOn: 2;
118
+ };
119
+ opening: {
120
+ readonly kUnknown: 0;
121
+ readonly kClosed: 1;
122
+ readonly kOpen: 2;
123
+ };
124
+ };
125
+ };
126
+ };
127
+ export default spec;
@@ -1,5 +1,5 @@
1
1
  import bin, { Measurer, Schema } from 'typed-binary';
2
- // This file was generated by FRICC on 2026-03-08 15:37:58. Do not edit manually!
2
+ // This file was generated by FRICC on 2026-03-19 09:39: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;
@@ -108,3 +108,27 @@ export const actuators_solenoid_SolenoidStatus = bin.object({
108
108
  power_state: bin.u8, // actuators::solenoid::PowerState
109
109
  opening: bin.u8, // actuators::solenoid::Opening
110
110
  });
111
+ export const spec = {
112
+ actuators_servo_ServoStatus: {
113
+ port: 5003,
114
+ schema: actuators_servo_ServoStatus,
115
+ enums: {
116
+ mode: actuators_servo_ServoMode,
117
+ power_state: actuators_servo_PowerState,
118
+ },
119
+ },
120
+ BldcTelemetry: {
121
+ port: 5000,
122
+ schema: BldcTelemetry,
123
+ enums: {},
124
+ },
125
+ actuators_solenoid_SolenoidStatus: {
126
+ port: 5004,
127
+ schema: actuators_solenoid_SolenoidStatus,
128
+ enums: {
129
+ power_state: actuators_solenoid_PowerState,
130
+ opening: actuators_solenoid_Opening,
131
+ },
132
+ },
133
+ };
134
+ export default spec;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fossekall-interface",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "API contracts between client and server (rocket and GUI)",
5
5
  "license": "ISC",
6
6
  "author": "Propulse",