FirstLegoLeague / launcher

A launcher program to install and launch all the micro-services of the system
GNU General Public License v3.0
9 stars 15 forks source link

Possible API for external devices that start and stop the match timer. #156

Open thomasjosif opened 5 years ago

thomasjosif commented 5 years ago

Our school has been using your software for well over a year now, using it to run our FLL Qualifier here in Canada.

Something that we do differently than others is that we have custom controllers to help start and stop matches, as our line of sight from the scoring table and the field can be obscured at times. The system works as follows:

How we're currently interfacing with the timer is very hacky. We use Arduino's mouse library to control the timer through the web interface manually. We were hoping an API could be implemented so we could control the timer through an API, rather than using our current method.

Here's an image of our controllers

Thanks,

Thomas

taltaub22 commented 5 years ago

So I will refer @2roy999 as he allready implemented a remote control for the timer with a rpi to guide you about this.

But just so you know, you can use the clock API just as the clock client uses it and call it yourself

@alanggreen

alanggreen commented 5 years ago

@thomasjosif please email me at agreen@firstinspires.org. We use Slack for discussions and I want to send you an invitation

2roy999 commented 5 years ago

@thomasjosif The program already has it's API, and it's very possible doing what you describes. You would need to take in to your account few things:

Also you may also take a look on a proof of concept I which does something similar to what you want to do: https://github.com/2roy999/fll-buzzzer-server. If you have more question you can contact me in the salck channel (user: roysh9).