You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, each module has single, static instances of its data (threads, semaphores, variables, etc).
Proposed Improvement
For modularity, it would be better to wrap the context for a module into a struct (similar to the way the STM32 HAL does handles for CAN, I2C, etc). This has been done for some newer modules already, but old modules don't follow this style and should be refactored to do so.
Tasks
Top level VCU.
Control thread.
Sensor thread.
APPS.
BPS.
Ready-to-drive.
Shutdown.
Watchdog.
Fault monitor / handler.
The text was updated successfully, but these errors were encountered:
Current Implementation
Currently, each module has single, static instances of its data (threads, semaphores, variables, etc).
Proposed Improvement
For modularity, it would be better to wrap the context for a module into a struct (similar to the way the STM32 HAL does handles for CAN, I2C, etc). This has been done for some newer modules already, but old modules don't follow this style and should be refactored to do so.
Tasks
The text was updated successfully, but these errors were encountered: