Commit b8ce08195fdd657f0b66af55a39316633f3b0b7b

Authored by Greg Sandstrom
1 parent 19752cd144
Exists in main

tweak paddle_moving logic so that anything above moving_torque threshold is cons…

…idered moving, even if reported torque is static

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

ssa/alarm/alarmist.py View file @ b8ce081
... ... @@ -152,7 +152,7 @@
152 152 # Check three last points to see if paddle is moving
153 153 paddle_moving = (
154 154 torque > float(self.config["thresholds"]["moving_torque"])
155   - ) and (torque != previous_torque or previous_torque != previouser_torque)
  155 + ) or (torque != previous_torque or previous_torque != previouser_torque)
156 156 # check if coolant is flowing
157 157 (coolant_flow_rate, _) = self.soars_state.get(
158 158 "coolant_flow_rate", (0.0, None)