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
Feature/display state manager #838
Conversation
…mouth_display_feature
…mouth_display_feature
…mouth_display_feature
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.
Looks good. Only found two small problems.
mycroft/client/enclosure/mouth.py
Outdated
| yOffset = event.data.get("yOffset", yOffset) | ||
| clearPrevious = event.data.get("clearPrev", clearPrevious) | ||
|
|
||
| # clearAfter = int(cleartAfter) # convert clearAfter to 0 or 1 |
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.
Extra code commented
|
|
||
|
|
||
| def run(): | ||
| """ TODO: document |
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.
Perhaps rename to initiate_ws or initiate_display_manager_ws (like it was imported as) and make the doc string the comment written near the function ("initiates the web sockets on display manager").
|
Changes made |
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.
Looks good now. Should probably get one more set of eyes on this in case I missed something.
|
I think that would be better change the |
|
There's also a git conflict that needs to be resolved. |
|
Let's merge this next release (the one after July 6th) along with the changes to Enclosure, etc. |
This pull request will implement a persistent clock that is displayed on the MarkI faceplate. It also has a display state manager which allows mycroft core the ability to know which skill currently using the markI faceplate
A few dependencies are needed for this to work
mycroft-core/requirements.txt
pillow==4.1.1
sudo apt-get install python-dev
sudo apt-get install libjpeg-dev
skill-date-time also needs to be merged from dev into masters
MycroftAI/enclosure - need to merge display-update and install-script-fix into the master branch of enclosure and upload code into the arduino