feat: sync axis task state parity work
This commit is contained in:
@@ -808,6 +808,12 @@ async function pathFromTaskHalExecution({ profile, staged, selectedPlan, executi
|
||||
programLines,
|
||||
}));
|
||||
taskHal.sendCommand({ type: "EMC_TASK_SET_STATE", state: "ON" });
|
||||
taskHal.sendCommand({ type: "EMC_JOINT_HOME", joint: -1 });
|
||||
taskHal.runCycles({
|
||||
taskPeriodNs: 10000000,
|
||||
servoPeriodNs: 1000000,
|
||||
taskCycles: 1,
|
||||
});
|
||||
taskHal.sendCommand({ type: "EMC_TASK_SET_MODE", mode: "AUTO" });
|
||||
taskHal.sendCommand({ type: "EMC_TASK_PLAN_RUN", line: 0 });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user