-
Notifications
You must be signed in to change notification settings - Fork 2
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
Clear error 40 before robot load #722
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #722 +/- ##
=======================================
Coverage 86.87% 86.87%
=======================================
Files 100 100
Lines 6902 6905 +3
=======================================
+ Hits 5996 5999 +3
Misses 906 906
|
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.
Nice one! One very very minor comment, take it or leave it
@@ -122,6 +122,11 @@ def do_robot_load( | |||
demand_energy_ev: float | None, | |||
thawing_time: float, | |||
): | |||
error_code = yield from bps.rd(composite.robot.error_code) | |||
# Reset robot if light curtains were tripped |
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 should fix issue #505, where error 40 represents a common error of tripping the light curtains, and thus should be cleared before robot load.
Requires #722