Northeastern-Electric-Racing / Cerberus

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

Can handler #63

Closed HamzaIqbal69 closed 11 months ago

HamzaIqbal69 commented 1 year ago

Made an Rtos task to handle the routing of CAN messages. Wasn't able to implement any of the code generation stuff for the callbacks, for now when a new callback is needed it will just need to be added to the array of callbacks.

nwdepatie commented 1 year ago

This does not build sadly, we are gonna need another revision to at least address the build issues

nwdepatie commented 1 year ago

Lot of general formatting stuff that I'm not gonna go through and nitpick everything. I think that I'll go back and reformat once I set up an automation for that

nwdepatie commented 12 months ago

Note: I removed the hash map for the reason that it should be a later optimization, not for MVP. We just need something that works for now. We can make a ticket to implement it later

nwdepatie commented 12 months ago

Also note that we have to redo some CAN driver stuff, seems like it wasn't fully implemented, especially in terms of linking callbacks that a developer defines and sending messages.