UMSAE-Formula-Electric / SCU

Sensor Control Unit
0 stars 0 forks source link

Migrate Wheel Speed Code #25

Closed Sedkian closed 9 months ago

Sedkian commented 10 months ago

This task includes:

Here are some guidelines:

  1. Create a new branch on SCU. Name it 'wheelSpeed'.
  2. On the sensor squid repo, check what pins are being used. This can be done using CubeMX or by looking through the code.
  3. On the SCU check if those pins are free and can be used. If they are being used, then you need to find alternative pins.
  4. Migrate the code and match the pins between the older ones on the sensor squid and the new ones on the SCU.
  5. Make sure the SCU has NO conflicts between the pins and make sure that the SCU builds with no erros or warnings.
moram03 commented 9 months ago

Rewrote the wheel speed code. Much of the code was simplified as it either provided functionality not currently possible to implement in current SCU project or obscured the code/the purpose was unclear.

NOTE: Overflow case was not considered, it is highly likely that it may need to be added for proper functionality