-
Notifications
You must be signed in to change notification settings - Fork 4
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
Off state when motor power is off #8
base: master
Are you sure you want to change the base?
Conversation
I would still not merge it. There is an issue in Sardana when one power on/off the motor - see my tests . I also propose to return |
@reszelaz if the motor is off, the current state is Alarm, should it return False on the PreStartOne anyway? |
The client is still able to request the move if the motor is in Alarm. Then the |
add PreStartOne method to check if power is on or not
Hi @reszelaz , @rhomspuron, I want to resurrect this PR, can you continue the review ? |
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.
LGTM
Hi @reszelaz, In your test you reported that the Taurus widget does not work fine, is it solved? Roberto |
Hi @aureocarneiro , @ajoubertza, @rhomspuron I just opened https://gitlab.com/sardana-org/sardana/-/issues/1809 in Sardana to try to unblock this MR: it would help if you comment there with your experince about other motion controllers. |
This changes the state of each axis to Off when the motor power is off.
This relates to this change in the sardana docs: https://gitlab.com/sardana-org/sardana/-/commit/69c0c7ffc2863dd2d9b76344df119186d02684c0