-
Notifications
You must be signed in to change notification settings - Fork 15
Bug fixes to get hwp_supervisor working for satp1 #657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Ah thanks for this bryce... I see this bug has always been there, but this commit I added after kyohei's test seemed to introduce the call that raises the error. @ykyohei I wonder why you're not currently seeing this issue... is it possible you're still running a dev version of the supervisor? This looks good to me, but it looks like one of the tests is failing because the dataclass |
|
Actually, satp3 also saw this problem. We updated the image today, and immediately encountered this issue, the test I did for latest PR was not good. Sorry about that. This fix is also helpful for satp3. |
|
satp3 also has high latency for pcu commands (tens of seconds). I don't think this is due to the different usb configuration. |
BrianJKoopman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem completely superseded by #658. The fixes to the process names in the PMX and PID agents would be good to keep. Can you drop the kw_only related changes and keep the other fixes?

Modifications to the hwp_supervisor agent to get it working with the most recent docker images
Description
Renamed the pid monitoring process to
mainfromacqChanged the structure of the
ControlState.Base()class to allow for proper inheritanceMotivation and Context
When testing with the most recent docker images, the process
spin_controlcontinually crashes with the errorspin_control:1 CRASH: [Failure instance: Traceback: <class 'AttributeError'>: 'Idle' object has no attribute 'start_time'. Upon investigation the cause was found to be because of improper inheritance of the base classControlState.Base()How Has This Been Tested?
This was tested by running the agent on daq-satp1 and calling the functions:
pid_to_freq,brake,pmx_off,enable_driver_board, anddisable_driver_boardTypes of changes
Checklist: