Enforce LinuxCNC WASM authority for XYZAC frontend

This commit is contained in:
2026-09-02 07:43:47 +08:00
parent c60e3a1e8f
commit 6b689fd69e
36 changed files with 514 additions and 210 deletions

View File

@@ -26,6 +26,12 @@ export type MotionSnapshot = {
limits?: number | Record<string, boolean>;
on_any_limit?: boolean;
fault?: string | null;
velocity_limit?: number;
velocity_scale?: number;
jog_scale?: number;
jog_velocity_linear?: number;
jog_velocity_angular?: number;
spindle_override?: number;
};
export type TrajectorySnapshot = {
@@ -62,6 +68,8 @@ export type SimSnapshotV1 = {
kinematics?: XyzacKinematicsSnapshot;
xyzac?: XyzacCapabilitySnapshot;
gates?: Record<string, { action: string; enabled: boolean; reason: string }>;
motion_authority?: string;
task_authority?: string;
};
export type XyzacKinematicsSnapshot = {