From 57bd25237514fe6d0a739376a3ad45d0b45ed1e7 Mon Sep 17 00:00:00 2001 From: Adriano Dal Pastro Date: Mon, 11 May 2026 17:23:29 +0200 Subject: [PATCH] fix(gui+api): cleanup before merge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Rename "TrovaUtensile" tab → "Cerca modello". - Remove the "Precisione (ultime 5 detection)" stats panel and the "Dettagli" JSON dump from the grasp tab; keep hidden stubs so the existing app.js continuous-loop code doesn't null-deref. - Add work_plane_routes to api/__init__.py imports + __all__ (consistency with the other routers). - Trim the misleading "drag = pan · wheel = zoom · doppio click = reset" hint from the Calibrazione Piano RGB label — pan/zoom isn't wired. - Disable wpClearBtn initially so it doesn't flash clickable before fetchSaved() resolves. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/presa_mano/api/__init__.py | 2 ++ web/index.html | 26 +++++++++++--------------- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/src/presa_mano/api/__init__.py b/src/presa_mano/api/__init__.py index 4a3a3f1..830b132 100644 --- a/src/presa_mano/api/__init__.py +++ b/src/presa_mano/api/__init__.py @@ -11,6 +11,7 @@ from . import ( perception_routes, posture_routes, robot_routes, + work_plane_routes, wrist_routes, ) @@ -23,5 +24,6 @@ __all__ = [ "perception_routes", "posture_routes", "robot_routes", + "work_plane_routes", "wrist_routes", ] diff --git a/web/index.html b/web/index.html index 0f5fea8..e6e9c98 100644 --- a/web/index.html +++ b/web/index.html @@ -14,7 +14,7 @@ - + @@ -187,7 +187,7 @@ -
RGB live · shift+drag = ROI · drag = pan · wheel = zoom · doppio click = reset
+
RGB live · shift+drag = ROI

Vista 3D (frame camera)

@@ -209,7 +209,7 @@
- +
@@ -265,21 +265,17 @@ -

Precisione (ultime 5 detection)

- - - - - + +
+ 5 +
assemedia [m]σ [mm]range [mm]minmax
- -
x—————
y—————
z—————
-
loop: inattivo
- -

Dettagli

-
(nessuna detection)
+ +
+

+