hwp-supervisor: Add option to disable shutdown#1074
Conversation
temporarily disable spin check fix docs debug revert hwp gripper
mhasself
left a comment
There was a problem hiding this comment.
Definitely a useful thing. Can you please add (if not already in there):
- the "shutdown_enabled" value should appear in session.data.
- the update_shutdown task logs what value the user passed in (I don't think we'll see it in the logs, otherwise).
Also, is there a feed where this can be published? I vaguely remember that HWPSupervisor doesn't record much about the decisions it's making; consider starting this.
mhasself
left a comment
There was a problem hiding this comment.
Looks good to me -- one last minor thing:
If a user calls "update_shutdown" to set enable=false, that will not abort an active shutdown, right? User needs to also call cancel_shutdown. That fact should be added to the Task docstring.
Sorry for the delay in getting back to this.
|
@BrianJKoopman I'm not sure why the build is keep failing, it looks like it is related to latest pysmurf update? Could you take a look? |
Thanks for the ping. This should fix things: #1081 -- I expect to merge that when the build is complete in ~10 minutes. Then if you merge in the latest from |
Description
Added a option to disable shutdown on startup
Added a task to disable and re-enable shutdown non-temporarily.
Motivation and Context
Having these option is helpful for hwp expert to operate in irregular state.
For example, sometimes lakeshore or ups could have communication issue and we cannot monitor YBCO temperature or ups state, but hwp could be safe to operate.
How Has This Been Tested?
Tested at satp3 on June 9th 2026.
Types of changes
Checklist: