Open jlashner opened 4 weeks ago
Thank you so much for doing this quickly. Yes, we can test this.
I have a question. Do you plan to implement the constraints between gripper and ACU by implementing it directly in the gripper agent? Or do you plan to add gripper control in the supervisor function?
@ykyohei My intention is to implement grip / ungrip procedures (or at least a wrapper for the gripper agent ops) in the supervisor, and to add the acu checks here. That will be the next PR.
I tested the acu_check in daq-dev and made small debugs. I believe it's working now.
Great, thanks Kyohei!
I just implemented Matthew's suggestion for acquiring the last_updated timestamp from ACU session data, and also added a brief section to the docs on ACU safety checks that we can expand as we add the gripper operations and checks.
This PR adds a check of the ACU elevation before allowing for spinup of the HWP.
Description
Adds ACU state information to the
HWPState
class. This state info is used by the control-stateupdate
function to check the ACU elevation and last update time before enabling spin-up.Motivation and Context
Motivation is described in Kyohei's discussion here: https://github.com/simonsobs/daq-discussions/discussions/96.
How Has This Been Tested?
This has not yet been tested! @ykyohei can we test this on one of the SATs? To test at a safe elevation, we can raise the
acu_min_el
param.Types of changes
Checklist: