DBC-4-c49fcda8cb923e16a1d219508a992632c0be20c0: [SOFT-452] Regen braking toggling: MCI (#416)
·
60 commits
to master
since this release
Implemented the regen braking on MCI side by - Adding a regen braking state in regen_braking.c - Making test cases in test_regen_braking.c to ensure the functionality of regen_braking.c - Adding the internal regen_brake state to mci_output.c to set the current to zero when regen is diabled and the target velocity is less than the current velocity. - Added additional test cases to 'test_mci_output.c` to test all driving and pedal modes both when regen barking is enabled and disabled.