Add dual canvas XYZBC and refined machine visualization
This commit is contained in:
@@ -159,6 +159,7 @@ export type PanelSnapshotV1 = {
|
||||
active_segment_id?: number | null;
|
||||
active_progress?: number;
|
||||
motion_trace?: Array<{ tick: number; pose: Record<string, number>; joints: number[]; active_segment_id: number; active_progress: number }>;
|
||||
machine_model?: XyzacMachineModel;
|
||||
source: "wasm_canonical_motion";
|
||||
};
|
||||
authoritative: Record<string, unknown>;
|
||||
@@ -169,6 +170,17 @@ export type PanelSnapshotV1 = {
|
||||
io?: Record<string, unknown>;
|
||||
};
|
||||
|
||||
export type XyzacMachineModel = {
|
||||
schema: "linuxcnc-vismach-model.v1";
|
||||
id: string;
|
||||
source: "linuxcnc-wasm-worker";
|
||||
source_path: string;
|
||||
source_hash: string | null;
|
||||
coordinate_system: "XYZAC";
|
||||
joints: string[];
|
||||
components: string[];
|
||||
};
|
||||
|
||||
export type Capabilities = {
|
||||
context_id?: string;
|
||||
abi?: Record<string, unknown>;
|
||||
|
||||
Reference in New Issue
Block a user