Northeastern-Electric-Racing / Cerberus

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

[Monitoring] - Change Fusing and Shutdown Loop Monitor CAN Messages to Bitwise #118

Closed nwdepatie closed 6 months ago

nwdepatie commented 6 months ago

Description

Right now our shutdown loop and fusing monitors 1 boolean per byte. This is inefficient, and our CAN decoder in Linux allows for bitwise operations to be made

Acceptance Criteria

Changes to both the CAN messages sent by the two tasks to bitwise rather than byte by byte

Proposed Solution

This should be done by manually bitshifting a buffer value and then copying that over to the CAN message to be sent. Also changing the CAN message length to account for this