BT410 5.3.92a: reconcile two stale claims in MECH2.NOTES.md
The slot-map section added in 5.3.92 corrected two things the doc still asserted higher up: that gimpStrideLength is authored negative (the sign is applied at measurement) and that animationClips is sized AnimationCount (it is AnimationSlotCount, 0x21). Both now agree with the correction rather than leaving a reader to hit the stale version first. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -60,10 +60,11 @@ conjunctions would give a mech that stutters between gaits on noisy input.
|
|||||||
|
|
||||||
## Two things that read wrong and are not
|
## Two things that read wrong and are not
|
||||||
|
|
||||||
**`gimpStrideLength` is authored NEGATIVE.** The cycle time computed from it
|
**`gimpStrideLength` is NEGATIVE.** The cycle time computed from it comes out
|
||||||
comes out negative and is folded positive before being spent (binary
|
negative and is folded positive before being spent (binary @0x4a6c6e /
|
||||||
@0x4a6c6e / @0x4a6d3d). The fold is not defensive coding — remove it and the
|
@0x4a6d3d). The fold is not defensive coding — remove it and the cycle plays
|
||||||
limp plays backwards.
|
backwards. (The sign is applied at MEASUREMENT, not authored into the data —
|
||||||
|
see the slot map below.)
|
||||||
|
|
||||||
**States 16–19 on the body channel are the REVERSE gait, not a limp**, despite
|
**States 16–19 on the body channel are the REVERSE gait, not a limp**, despite
|
||||||
sharing the `gimpSpeedMax` / `gimpCycleRate` caps. While the demand stays
|
sharing the `gimpSpeedMax` / `gimpCycleRate` caps. While the demand stays
|
||||||
@@ -105,8 +106,9 @@ state: `legStateAlarm` / `bodyStateAlarm` (`AlarmIndicator` — read the state
|
|||||||
with `GetLevel`, the binary's mech+0x3b0 / +0x728 are mirrors of the alarm
|
with `GetLevel`, the binary's mech+0x3b0 / +0x728 are mirrors of the alarm
|
||||||
level, so no separate int is kept), `legCycleSpeed`, `bodyCycleSpeed`,
|
level, so no separate int is kept), `legCycleSpeed`, `bodyCycleSpeed`,
|
||||||
`forwardCycleRate`, `gimpCycleRate`, `standSpeed`, `gimpSpeedMax`,
|
`forwardCycleRate`, `gimpCycleRate`, `standSpeed`, `gimpSpeedMax`,
|
||||||
`gimpStrideLength`, `globalTimeScale`, and `animationClips[AnimationCount]`.
|
`gimpStrideLength`, `globalTimeScale`, and `animationClips[AnimationSlotCount]`
|
||||||
41 ints carved from `reservedState`, 191 → 150.
|
(0x21 — see the correction below). 41 ints carved from `reservedState`,
|
||||||
|
191 → 150.
|
||||||
|
|
||||||
`walkStrideLength`, `reverseStrideLength`, `reverseSpeedMax` and
|
`walkStrideLength`, `reverseStrideLength`, `reverseSpeedMax` and
|
||||||
`bodyTargetSpeed` were already present from the Phase 5.3 locomotion work and
|
`bodyTargetSpeed` were already present from the Phase 5.3 locomotion work and
|
||||||
|
|||||||
Reference in New Issue
Block a user