@kuriousdesign/machine-sdk 1.0.106 → 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.
|
@@ -110,7 +110,8 @@ export declare enum AxisMethods {
|
|
|
110
110
|
ENFORCE_RAIL_BRAKES = 4,
|
|
111
111
|
START_STREAM = 5,
|
|
112
112
|
STOP = 6,
|
|
113
|
-
SET_IS_HOMED = 7
|
|
113
|
+
SET_IS_HOMED = 7,
|
|
114
|
+
MOVE_REL_CMD = 8
|
|
114
115
|
}
|
|
115
116
|
export declare function axisMethodIdToString(method: AxisMethods): string;
|
|
116
117
|
export declare enum AxisProcesses {
|
|
@@ -18,6 +18,7 @@ var AxisMethods;
|
|
|
18
18
|
AxisMethods[AxisMethods["START_STREAM"] = 5] = "START_STREAM";
|
|
19
19
|
AxisMethods[AxisMethods["STOP"] = 6] = "STOP";
|
|
20
20
|
AxisMethods[AxisMethods["SET_IS_HOMED"] = 7] = "SET_IS_HOMED";
|
|
21
|
+
AxisMethods[AxisMethods["MOVE_REL_CMD"] = 8] = "MOVE_REL_CMD";
|
|
21
22
|
})(AxisMethods || (exports.AxisMethods = AxisMethods = {}));
|
|
22
23
|
function axisMethodIdToString(method) {
|
|
23
24
|
switch (method) {
|
|
@@ -37,6 +38,8 @@ function axisMethodIdToString(method) {
|
|
|
37
38
|
return "Stop";
|
|
38
39
|
case AxisMethods.SET_IS_HOMED:
|
|
39
40
|
return "Set isHomed";
|
|
41
|
+
case AxisMethods.MOVE_REL_CMD:
|
|
42
|
+
return "Move Relative Command";
|
|
40
43
|
default:
|
|
41
44
|
return "Unknown";
|
|
42
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
|
@@ -167,7 +167,8 @@ export enum AxisMethods {
|
|
|
167
167
|
ENFORCE_RAIL_BRAKES = 4,
|
|
168
168
|
START_STREAM = 5,
|
|
169
169
|
STOP = 6,
|
|
170
|
-
SET_IS_HOMED = 7
|
|
170
|
+
SET_IS_HOMED = 7,
|
|
171
|
+
MOVE_REL_CMD = 8
|
|
171
172
|
}
|
|
172
173
|
|
|
173
174
|
export function axisMethodIdToString(method: AxisMethods): string {
|
|
@@ -188,6 +189,8 @@ export function axisMethodIdToString(method: AxisMethods): string {
|
|
|
188
189
|
return "Stop";
|
|
189
190
|
case AxisMethods.SET_IS_HOMED:
|
|
190
191
|
return "Set isHomed";
|
|
192
|
+
case AxisMethods.MOVE_REL_CMD:
|
|
193
|
+
return "Move Relative Command";
|
|
191
194
|
|
|
192
195
|
default:
|
|
193
196
|
return "Unknown";
|
|
@@ -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,
|