Skip to content
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

Always try to unlock the Connector, as long as the relays are not on #962

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

ydankner
Copy link
Contributor

@ydankner ydankner commented Nov 13, 2024

Describe your changes

This is a followup to a previous attempt. The idea is the is_locked variable and the physical lock might be out of sync. In this MR I'm trying to unconditionally unlock the lock, as long as the relays are open.

Additionally, I'm ensuring that we always lock in check_connector_lock if the relays are on.

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

Yonatan Dankner added 2 commits November 13, 2024 16:15
…always lock with open relays.

Signed-off-by: Yonatan Dankner <[email protected]>
Signed-off-by: Yonatan Dankner <[email protected]>
@lategoodbye
Copy link

@ydankner The word "Contactor" in the pull request subject is confusing. Is it possible you meant "connector" or "plug lock"?

@ydankner ydankner changed the title Always try to unlock the Contactor, as long as the relays are not on Always try to unlock the Connector, as long as the relays are not on Nov 21, 2024
@ydankner
Copy link
Contributor Author

@ydankner The word "Contactor" in the pull request subject is confusing. Is it possible you meant "connector" or "plug lock"?

Yes, thanks :)

Copy link
Contributor

@corneliusclaussen corneliusclaussen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic seems correct to me

@hikinggrass hikinggrass merged commit 6c9fffc into EVerest:main Dec 3, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants