Skip to content

Commit ac0fcd7

Browse files
committed
fix: reach (not ground-lock) for relocating feet in single-leg/turn moves
Same fix as the gait closing steps, applied to more moves that declared a moving foot as a planted support: - high-knee-march: the descending knee-drive foot ("Switch") and the returning feet ("Down") are landing, not planted (was 0.40m planted-drift). - hip-abduction, hip-flexion-demo: the raised leg's foot lands during "Lower". - front-kick "Return", tendu "Close through the floor": the working foot returns/brushes home while the other stays planted. - box-step-taps "Right/Left down": the tapping foot lands. - quarter-turns: feet pivot to the new facing on each 90° turn (was 0.19m orbit-drift), like walk-cycle's about-face. Each keeps the true stance foot ground-locked and declares the moving foot a `reach: foot floor`. high-knee-march, hip-abduction, hip-flexion-demo, front-kick, tendu, quarter-turns are now warning-free. Eval: 1555/1555 checks both proportions; constraint warnings 146 -> 125. 397/397 tests pass.
1 parent 8223725 commit ac0fcd7

7 files changed

Lines changed: 23 additions & 12 deletions

spec/examples/box-step-taps.posecode

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ posecode exercise "Box step taps"
1414
hip_right: flex 0
1515
knee_right: flex 0
1616
ankle_right: plantarflex 0
17-
ground-lock: feet
17+
ground-lock: foot_left
18+
reach: foot_right floor
1819
cue "Return the right foot to the floor"
1920

2021
step "Left tap" 0.6s settle:
@@ -28,7 +29,8 @@ posecode exercise "Box step taps"
2829
hip_left: flex 0
2930
knee_left: flex 0
3031
ankle_left: plantarflex 0
31-
ground-lock: feet
32+
ground-lock: foot_right
33+
reach: foot_left floor
3234
cue "Back to the floor: keep a light, quick rhythm"
3335

3436
repeat 6

spec/examples/front-kick.posecode

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ posecode exercise "Front kick"
2323
step "Return" 0.6s settle:
2424
hip_right: flex 0
2525
knee_right: flex 0
26-
ground-lock: feet
26+
ground-lock: foot_left
27+
reach: foot_right floor
2728
cue "Set the foot back down to a fighting stance"
2829

2930
repeat 5

spec/examples/high-knee-march.posecode

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ posecode exercise "High-knee march"
1616
hip_left: flex 90
1717
knee_left: flex 90
1818
shoulder_right: flex 40
19-
pin: foot_right floor
19+
reach: foot_right floor
2020
cue "Plant and drive the left knee up"
2121

2222
step "Down" 0.6s settle:
2323
hip_left: flex 0
2424
knee_left: flex 0
2525
shoulder_right: flex 0
26-
ground-lock: feet
26+
reach: foot_left floor
27+
reach: foot_right floor
2728
cue "Return to a tall, ready stance"
2829

2930
repeat 6

spec/examples/hip-abduction.posecode

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ posecode exercise "Standing hip abduction"
99

1010
step "Lower" 1.6s settle:
1111
hip_right: abduct 0
12-
ground-lock: feet
12+
ground-lock: foot_left
13+
reach: foot_right floor
1314
cue "Lower the leg back to the midline"
1415

1516
repeat 10

spec/examples/hip-flexion-demo.posecode

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ posecode stretch "Hip flexion (ROM demo)"
99

1010
step "Lower" 2.5s settle:
1111
hip_right: flex 0
12-
ground-lock: feet
12+
ground-lock: foot_left
13+
reach: foot_right floor
1314
cue "Lower the leg back under the hip"
1415

1516
repeat 4

spec/examples/quarter-turns.posecode

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ posecode posture "Quarter turns"
88
ankles: plantarflex 20
99
shoulders: abduct 30
1010
turn: 90
11-
ground-lock: feet
11+
reach: foot_left floor
12+
reach: foot_right floor
1213
cue "Small dip and pivot a quarter-turn to the right"
1314

1415
step "Face back" 1s flow:
@@ -17,7 +18,8 @@ posecode posture "Quarter turns"
1718
ankles: plantarflex 0
1819
shoulders: abduct 0
1920
turn: 180
20-
ground-lock: feet
21+
reach: foot_left floor
22+
reach: foot_right floor
2123
cue "Rise, then pivot another quarter-turn to face the back"
2224

2325
step "Face left" 1s flow:
@@ -26,7 +28,8 @@ posecode posture "Quarter turns"
2628
ankles: plantarflex 20
2729
shoulders: abduct 30
2830
turn: 270
29-
ground-lock: feet
31+
reach: foot_left floor
32+
reach: foot_right floor
3033
cue "Dip and pivot again to face the far side"
3134

3235
step "Face front" 1s settle:
@@ -35,7 +38,8 @@ posecode posture "Quarter turns"
3538
ankles: plantarflex 0
3639
shoulders: abduct 0
3740
turn: 360
38-
ground-lock: feet
41+
reach: foot_left floor
42+
reach: foot_right floor
3943
cue "Rise and complete the circle, back to front"
4044

4145
repeat 3

spec/examples/tendu.posecode

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ posecode exercise "Tendu"
1818
ankle_right: plantarflex 0
1919
shoulders: abduct 0
2020
elbows: flex 0
21-
ground-lock: feet
21+
ground-lock: foot_left
22+
reach: foot_right floor
2223
cue "Draw the foot back to first position, heel down"
2324

2425
repeat 4

0 commit comments

Comments
 (0)