Updated to include optional chassis correction.

This commit is contained in:
thenetworkgrinch
2023-04-08 13:33:02 -05:00
parent f5aabb594f
commit 67c5980cbc
114 changed files with 367 additions and 257 deletions

View File

@@ -209,7 +209,7 @@ public class SwerveModule
*/
public void setAngle(double angle)
{
angleMotor.setReference(angle, configuration.moduleSteerFFCL);
angleMotor.setReference(angle, 0);
lastState.angle = Rotation2d.fromDegrees(angle);
}