Skip to content

Commit

Permalink
Switch line order in HWP Supervisor brake logic (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbixler500 authored Aug 13, 2024
1 parent e7c86a4 commit 9da4ece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions socs/agents/hwp_supervisor/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,10 +957,10 @@ def check_acu_ok_for_spinup():
self.run_and_validate(clients.pid.set_direction,
kwargs=dict(direction=new_d))
self.run_and_validate(clients.pid.tune_stop)
self.run_and_validate(clients.pmx.set_on)

self.run_and_validate(clients.pmx.set_v, kwargs={'volt': state.brake_voltage})
self.run_and_validate(clients.pmx.ign_ext)
self.run_and_validate(clients.pmx.set_v, kwargs={'volt': state.brake_voltage})
self.run_and_validate(clients.pmx.set_on)

time.sleep(10)
self.action.set_state(ControlState.WaitForBrake(
Expand Down

0 comments on commit 9da4ece

Please sign in to comment.