Added Torque Calcs for different drive states. Added computation for translated ERPM to RPM and RPM to MPH for torque limiting. Converted C++ code to hopefully working c code from old cerb. Added Torque limiting inputs via paddles when in efficiency mode
To Do
regen still needs to be done if were gonna try that
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.
[ ] All commits are tagged with the ticket number
[ ] No merge conflicts
[ ] All checks passing
[ ] Remove any non-applicable sections of this template
[ ] Assign the PR to yourself
[ ] Request reviewers & ping on Slack
[ ] PR is linked to the ticket (fill in the closes line below)
Changes
Added Torque Calcs for different drive states. Added computation for translated ERPM to RPM and RPM to MPH for torque limiting. Converted C++ code to hopefully working c code from old cerb. Added Torque limiting inputs via paddles when in efficiency mode
To Do
regen still needs to be done if were gonna try that
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.Closes #141 (issue #)