Northeastern-Electric-Racing / Cerberus

Our FreeRTOS-based vehicle control application
1 stars 0 forks source link

[Monitoring] - Improve CAN Initialization #119

Closed nwdepatie closed 6 months ago

nwdepatie commented 6 months ago

Observed Behavior

CAN initialization is weird and sometimes produces faults and sometimes doesn't.

Expected Behavior

No faults during boot

Steps to Reproduce

Pretty sure the issue is that one of the RTOS tasks is initializing the CAN struct. We should have that happen in main and then pass the CAN struct to the tasks instead to make sure initialization happens sequentially every time

Screenshots (as needed)

No response