summaryrefslogtreecommitdiff
path: root/altoslib/AltosRotation.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-04-21 16:17:26 -0700
committerKeith Packard <keithp@keithp.com>2018-04-26 19:24:21 -0700
commitb478d3c3569d2f9df50b0030197468d14af67688 (patch)
tree723356b0d6d58312f2bc86d318215900e97e91b7 /altoslib/AltosRotation.java
parenta414a32f86c9d8a2c5f576898c0f0dc75263ff85 (diff)
altos: Use max of 64 previous orient values when checking pyro limits
Instead of checking just a single measurement to see if the orientation is outside of the desired limits, use the maximum of 64 previous values to that rapidly changing orientation won't accidentally enable a pyro channel if sampled at the 'wrong time'. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosRotation.java')
0 files changed, 0 insertions, 0 deletions