Adds regenerative braking for both the acceleration and braking pedals.
Notes
Gotta clean up the pedal queue and document it. Currently, the accel pedal value is divided by 10 for no reason, then sent into the queue.
Test Cases
[ ] Test on car with motor controller unplugged
[ ] Test with TS active
To Do
[ ] Brake pedal based regen braking
Checklist
It can be helpful to check the Checks and Files changed tabs.
Please reach out to your Project Lead if anything is unclear.
Please request reviewers and ping on slack only after you've gone through this whole checklist.
[ ] No merge conflicts
[ ] All checks passing
[ ] Remove any non-applicable sections of this template
Changes
Adds regenerative braking for both the acceleration and braking pedals.
Notes
Gotta clean up the pedal queue and document it. Currently, the accel pedal value is divided by 10 for no reason, then sent into the queue.
Test Cases
To Do
Checklist
It can be helpful to check the
Checks
andFiles changed
tabs. Please reach out to your Project Lead if anything is unclear. Please request reviewers and ping on slack only after you've gone through this whole checklist.