Use native LinuxCNC homing and consolidate web panel status
This commit is contained in:
@@ -28,7 +28,8 @@ async function create(id) {
|
||||
const loaded = send("LOAD_WORKSPACE", "workspace", { root_path: "/workspace", configuration: toWorkerConfiguration(bundle) });
|
||||
assert.equal(loaded.payload.status, "verified");
|
||||
assert.equal(send("POWER", "power-on", { active: true }).payload.status, "verified");
|
||||
assert.equal(send("HOME", "home-all", { all: true }).payload.wasm_home_limit.state.homed, true);
|
||||
assert.equal(send("HOME", "home-all", { all: true }).payload.homing.phase, "accepted");
|
||||
assert.equal(send("SIM_STEP", "home-complete", { cycles: 1 }).payload.panel_snapshot.motion.homed, true);
|
||||
return { core, session, send };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user