Team997Coders / pyswerve_2024

0 stars 0 forks source link

fixing parameters in the init_motor function #76

Open feverittm opened 3 months ago

feverittm commented 3 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.

Note that this patch is only applied to the Wilsonville branch. We need to merge a bunch of changes into the master branch.