Complete XYZAC LinuxCNC WASM parity and smooth 3D preview
This commit is contained in:
436
coverage/xyzac-trt-tool-preview.report.json
Normal file
436
coverage/xyzac-trt-tool-preview.report.json
Normal file
@@ -0,0 +1,436 @@
|
||||
{
|
||||
"authority": "linuxcnc-wasm-worker",
|
||||
"browser_matrix": {
|
||||
"desktop": {
|
||||
"canvas_nonblank": true,
|
||||
"document_width": 1425,
|
||||
"nonzero_pixels": 499671,
|
||||
"sample_points": 438,
|
||||
"scroll_width": 1425,
|
||||
"status": "READY",
|
||||
"toolpath_segments": 29,
|
||||
"viewport": [
|
||||
1440,
|
||||
1000
|
||||
]
|
||||
},
|
||||
"machine_nodes_in_tool_preview": 0,
|
||||
"mobile": {
|
||||
"canvas_nonblank": true,
|
||||
"document_width": 390,
|
||||
"nonzero_pixels": 114080,
|
||||
"sample_points": 438,
|
||||
"scroll_width": 390,
|
||||
"status": "READY",
|
||||
"toolpath_segments": 29,
|
||||
"viewport": [
|
||||
390,
|
||||
844
|
||||
]
|
||||
}
|
||||
},
|
||||
"candidate_eligible": true,
|
||||
"canonical_source": "panel_snapshot.visual.toolpath",
|
||||
"case": {
|
||||
"path": "linuxcnc/configs/sim/axis/vismach/5axis/table-rotary-tilting/xyzac-trt.ini",
|
||||
"scope": "xyzac_only"
|
||||
},
|
||||
"exclusions": [
|
||||
"xyzbc",
|
||||
"3axis",
|
||||
"other cases",
|
||||
"Safari",
|
||||
"physical power loss",
|
||||
"host hardware"
|
||||
],
|
||||
"failure_samples": [],
|
||||
"known_blockers": [],
|
||||
"machine_preview": {
|
||||
"embedded": false,
|
||||
"separate_component": "web/react/src/XyzacMachineView.tsx"
|
||||
},
|
||||
"origin_coordinate_system": {
|
||||
"axes": [
|
||||
"X",
|
||||
"Y",
|
||||
"Z"
|
||||
],
|
||||
"labels": true,
|
||||
"origin": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"source": "xyzac-origin-coordinate-system"
|
||||
},
|
||||
"outputs": [
|
||||
{
|
||||
"path": "web/react/src/XyzacToolPreview.tsx",
|
||||
"sha256": "caca009f96336847c8d9b8d5823c3d7de86ed77c37cae2fe9f5f3e4d30132d57"
|
||||
},
|
||||
{
|
||||
"path": "web/react/src/xyzac-visual-adapter.ts",
|
||||
"sha256": "2e67bf4522ff87648d0b7de1f6fc447d51e780eed66c299d7f4bc3c35d7b33f8"
|
||||
},
|
||||
{
|
||||
"path": "web/worker/sim-session.mjs",
|
||||
"sha256": "7ce91549f0f3a06ff77db9ee281fd9544848f6e41e08f9da302ee2e7827194e3"
|
||||
},
|
||||
{
|
||||
"path": "web/worker/test_xyzac_exact_preview.mjs",
|
||||
"sha256": "dc5cc312aab46003e12a4bfc26d695b05d78843e61808c550cb4a5925338687b"
|
||||
},
|
||||
{
|
||||
"path": "web/worker/wasm-program-runtime.mjs",
|
||||
"sha256": "60da7b953ac4ee2659f2b05c6bb93b58c8d0c2c4b56363f6a93e44aab7aebb02"
|
||||
},
|
||||
{
|
||||
"path": "web/worker/wasm-motion-queue.mjs",
|
||||
"sha256": "85b53bf7a31b9b1f1e7e76dad4bf29aabb36defcf6344d34bbb192c157a80764"
|
||||
},
|
||||
{
|
||||
"path": "web/worker/wasm-xyzac-io.mjs",
|
||||
"sha256": "fdb92e8819e38010aa7a1b8f5f58473a930644fbfeba3d7d5a5c23e075ee92ca"
|
||||
},
|
||||
{
|
||||
"path": "web/worker/wasm-xyzac-device-io.mjs",
|
||||
"sha256": "1d813d59048afb6854b6fd7783dc86f65bf37ccc46f0d4f592b56cbe044211a5"
|
||||
},
|
||||
{
|
||||
"path": "web/worker/test_xyzac_machine_sequence.mjs",
|
||||
"sha256": "9dcd89d54596fe4b339d5aca4e028a0c44e173a8e646f1254defc706bd3fcc96"
|
||||
},
|
||||
{
|
||||
"path": "web/react/src/App.tsx",
|
||||
"sha256": "8cbec29f00c44e18a01ac92734e4f8b64764cc04db4cec48ce9c28693bd2bbef"
|
||||
},
|
||||
{
|
||||
"path": "web/react/src/styles.css",
|
||||
"sha256": "c39b6848f0c8d176991acb633206697bbc01bd8dbf28cba69afe605b1d7e6cb9"
|
||||
},
|
||||
{
|
||||
"path": "wasm-core/src/sim_task.c",
|
||||
"sha256": "06aa4ba015d863e1749cfe11877a82507fd6aff2c6922a114f30f6c8871b0b5b"
|
||||
},
|
||||
{
|
||||
"path": "wasm-core/src/sim_program.c",
|
||||
"sha256": "1ab97bbe8750d678b8cffebbad9cad44926285b627858cf2b1aad22da3e0457f"
|
||||
},
|
||||
{
|
||||
"path": "wasm-core/src/sim_posemath.c",
|
||||
"sha256": "2e63d8cc2bf4275a89238b2622b41dcd8dfabfe6d24ef5918628083a4f4f5216"
|
||||
}
|
||||
],
|
||||
"preview_mode": "tool_only",
|
||||
"projection": {
|
||||
"exact_program": {
|
||||
"arc_count": 4,
|
||||
"arc_turn": -3,
|
||||
"case": "linuxcnc/configs/sim/axis/vismach/5axis/table-rotary-tilting/xyzac-trt.ini",
|
||||
"clear_visual_only": true,
|
||||
"helix_details": [
|
||||
{
|
||||
"axial_delta": -5,
|
||||
"center": {
|
||||
"x": 20,
|
||||
"y": 20,
|
||||
"z": 10
|
||||
},
|
||||
"end": {
|
||||
"a": 20,
|
||||
"b": 0,
|
||||
"c": 45,
|
||||
"u": 0,
|
||||
"v": 0,
|
||||
"w": 0,
|
||||
"x": 10,
|
||||
"y": 20,
|
||||
"z": 5
|
||||
},
|
||||
"kind": "helix",
|
||||
"radius": 10,
|
||||
"samples": 97,
|
||||
"samples_source": "linuxcnc-wasm-sim_posemath_segment_point",
|
||||
"source_line": 67,
|
||||
"start": {
|
||||
"a": 20,
|
||||
"b": 0,
|
||||
"c": 45,
|
||||
"u": 0,
|
||||
"v": 0,
|
||||
"w": 0,
|
||||
"x": 10,
|
||||
"y": 20,
|
||||
"z": 10
|
||||
},
|
||||
"turns": 3
|
||||
},
|
||||
{
|
||||
"axial_delta": -5,
|
||||
"center": {
|
||||
"x": -20,
|
||||
"y": 20,
|
||||
"z": 10
|
||||
},
|
||||
"end": {
|
||||
"a": 20,
|
||||
"b": 0,
|
||||
"c": 45,
|
||||
"u": 0,
|
||||
"v": 0,
|
||||
"w": 0,
|
||||
"x": -30,
|
||||
"y": 20,
|
||||
"z": 5
|
||||
},
|
||||
"kind": "helix",
|
||||
"radius": 10,
|
||||
"samples": 97,
|
||||
"samples_source": "linuxcnc-wasm-sim_posemath_segment_point",
|
||||
"source_line": 67,
|
||||
"start": {
|
||||
"a": 20,
|
||||
"b": 0,
|
||||
"c": 45,
|
||||
"u": 0,
|
||||
"v": 0,
|
||||
"w": 0,
|
||||
"x": -30,
|
||||
"y": 20,
|
||||
"z": 10
|
||||
},
|
||||
"turns": 3
|
||||
},
|
||||
{
|
||||
"axial_delta": -5,
|
||||
"center": {
|
||||
"x": -20,
|
||||
"y": -20,
|
||||
"z": 10
|
||||
},
|
||||
"end": {
|
||||
"a": 20,
|
||||
"b": 0,
|
||||
"c": 45,
|
||||
"u": 0,
|
||||
"v": 0,
|
||||
"w": 0,
|
||||
"x": -30,
|
||||
"y": -20,
|
||||
"z": 5
|
||||
},
|
||||
"kind": "helix",
|
||||
"radius": 10,
|
||||
"samples": 97,
|
||||
"samples_source": "linuxcnc-wasm-sim_posemath_segment_point",
|
||||
"source_line": 67,
|
||||
"start": {
|
||||
"a": 20,
|
||||
"b": 0,
|
||||
"c": 45,
|
||||
"u": 0,
|
||||
"v": 0,
|
||||
"w": 0,
|
||||
"x": -30,
|
||||
"y": -20,
|
||||
"z": 10
|
||||
},
|
||||
"turns": 3
|
||||
},
|
||||
{
|
||||
"axial_delta": -5,
|
||||
"center": {
|
||||
"x": 20,
|
||||
"y": -20,
|
||||
"z": 10
|
||||
},
|
||||
"end": {
|
||||
"a": 20,
|
||||
"b": 0,
|
||||
"c": 45,
|
||||
"u": 0,
|
||||
"v": 0,
|
||||
"w": 0,
|
||||
"x": 10,
|
||||
"y": -20,
|
||||
"z": 5
|
||||
},
|
||||
"kind": "helix",
|
||||
"radius": 10,
|
||||
"samples": 97,
|
||||
"samples_source": "linuxcnc-wasm-sim_posemath_segment_point",
|
||||
"source_line": 67,
|
||||
"start": {
|
||||
"a": 20,
|
||||
"b": 0,
|
||||
"c": 45,
|
||||
"u": 0,
|
||||
"v": 0,
|
||||
"w": 0,
|
||||
"x": 10,
|
||||
"y": -20,
|
||||
"z": 10
|
||||
},
|
||||
"turns": 3
|
||||
}
|
||||
],
|
||||
"helix_validation": {
|
||||
"radius_mm": 10,
|
||||
"sample_points_per_helix": 97,
|
||||
"samples_source": "linuxcnc-wasm-sim_posemath_segment_point",
|
||||
"turns_per_helix": 3,
|
||||
"z_end": 5,
|
||||
"z_start": 10
|
||||
},
|
||||
"motion_mode_source": "linuxcnc-wasm-sim_program_canonical",
|
||||
"program_path": "linuxcnc/configs/sim/axis/vismach/5axis/table-rotary-tilting/demos/xyzac_switchkins.ngc",
|
||||
"rapid_count": 25,
|
||||
"restart_visual_segments": 29,
|
||||
"schema": "xyzac-exact-tool-preview.v1",
|
||||
"segment_count": 29,
|
||||
"source_hash": "fnv1a64:522e219683194ad2",
|
||||
"state_hash": "fnv1a64:c7e53444cce4a142",
|
||||
"status": "verified",
|
||||
"visual_segments": 29
|
||||
},
|
||||
"machine_sequence": {
|
||||
"active_progress": 0.09848857801796111,
|
||||
"active_segment_id": 4,
|
||||
"authority": {
|
||||
"home_limit": "wasm_home_limit",
|
||||
"io": "wasm_io",
|
||||
"motion": "wasm",
|
||||
"program": "linuxcnc-wasm-sim_program",
|
||||
"visual": "wasm_canonical_motion"
|
||||
},
|
||||
"case": "linuxcnc/configs/sim/axis/vismach/5axis/table-rotary-tilting/xyzac-trt.ini",
|
||||
"current_line_after_step": 68,
|
||||
"estop_queue_depth": 0,
|
||||
"full_run": {
|
||||
"cycles": 8000,
|
||||
"final_switchkins_type": 0,
|
||||
"program_status": "completed",
|
||||
"queue_depth": 0,
|
||||
"task_state": "STOPPED"
|
||||
},
|
||||
"home_joint_count": 5,
|
||||
"js_motion_unchanged": true,
|
||||
"live_axis_sample": {
|
||||
"a": 1.9697715603592223,
|
||||
"b": 0,
|
||||
"c": 4.43198601080825,
|
||||
"u": 0,
|
||||
"v": 0,
|
||||
"w": 0,
|
||||
"x": 10,
|
||||
"y": 20,
|
||||
"z": 10
|
||||
},
|
||||
"live_joints": [
|
||||
8.42458503579587,
|
||||
20.712530389342145,
|
||||
10.024505737045653,
|
||||
1.9697715603592223,
|
||||
4.43198601080825
|
||||
],
|
||||
"rtcp_active_type": 1,
|
||||
"rtcp_joint_pose_delta": [
|
||||
-1.5754149642041302,
|
||||
0.7125303893421453,
|
||||
0.02450573704565251,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"schema": "xyzac-machine-sequence.v1",
|
||||
"sequence": [
|
||||
"ESTOP",
|
||||
"ESTOP_RELEASE",
|
||||
"IO_RECOVER",
|
||||
"POWER",
|
||||
"HOME_ALL",
|
||||
"PROGRAM_RUN",
|
||||
"SIM_STEP"
|
||||
],
|
||||
"state_hash": "fnv1a64:c8f6326c97e651f9",
|
||||
"status": "verified"
|
||||
},
|
||||
"static": {
|
||||
"active_segment": 3,
|
||||
"canonical_toolpath_segments": 1,
|
||||
"joints": [
|
||||
11,
|
||||
-4,
|
||||
19,
|
||||
31,
|
||||
44
|
||||
],
|
||||
"machine_scene_nodes": 0,
|
||||
"schema": "xyzac-tool-preview-rtcp-10b.v1",
|
||||
"source": "linuxcnc-wasm-worker",
|
||||
"state_hash": "fnv1a64:tool-preview",
|
||||
"status": "verified",
|
||||
"tick": 12,
|
||||
"tool_pose": {
|
||||
"a": 31,
|
||||
"b": 0,
|
||||
"c": 44,
|
||||
"u": 0,
|
||||
"v": 0,
|
||||
"w": 0,
|
||||
"x": 11,
|
||||
"y": -4,
|
||||
"z": 19
|
||||
}
|
||||
}
|
||||
},
|
||||
"release_status": "STOP_RELEASE",
|
||||
"report_sha256": "94b18227ec72689934629a5b428cf6a9f16500d30b200d4b36a10d03c84c56b9",
|
||||
"schema": "xyzac-trt-tool-preview-report.v1",
|
||||
"status": "verified",
|
||||
"task_id": "RTCP-10-TOOL-PREVIEW",
|
||||
"tests": [
|
||||
{
|
||||
"command": [
|
||||
"node",
|
||||
"--experimental-strip-types",
|
||||
"web/react/src/test_xyzac_tool_preview.mjs"
|
||||
],
|
||||
"output_sha256": "26a7f3645c9ca6212fc5664e870eee5dff2a146bb71a1d14de6845e982cddf92",
|
||||
"returncode": 0
|
||||
},
|
||||
{
|
||||
"command": [
|
||||
"node",
|
||||
"web/worker/test_xyzac_exact_preview.mjs"
|
||||
],
|
||||
"output_sha256": "60cec025efd2f29de45fb6139f0929f329a505bd331212e6b01ab5fbb5f8fca8",
|
||||
"returncode": 0
|
||||
},
|
||||
{
|
||||
"command": [
|
||||
"node",
|
||||
"web/worker/test_xyzac_machine_sequence.mjs"
|
||||
],
|
||||
"output_sha256": "2a72e723603080bb3eff8169b8be5352fa46d6b0c8ae04dbeeb2e5e1371e1c47",
|
||||
"returncode": 0
|
||||
}
|
||||
],
|
||||
"three_d_controller": {
|
||||
"buttons": [
|
||||
"zoomIn",
|
||||
"zoomOut",
|
||||
"panLeft",
|
||||
"panRight",
|
||||
"panUp",
|
||||
"panDown",
|
||||
"reset"
|
||||
],
|
||||
"library": "three/examples/jsm/controls/OrbitControls",
|
||||
"pointer_controls": {
|
||||
"left_drag": "rotate",
|
||||
"right_or_middle_drag": "pan",
|
||||
"wheel": "zoom"
|
||||
},
|
||||
"source": "web/react/src/XyzacToolPreview.tsx"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user