From 3eef07ca7a144f04d9de4e6f531c389a3e39194f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 13:06:14 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- socs/agents/hwp_supervisor/agent.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/socs/agents/hwp_supervisor/agent.py b/socs/agents/hwp_supervisor/agent.py index a207200b7..9f0fafac3 100644 --- a/socs/agents/hwp_supervisor/agent.py +++ b/socs/agents/hwp_supervisor/agent.py @@ -1637,16 +1637,16 @@ def brake(self, session, params): """ if params['fast']: state = ControlState.FastBrake( - freq_tol=params['freq_tol'], - freq_tol_duration=params['freq_tol_duration'], - brake_voltage=30., + freq_tol=params['freq_tol'], + freq_tol_duration=params['freq_tol_duration'], + brake_voltage=30., ) else: state = ControlState.Brake( freq_tol=params['freq_tol'], freq_tol_duration=params['freq_tol_duration'], brake_voltage=params['brake_voltage'], - ) + ) action = self.control_state_machine.request_new_action(state) action.sleep_until_complete(session=session) return action.success, f"Completed with state: {action.cur_state_info.state}"