fix(pose): swap chirality only, default on
CI build oscope-of / build-check (push) Has been cancelled

User-confirmed live: ARBodyTracker Vision chirality arrives inverted
vs the mirrored view. HAND_SWAP_LR now inverts the chirality mapping
inside route_hands (cx fallback untouched, it is already screen
relative) and defaults to 1. Also: HandPersistenceGate greedy-match
limitation documented + malformed-entry guard (review follow-ups).
This commit is contained in:
L'électron rare
2026-07-02 11:00:25 +02:00
parent e20a4d130a
commit 32cdfa0d3e
6 changed files with 40 additions and 27 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ Toujours répondre en français à l'utilisateur. Code, commentaires de code, co
| `PINCH_DEBOUNCE_FRAMES` | `3` | consecutive qualifying frames before a pinch engage fires (release stays immediate); `1` disables |
| `HAND_CONF_MIN` | `0.45` | min Vision hand confidence to draw (raised from 0.3; applies to both overlay and side panels) |
| `HAND_PERSIST_FRAMES` | `3` | consecutive frames a hand track must match before being drawn (1 = off, all hands drawn immediately) |
| `HAND_SWAP_LR` | `0` | swap the two routed hand slots (gestures + panels). Safety knob: set `1` live if the iPhone app's camera config inverts Vision chirality — fixes the L/R direction without redeploy |
| `HAND_SWAP_LR` | `1` | invert the Vision chirality interpretation when routing hands (gestures + panels); cx fallback untouched. Default `1`: ARBodyTracker chirality arrives inverted vs the mirrored view (observed live 2026-07-02); set `0` if a future app build fixes it at source |
| `HAND_NEAR_MIN` | `0.10` | Minimum wrist-to-middle-MCP distance (normalised) for a hand to trigger pinch/strike. Hands smaller than this are gated out. Display panels are unaffected |
| `ARKIT_BONE_MAX` | `0.5` | max ARKit body bone length in normalized units; longer bones are skipped (tracking-loss garbage filter) |