Added last velocity init

This commit is contained in:
thenetworkgrinch
2023-03-06 21:19:01 -06:00
parent 1bebe8a5fd
commit 02666ce1c8

View File

@@ -121,6 +121,7 @@ public class SwerveModule
}
lastAngle = getState().angle.getDegrees();
lastVelocity = getState().speedMetersPerSecond;
}
/**