KSU-MS / KS6e-VCU-firmware

CURRENT KS6E VCU code
1 stars 0 forks source link

refactor calculate_torque #28

Closed mathbrook closed 6 months ago

mathbrook commented 7 months ago

currently the calculate torque function is written pretty very poorly, for example some of the variables that will set the torque to ZERO are not accessible by anything else because they only exist in the function. refactor it and the pedals class as necessary to improve readability/code quality/“visibility” of what the function does