Fix joystick drive math

- Remove math constants
- Replace ternaries
This commit is contained in:
nathanrsxtn
2021-11-18 21:35:36 -07:00
parent 8438bc6768
commit e1bf0ff1cd
2 changed files with 3 additions and 37 deletions
@@ -285,8 +285,4 @@ public final class Constants {
public static final int XBOX_OPERATOR_ID = 1;
public static final int BUTTON_FOX_ID = 2;
}
public static final class MathConstants {
public static final double PI_2 = Math.PI / 2;
}
}