The LapTimeTrackerRC is a django-based app that helps me to controll lap times for individual RC cars.
The software runs with a single camera that uses image differentiation to identify when an RC car starts/finishes a lap.
Install the Requirements.txt file.
After instalation, run the migration to guarantee all the models are created properly:
python manage.py migrate
###Admin
To create an admin to manage all the data run:
python manage.py createsuperuser
You need to configure some information on the Web/LapTracker/lapTracker.py file:
Parameters | Description |
---|---|
raspberryCamera | If you are using the RaspberryPi camera |
minimumLapTime | Minimum lap time in seconds |
initialConfigTime | Minimum time for initial calibration in seconds |
finalImageSize | Size of the telemetry image (pixels) |
videoDevice | ID of the camera used by the system if using a usb/integrated camera |
Make sure you have a camera connected to the machine, and update the configurations above. Run the webserver:
python manage.py runserver
Go to your browser and open the following link: http://127.0.0.1:8000/Web
Fill in the Car Name and the Track Distance and start the session.
The system collects data about the lap time and the average velocity. All the collected data is saved inside the /static/sessions folder as a .csv file.
Any problems or doubts, please contact me: pablovin@gmail.com