Skip to content

Commit

Permalink
Switched line order in brake logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryce Bixler committed Aug 12, 2024
1 parent a99fcd6 commit 10e670d
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 10e670d

Please sign in to comment.