Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dash light if any NOT main code is on the car #7

Open
jstri114 opened this issue Apr 26, 2023 · 1 comment
Open

Dash light if any NOT main code is on the car #7

jstri114 opened this issue Apr 26, 2023 · 1 comment

Comments

@jstri114
Copy link

Could include a single parameter for each board which would sent out a CAN packet indicating if any code currently running on the car is untested. Whenever code has been tested and verified to not break the car, the CAN packet would be enabled, broadcasting a "code is MAIN" message. Would just be a unique ID for each board, with all of the boards on CAN 1 being sent to VCU to get repeated onto CAN 2. The dash would then turn a light OFF if any message is being received, indicating that the code is current. This would also allow us to see which board has untested code on it, and save time instead of having to reupload code onto every single board each time the car goes out.

The OK message must be received to turn the light off, which keeps false "OK" messages being interpreted (i.e. the code being tested kills the CANBUS and thus no message would get to the dash)

@mathbrook
Copy link
Member

this could probably be done with a build flag in platformio so its automatically decided based on the branch name at compile time 🥸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants