Team997Coders / pyswerve_2024

0 stars 0 forks source link

Fix motor init in hardware.py #75

Closed feverittm closed 7 months ago

feverittm commented 7 months ago

Another bug that could be causing weird behavior in the robot. The hardware function for 'init_motor' was supposed to set the ramp rate and the current limit. However, from what appears to be a cut-paste error, the current code was just setting the one ramp rate to the other values which would cause the motors to act weird.

I have updated the code to fix these defects and it should be merged in when possible.