-
Notifications
You must be signed in to change notification settings - Fork 78
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
Super timer II support. Fixes #206 #365
base: master
Are you sure you want to change the base?
Conversation
Also fixed an issue with the Java implementation (Found an off by one)
Cleaned up some TODO comments about the timeout since it was fixed already.
I've tested the new derby-timer.jar and can confirm that the Super Timer II was properly auto-detected and is registering the times. We just had our Pinewood Derby last weekend and the software our Scout Pack was using (RaceManager) looked challenging. Looking forward to using DerbyNet next year! |
Glad to hear your testing went well! I definitely found Race Manager challenging as well... |
This is an implementation of the SuperTimer II interface to work with DerbyNet. We ran at least 1 race (26 heats) with it and I fixed the couple issues that cropped up during the race.
I had to add a couple of odd quirks to handle SuperTimer since it only reports times it sees (DNFs are un-reported), and it also reports them on multiple lines. For this I added a partial lane result handling that joins two events. for the DNFs, I added a 'NO_MORE_RESULTS' event that will go through and post all un-marked lanes as a DNF time.
I also added support for a timer to control the post race/heat start timeout since this timer can control the timeout. I could not figure out how to integrate sending the command back to the timer to get it to update the track timeout with the webUI, but most of the logic is there in the HeatPreparation.
Fixes #206