Purpose:
The steering board allows the driver to control important features of the vehicle as listed below:
...
The steering board is critical because it implements necessary safety features that the car needs such as the horn, signals, and lights. It is also critical to racing comfort by implementing cruise control, radio and regen braking.
Implementation:
The steering project will consist of three C files. main.c
, steering_analog_task.c
, steering_digital_task.c
.
...
data for analog_signal: 8 bytes (4 empty, 4 filled) (note that these are just example values and may not appear in the car itself)
0x00000000FFEEDDCC
4th byte: example of possible light id
3rd byte: example of possible state for on/off
2nd byte: example of another possible light id
1st byte: example of state for right/left signal
digital_signal:
The digital_signal CAN message will send two bytes: horn, cruise control (toggle on/off, increase speed, decrease speed).
From left to right, first byte will be the state of the horn. Second byte should be the cruise control command.
0x000000000000FFEE
2nd byte: example of horn state
1st byte: example of cruise control command
Info |
---|
Disclaimer: Project design is based off old MSXIV steering project (https://github.com/uw-midsun/firmware_xiv/tree/master/projects/steering headed by Avery Chiu) and is subject to change for future cars. Please see firmware leads for most up to date design. |