Giter VIP home page Giter VIP logo

f1-led-circuit's People

Contributors

codingingreen avatar ijager avatar

Watchers

 avatar Sjors de Wit avatar

f1-led-circuit's Issues

Select Temperature Sensor

Zandvoort dataset for testing

For the data pulled from https://openf1.org/

Attached is are the data points for the x, y, and z coordinates as well as the corresponding timestamp for Max Verstappen's results from the 2023 Dutch Grand Prix.

zandvoort_data.csv

Here is how I generated this data:
https://github.com/CodingInGreen/f1-led-circuit-track-data

I attempted to plot the data here:
https://github.com/CodingInGreen/f1-led-circuit-track-plot/blob/main/zandvoort_track.png

But as you can see the plot doesn't represent anything close to the actual track's form.

There are positive and negative integers as the x and y coordinates, so we need to find the origin (0,0) for this data.

There is a separate project that is successfully mapping the data to the form of the track, it's open source, but they haven't yet built out the track for Zandvoort so you can see in this example if you select the 2023 race for the Zandvoort track the 3D car drives around without a track:
https://www.f1nsight.com/
https://github.com/adityakotha03/F1nsight

We discussed the possibility of live data streaming over Wifi. The owner of the openf1 repository says that there IS access to real-time data during the race.

br-g/openf1#46

Add a CI

  • Checks formatting
  • Run cargo tests
  • Builds firmware

Select LED

We want to use addressable LEDs.

As far as we know there are two versions:

  • Neopixel (WS2812, WS2813...)
  • APA102
  • ... Maybe there others?

They work with different protocols.

To make a selection we should make an overview of the available parts and figure out the differences between them.

  • dimensions
  • power requirements
  • maximum daisy chained length?
  • protocol
  • Are they recommended for new designs (by the manufacturer)?
  • ...

Adam's board #2 defective

Board labeled #2. LEDs light up through U67. Routing between U67 and U68 may be defective, as U68 through U96 do not light up.

Formulate Requirements

Currently, we know the high level requirements vaguely. But we should write them down in a detailed and testable/measurable way.

Mapping Zandvoort track data to led positions

I first output to a .csv file the coordinates for the x,y positions of the LED footprints from KiCad. I set the origin to be offset by the KiCad x, y coordinate of the bottom left PCB edge corner, so that we'd be dealing with only positive x and y coordinates.

This is the script to get that data:
https://github.com/JitterCompany/f1-led-circuit/blob/master/kicad/x_y_led_coords_zandvoort/get_x_y_from_origin.py

I then output to a .csv file the dataset from the race data from Max Verstappen's 2023 Dutch Grand Prix at Zandvoort using program:
https://github.com/CodingInGreen/f1-led-circuit-track-data/blob/main/src/main.rs

I then plotted that data using this program:
https://github.com/CodingInGreen/f1-led-circuit-track-plot/blob/main/src/main.rs

Which gave me this plot:
https://github.com/CodingInGreen/f1-led-circuit-track-plot/blob/main/zandvoort_track_adjusted.png

I then normalized the x,y coordinates of the output from the KiCad led footprint positions to the track data using this program:
https://github.com/CodingInGreen/f1-led-circuit-normalize-data/blob/master/src/main.rs

And plotted the led positions using this program:
https://github.com/CodingInGreen/f1-led-circuit-plot-leds/blob/master/src/main.rs

Which gave me this plot:
https://github.com/CodingInGreen/f1-led-circuit-plot-leds/blob/master/led_plot_adjusted.png

The next step correlate the led positions with the track data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.