Skip to content

Conversation

@dchansen06
Copy link
Contributor

@dchansen06 dchansen06 commented Dec 31, 2025

Setup ECU CAN Middle-Layer

Problem and Scope

CAN is in progress in #31
State machine is in progress in #141
Need some way to populate those fields and have things ready for actual coding while URCA team is in progress

Description

Adds CAN handler style functionality intended to sit above the CAN peripheral abstraction and below the state machine and it's operations

Gotchas and Limitations

Fluid, likely to be heavily changed as the URCA and CAN Peripheral Abstraction change

Testing

  • HOOTL testing
  • HITL testing
  • Human tested

Testing Details

See #151

Larger Impact

Attempts to tie different things together

Additional Context and Ticket

See

@dchansen06 dchansen06 self-assigned this Dec 31, 2025
@dchansen06 dchansen06 added Documentation Improvements or additions to documentation Enhancement New feature or request CMake Anything related to or dealing with CMake 2 PRIORITY Important and a priority, but less than URGENT Small Fry Something that is small, could include bug fixes or smaller changes Peripheral Related to or involving a peripheral including abstractions Boards Related to or involving any physical boards labels Dec 31, 2025
@dchansen06 dchansen06 marked this pull request as draft December 31, 2025 23:06
@dchansen06 dchansen06 force-pushed the SetupECUsCANHandler branch from 98c93ee to ebe42e9 Compare January 1, 2026 00:52
@dchansen06 dchansen06 force-pushed the SetupECUsCANHandler branch from 2f900f0 to f327acb Compare January 1, 2026 01:48
dchansen06 and others added 4 commits January 5, 2026 01:12
…are edited from multiple directions, maybe down the road it would make sense but as of right now it does not save much since more things are being added and passed as the inherent state data than just its other bits (eg all the other things should be passed but it should not have to update a union / struct memory size and associated)
Copy link
Contributor Author

@dchansen06 dchansen06 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More CAN messages will likely need to be read at some point, those will have to be added at that point. For now this copies the data that most/all things needed for ECU-25

…ngaged and rtd_engaged to rtd_button_engaged
@dchansen06 dchansen06 linked an issue Jan 5, 2026 that may be closed by this pull request
@dchansen06 dchansen06 marked this pull request as ready for review January 5, 2026 09:33
@dchansen06 dchansen06 merged commit b1f040f into main Jan 5, 2026
26 checks passed
@dchansen06 dchansen06 deleted the SetupECUsCANHandler branch January 5, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 PRIORITY Important and a priority, but less than URGENT Boards Related to or involving any physical boards CMake Anything related to or dealing with CMake Documentation Improvements or additions to documentation Enhancement New feature or request Peripheral Related to or involving a peripheral including abstractions Small Fry Something that is small, could include bug fixes or smaller changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Middle-Layer of ECU State Data

1 participant