@kuriousdesign/machine-sdk 1.0.105 → 1.0.107
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,9 @@ 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,
|
|
114
|
+
MOVE_REL_CMD = 8
|
|
113
115
|
}
|
|
114
116
|
export declare function axisMethodIdToString(method: AxisMethods): string;
|
|
115
117
|
export declare enum AxisProcesses {
|
|
@@ -17,6 +17,8 @@ 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";
|
|
21
|
+
AxisMethods[AxisMethods["MOVE_REL_CMD"] = 8] = "MOVE_REL_CMD";
|
|
20
22
|
})(AxisMethods || (exports.AxisMethods = AxisMethods = {}));
|
|
21
23
|
function axisMethodIdToString(method) {
|
|
22
24
|
switch (method) {
|
|
@@ -34,6 +36,10 @@ function axisMethodIdToString(method) {
|
|
|
34
36
|
return "Start Stream";
|
|
35
37
|
case AxisMethods.STOP:
|
|
36
38
|
return "Stop";
|
|
39
|
+
case AxisMethods.SET_IS_HOMED:
|
|
40
|
+
return "Set isHomed";
|
|
41
|
+
case AxisMethods.MOVE_REL_CMD:
|
|
42
|
+
return "Move Relative Command";
|
|
37
43
|
default:
|
|
38
44
|
return "Unknown";
|
|
39
45
|
}
|
|
@@ -152,6 +152,7 @@ exports.initialRecipe = {
|
|
|
152
152
|
applicatorCollisionPayloadOffset: 0,
|
|
153
153
|
usesBrushTool: false,
|
|
154
154
|
brushToolSpeed_RPM: 0,
|
|
155
|
+
robotSpeedWhileBrushing: 0,
|
|
155
156
|
cleanerId: Cleaners.NONE,
|
|
156
157
|
cleanerString: exports.cleanerIdToStringMap.get(Cleaners.NONE) || "",
|
|
157
158
|
weighingFingerId: WeighingFingers.NONE,
|
package/package.json
CHANGED
|
@@ -166,7 +166,9 @@ 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,
|
|
171
|
+
MOVE_REL_CMD = 8
|
|
170
172
|
}
|
|
171
173
|
|
|
172
174
|
export function axisMethodIdToString(method: AxisMethods): string {
|
|
@@ -185,6 +187,11 @@ export function axisMethodIdToString(method: AxisMethods): string {
|
|
|
185
187
|
return "Start Stream";
|
|
186
188
|
case AxisMethods.STOP:
|
|
187
189
|
return "Stop";
|
|
190
|
+
case AxisMethods.SET_IS_HOMED:
|
|
191
|
+
return "Set isHomed";
|
|
192
|
+
case AxisMethods.MOVE_REL_CMD:
|
|
193
|
+
return "Move Relative Command";
|
|
194
|
+
|
|
188
195
|
default:
|
|
189
196
|
return "Unknown";
|
|
190
197
|
}
|
|
@@ -111,6 +111,7 @@ export interface RecipeData {
|
|
|
111
111
|
|
|
112
112
|
usesBrushTool: boolean;
|
|
113
113
|
brushToolSpeed_RPM: number;
|
|
114
|
+
robotSpeedWhileBrushing: number;
|
|
114
115
|
}
|
|
115
116
|
|
|
116
117
|
export enum CameraIds {
|
|
@@ -240,6 +241,7 @@ export const initialRecipe: RecipeData = {
|
|
|
240
241
|
applicatorCollisionPayloadOffset: 0,
|
|
241
242
|
usesBrushTool: false,
|
|
242
243
|
brushToolSpeed_RPM: 0,
|
|
244
|
+
robotSpeedWhileBrushing: 0,
|
|
243
245
|
cleanerId: Cleaners.NONE,
|
|
244
246
|
cleanerString: cleanerIdToStringMap.get(Cleaners.NONE) || "",
|
|
245
247
|
weighingFingerId: WeighingFingers.NONE,
|