Commit 17293d4
docs: document abort_velocity_threshold interaction with the stop threshold
Per review feedback: the velocity abort is evaluated on the same filtered
velocity signal as stop detection (IsStopped = velocity < StopVelocityThreshold),
so the two gates partition one velocity axis in opposite directions. Document that
abort_velocity_threshold must stay >= the operative StopVelocityThreshold (else a
locked stop instantly aborts), and that because StopVelocityThreshold is shaped
(60->8 via the GAIN updater) while the abort is a fixed absolute, the abort may
only be enabled where the stop gate is already floored below it. Add the matching
rationale where the grid stages set 15 against their static stop threshold of 8.
Docstring only; schema/*.json and Generated.cs must be regenerated on the rig.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 834948e commit 17293d4
2 files changed
Lines changed: 19 additions & 2 deletions
File tree
- src/packages
- aind_behavior_vr_foraging_curricula/src/aind_behavior_vr_foraging_curricula/single_site
- aind_behavior_vr_foraging/src/aind_behavior_vr_foraging
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
210 | 222 | | |
211 | 223 | | |
212 | 224 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
154 | 159 | | |
155 | 160 | | |
156 | 161 | | |
| |||
0 commit comments