To be able to test the race tracking logic without hardware we need to be able to run a simulated race from a file of events. To be as realistic as possible this will need to have the following moving parts:
A main entry point where displays and sensors are initialized
RiderId and TimingUnit implementations that run on separate threads from the entry point
Dummy display classes that just write lines on the console for now
The RiderId and Timing units must be run from the same file so they can calculate how many seconds from the race start (first event) all of their events must be sent.
To be able to test the race tracking logic without hardware we need to be able to run a simulated race from a file of events. To be as realistic as possible this will need to have the following moving parts:
The RiderId and Timing units must be run from the same file so they can calculate how many seconds from the race start (first event) all of their events must be sent.