Commit 1373aa7
committed
fix: don't flag a locomotion stance foot's roll/swing as a failed flat plant
The clip grounding checks use static-pose thresholds, but a stance foot in a
traveling clip is never statically flat: it rolls onto its ball as the body
passes (toe planted, heel lifts = push-off), and at each step transition the
pin alternates a beat before the landing foot is actually down (both heel and
toe briefly airborne = swing). Both are correct gait, not grounding artifacts.
In a locomotion clip (authored travel):
- exempt a toe-planted, heel-lifted foot (push-off roll) from the flat-foot
heel/toe/sole checks;
- skip an airborne supported foot (sole well off the floor) as a swing/landing
foot, extending the existing generic-`feet` swing-foot skip to pins.
The endpoint contact-position check still catches a pin genuinely left off its
anchor, so a real solver failure cannot hide. Static clips (squat, deadlift,
plank, plié) keep the strict flat-foot bar. Cleared the large gait
phase-transition heel/float warnings (box-step 0.121m -> 0.029m); constraint
warnings 118 -> 109. 397/397 tests pass.1 parent ff861a4 commit 1373aa7
2 files changed
Lines changed: 34 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
| |||
195 | 198 | | |
196 | 199 | | |
197 | 200 | | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
202 | 211 | | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
208 | 219 | | |
209 | 220 | | |
210 | 221 | | |
| |||
220 | 231 | | |
221 | 232 | | |
222 | 233 | | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
223 | 243 | | |
224 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
225 | 247 | | |
226 | 248 | | |
227 | 249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
849 | | - | |
| 849 | + | |
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
| |||
0 commit comments