-
Notifications
You must be signed in to change notification settings - Fork 143
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
Fast segment display update hz #1638
Fast segment display update hz #1638
Conversation
The SEG processor does not send responses for PA, PD, PS, and PC messages. Refactor serial communicator to not wait and timeout
default is updates every 0.03 secs (about 30 fps) adjust this in mpf/platforms/fast/fast.py line 350
COMMA!!!!!!!!!!!!
Added / fixed: * HZ update throttling * fixed color settings * FIxed display ordering
Update my branch with latest dev
Merge in latest missionpinball/mpf dev
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
self.net_connection.send('WD:' + str(hex(self.config['watchdog']))[2:]) | ||
except: |
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.
Why do we ignore all errors here? I am certain that this breaks the linter (which is not currently running in CI).
@@ -268,7 +276,7 @@ def process_received_message(self, msg: str, remote_processor: str): | |||
self.log.warning("Received malformed message: %s from %s", msg, remote_processor) | |||
return | |||
|
|||
# Can't use try since it swallows too many errors for now | |||
# Can't use try since it swallows too many errors for now #TODO |
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.
Double comment
|
||
if self.fast_segs: | ||
self._seg_task = self.machine.clock.schedule_interval(self._update_segs, | ||
1 / self.machine.config['fast'][ |
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.
Invalid indent. Please run a linter.
Updates the FAST Platform interface so that segment display updates are sent out at a configurable hz rate. Also updates some deprecated modules.