Use native LinuxCNC homing and consolidate web panel status
This commit is contained in:
@@ -22,8 +22,8 @@ page.on("dialog", async (dialog) => { dialogs.push({ type: dialog.type(), messag
|
||||
const main = page.locator("main.axis-app");
|
||||
const state = () => main.evaluate((element) => ({
|
||||
source: element.dataset.axisStateSource,
|
||||
machine: element.querySelector(".machine-state")?.textContent?.trim(),
|
||||
operation: element.querySelector(".operation-state")?.textContent?.trim(),
|
||||
machine: `Machine ${element.dataset.axisStateMachine}`,
|
||||
operation: `Operation ${element.dataset.axisStateOperation}`,
|
||||
program: element.dataset.axisProgramStatus,
|
||||
line: element.dataset.axisCurrentLine,
|
||||
queue: element.dataset.axisTpQueueDepth,
|
||||
|
||||
Reference in New Issue
Block a user