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

Enable dynamic speed in show_player and post elapsed time for a sequence_shot completion #1702

Merged
merged 5 commits into from
Jul 7, 2023

Conversation

cobra18t
Copy link
Collaborator

@cobra18t cobra18t commented Jul 3, 2023

The speed parameter of a show_player did not allow dynamic placeholders. This change allows a show to be played using a variable speed.

It also adds the elapsed time from start to completion of a sequence shot. This can be used in troubleshooting sequence_shot timeouts or for estimating ball speed. The elapsed time is posted in the sequence shot "hit" event so that it can be easily used to trigger other things like a speed calculation.

Both of these enable a concept for an "airspinner"--a virtual spinner that measures ball speed using switches and uses LED strips or rings to create a strobing or spinning effect.

@sonarcloud
Copy link

sonarcloud bot commented Jul 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@cobra18t cobra18t marked this pull request as ready for review July 4, 2023 17:38
@toomanybrians toomanybrians merged commit 5f06c19 into missionpinball:dev Jul 7, 2023
12 checks passed
toomanybrians added a commit to missionpinball/mpf-docs that referenced this pull request Jul 7, 2023
avanwinkle added a commit to avanwinkle/mpf that referenced this pull request Dec 30, 2023
avanwinkle added a commit to avanwinkle/mpf that referenced this pull request Feb 4, 2024
avanwinkle added a commit to avanwinkle/mpf that referenced this pull request Feb 22, 2024
avanwinkle added a commit that referenced this pull request Feb 22, 2024
Eval placeholder args in show update method (from #1702)
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.

None yet

2 participants