DalFSAE / DalFSAE/high-voltage-controller

Refactor for Hardware V3.0

Open
#57 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

# Summary

Refactor the HVC code, to prepare for hardware revision 3.0

## Justification

While some of the HVC code is good, much of it was made while under a time crunch. Now is a good opportunity to plan out and improve the codebase.

## Refactor

- [ ] Precharge sequence
- [ ] Relay control
- [ ] CAN and UART logging -> Provide a cleaner interface, that can be used for debugging and logging
- [ ] app_main -> convert to simple state machine, to prepare for BMS code

## Specifications

- Remove any direct calls to the hardware from the program logic
- Create a IO / relay control interface
- Add basic unit testing

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.