SwerveDriveSpecialties / Do-not-use-swerve-lib-2022-unmaintained

29 stars 76 forks source link

Change how module configuration gear ratios are specified #2

Closed JacobJBublitz closed 3 years ago

JacobJBublitz commented 3 years ago

Gear ratios used to be specified one stage at a time. This was intended to allow for the ability to dynamically determine whether or not to invert motors. However, not every type of reduction stage inverts the direction of motion. For example, a gear reduction changes the direction of motion while a belt and pulley reduction does not.