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

Handle hardware failure #2

Open
sigtot opened this issue Mar 23, 2019 · 0 comments
Open

Handle hardware failure #2

sigtot opened this issue Mar 23, 2019 · 0 comments
Milestone

Comments

@sigtot
Copy link
Owner

sigtot commented Mar 23, 2019

The elevator state currently contains no concept of hardware failure. That is, when turning the elevator off, the elevator controller just assumes it's safely in the same state as it was in the moment of failed. We should somehow poll for the uptime of the elevator and figure out if it is in this invalid state. One consequence of this is that the elevator will keep "delivering" orders it isn't really able to deliver.

When the elevator reaches "above" or "below" the top and bottom floors, it can also be in this invalid state.

@sigtot sigtot added this to the FAT milestone Mar 25, 2019
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

No branches or pull requests

1 participant