@kuriousdesign/machine-sdk 1.0.104 → 1.0.106

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.
@@ -109,7 +109,8 @@ export declare enum AxisMethods {
109
109
  MOVE_OP_MIN_MAX = 3,
110
110
  ENFORCE_RAIL_BRAKES = 4,
111
111
  START_STREAM = 5,
112
- STOP = 6
112
+ STOP = 6,
113
+ SET_IS_HOMED = 7
113
114
  }
114
115
  export declare function axisMethodIdToString(method: AxisMethods): string;
115
116
  export declare enum AxisProcesses {
@@ -17,6 +17,7 @@ var AxisMethods;
17
17
  AxisMethods[AxisMethods["ENFORCE_RAIL_BRAKES"] = 4] = "ENFORCE_RAIL_BRAKES";
18
18
  AxisMethods[AxisMethods["START_STREAM"] = 5] = "START_STREAM";
19
19
  AxisMethods[AxisMethods["STOP"] = 6] = "STOP";
20
+ AxisMethods[AxisMethods["SET_IS_HOMED"] = 7] = "SET_IS_HOMED";
20
21
  })(AxisMethods || (exports.AxisMethods = AxisMethods = {}));
21
22
  function axisMethodIdToString(method) {
22
23
  switch (method) {
@@ -34,6 +35,8 @@ function axisMethodIdToString(method) {
34
35
  return "Start Stream";
35
36
  case AxisMethods.STOP:
36
37
  return "Stop";
38
+ case AxisMethods.SET_IS_HOMED:
39
+ return "Set isHomed";
37
40
  default:
38
41
  return "Unknown";
39
42
  }
@@ -60,6 +60,8 @@ export interface RecipeData {
60
60
  cameraId: number;
61
61
  cameraString: string;
62
62
  cameraSpeed: number;
63
+ usesBrushTool: boolean;
64
+ brushToolSpeed_RPM: number;
63
65
  }
64
66
  export declare enum CameraIds {
65
67
  NONE = 0,
@@ -150,6 +150,8 @@ exports.initialRecipe = {
150
150
  applicatorToolId: ApplicatorTools.NONE,
151
151
  applicatorToolString: exports.applicatorToolIdToStringMap.get(ApplicatorTools.NONE) || "",
152
152
  applicatorCollisionPayloadOffset: 0,
153
+ usesBrushTool: false,
154
+ brushToolSpeed_RPM: 0,
153
155
  cleanerId: Cleaners.NONE,
154
156
  cleanerString: exports.cleanerIdToStringMap.get(Cleaners.NONE) || "",
155
157
  weighingFingerId: WeighingFingers.NONE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuriousdesign/machine-sdk",
3
- "version": "1.0.104",
3
+ "version": "1.0.106",
4
4
  "description": "Shared data types and helpers for machine-related repositories",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -166,7 +166,8 @@ export enum AxisMethods {
166
166
  MOVE_OP_MIN_MAX = 3,
167
167
  ENFORCE_RAIL_BRAKES = 4,
168
168
  START_STREAM = 5,
169
- STOP = 6
169
+ STOP = 6,
170
+ SET_IS_HOMED = 7
170
171
  }
171
172
 
172
173
  export function axisMethodIdToString(method: AxisMethods): string {
@@ -185,6 +186,9 @@ export function axisMethodIdToString(method: AxisMethods): string {
185
186
  return "Start Stream";
186
187
  case AxisMethods.STOP:
187
188
  return "Stop";
189
+ case AxisMethods.SET_IS_HOMED:
190
+ return "Set isHomed";
191
+
188
192
  default:
189
193
  return "Unknown";
190
194
  }
@@ -108,6 +108,9 @@ export interface RecipeData {
108
108
  cameraId: number;
109
109
  cameraString: string;
110
110
  cameraSpeed: number;
111
+
112
+ usesBrushTool: boolean;
113
+ brushToolSpeed_RPM: number;
111
114
  }
112
115
 
113
116
  export enum CameraIds {
@@ -235,6 +238,8 @@ export const initialRecipe: RecipeData = {
235
238
  applicatorToolId: ApplicatorTools.NONE,
236
239
  applicatorToolString: applicatorToolIdToStringMap.get(ApplicatorTools.NONE) || "",
237
240
  applicatorCollisionPayloadOffset: 0,
241
+ usesBrushTool: false,
242
+ brushToolSpeed_RPM: 0,
238
243
  cleanerId: Cleaners.NONE,
239
244
  cleanerString: cleanerIdToStringMap.get(Cleaners.NONE) || "",
240
245
  weighingFingerId: WeighingFingers.NONE,