Commit Graph
7 Commits
Author SHA1 Message Date
midnight-masalaandClaude Sonnet 5 e7a9c2b140 Add live per-step form feedback based on joint angles
Extends pose angle tracking with knee bend (hip-knee-ankle), then uses
it alongside the existing elbow/shoulder angles in a new
PoseStageAdvisor to give a short live cue for whichever step of the
approach is in progress: push-away on step 2, downswing on step 3,
backswing on step 4, and knee-bend/arm-extension on the final step.
Thresholds are starting defaults, not measured coaching data, and are
expected to be retuned against real approach footage.

Also fixes a layout bug found while testing this live: the new
feedback text was chained via ConstraintLayout's toBottomOf to the
step banner above it, so whenever that banner was hidden (GONE) the
feedback text rendered at its collapsed zero-height position instead
of staying put, landing on top of the recording indicator. Both now
sit in a plain vertical LinearLayout, which collapses GONE children
correctly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 21:22:11 +08:00
midnight-masalaandClaude Sonnet 5 2bb7c6ca7b Add live final-position feedback and fix step detection accuracy
Shows a live banner as each step of the approach is counted, ending in
"FINAL POSITION - RELEASE!" once the 5th footfall lands. Also fixes
LiveStepDetector's peak-prominence check, which compared a candidate
footfall only to its immediate neighboring frame and silently dropped
real steps that landed across several closely-spaced frames; it now
tracks the true rise/fall trough on each side instead. Switches
PoseAnalyzer to ML Kit's faster base pose model (the accurate model was
starving the peak detector of frames on unaccelerated hardware), and
makes LiveStepDetector's stillness-based reset toggleable, currently
off for easier testing against recorded reference clips.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 20:58:03 +08:00
DefiantWanderer 905400a59a Step counter test1 2026-08-14 18:16:55 +08:00
DefiantWanderer 5d07c8c8bd Smoother skeleton 2026-08-13 19:54:48 +08:00
DefiantWanderer e05aca3312 Angle update 2026-08-12 12:46:33 +08:00
DefiantWanderer 18fe809d4a Debugging linkage stuff 2026-08-11 19:58:07 +08:00
DefiantWanderer 8d4535ff00 Initial commit 2026-08-11 19:46:54 +08:00