aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-events.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-09-10 00:27:30 -0600
committerSelene ToyKeeper2017-09-10 00:27:30 -0600
commitb7d8faa65451a5c71b5b619c605e8623ecd627dc (patch)
treeb957013fd4737cf729bd7da6689e6df948cce0c2 /spaghetti-monster/fsm-events.h
parentRewrote gradual_tick(). Is smaller, better, and safer now. (diff)
downloadanduril-b7d8faa65451a5c71b5b619c605e8623ecd627dc.tar.gz
anduril-b7d8faa65451a5c71b5b619c605e8623ecd627dc.tar.bz2
anduril-b7d8faa65451a5c71b5b619c605e8623ecd627dc.zip
Made thermal regulation slightly more prediction-heavy, less noisy at stable state, and slightly smaller.
Added a bit of overflow protection since I think I saw it overflow with the prediction weight increased. Uses immediate temperature (instead of avg) for lowpass reset, to make it less noisy at stable state. (more trigger-happy reset switch biases it toward inaction) Avoid using volatile var, to reduce space. Overflow prevention also caps the maximum adjustment step, which should slightly help prevent overshooting the target.
Diffstat (limited to 'spaghetti-monster/fsm-events.h')
0 files changed, 0 insertions, 0 deletions