simonsobs / socs

Simons Observatory specific OCS agents.
BSD 2-Clause "Simplified" License
12 stars 12 forks source link

added handling of pid error response #686

Open bbixler500 opened 1 month ago

bbixler500 commented 1 month ago

Attempts to fix hwp pid error handling issues

Description

Occasionally the hwp pid controller will read an error value which it does not know how to handle, which will crash the monitoring process. This PR adds handling to this specific error code.

Motivation and Context

Issue described here (link)

How Has This Been Tested?

Briefly ran changes on satp1 hardware. Error rarely occurs, so was unable to verify correct handling explicitly.

Types of changes

Checklist:

BrianJKoopman commented 4 weeks ago

Added some reviewers. I expect we're all busy preparing for SPIE, but hopefully one of the three of us can review this soon.

jlashner commented 2 weeks ago

Hi @bbixler500, thanks for looking into this. I like your description of the problem here: https://github.com/simonsobs/chwp-discussions/discussions/20#discussioncomment-9610840. Can we add a description like this to the docs of this agent, and maybe a short inline comment in addition?

A few requests: