boons605 / MotoGymkhanaRaceTiming

3 stars 2 forks source link

Interact with gymkhana website #58

Closed CptMalfunction closed 1 year ago

CptMalfunction commented 3 years ago

For documentation on available endpojnts see timing.motogymkhana.nl/handleiding_scorebord.pdf.

At https://timing.motogymkhana.nl/ there is a web api that can show times and who is currently on track. We can populate this page by using the state from the racetracking endpoints available on the web api of the central unit.

We should implement a small auxiliary program that polls the web api of the central unit and posts results to the gymkhana website.

Acceptance criteria:

Notes: there does not appear to be a way to clear the board. Should we add such an endpoint and clear on startup?

boons605 commented 3 years ago

Up for discussion with Paul:

Why aren't DNFs or DSQs registered as time with the attribut 'DNF' or 'DSQ'? Wouldn't you want to have these times registered anyway? The rider has started and there should be some kind of evidence that this has taken place.

CptMalfunction commented 3 years ago

Up for discussion with Paul:

Why aren't DNFs or DSQs registered as time with the attribut 'DNF' or 'DSQ'? Wouldn't you want to have these times registered anyway? The rider has started and there should be some kind of evidence that this has taken place.

The penalty endpoint allows you to record dnfs and dsq's. Should really be in the acceptance criteria