diff --git a/wpilib_interface/src/main/java/coppercore/wpilib_interface/DriveWithJoysticks.java b/wpilib_interface/src/main/java/coppercore/wpilib_interface/DriveWithJoysticks.java index 92616ea..ed44082 100644 --- a/wpilib_interface/src/main/java/coppercore/wpilib_interface/DriveWithJoysticks.java +++ b/wpilib_interface/src/main/java/coppercore/wpilib_interface/DriveWithJoysticks.java @@ -53,7 +53,8 @@ public void execute() { public Translation2d getLinearVelocity(double x, double y) { double[] deadbands = Deadband.twoAxisDeadband(x, y, joystickDeadband); - double xDeadband = deadbands[0], yDeadband = deadbands[1]; + double xDeadband = deadbands[0]; + double yDeadband = deadbands[1]; double magnitude = Math.hypot(xDeadband, yDeadband); /* joystick x/y is opposite of field x/y diff --git a/wpilib_interface/src/main/java/frc/robot/BuildConstants.java b/wpilib_interface/src/main/java/frc/robot/BuildConstants.java index 0e7c24f..d0d87a3 100644 --- a/wpilib_interface/src/main/java/frc/robot/BuildConstants.java +++ b/wpilib_interface/src/main/java/frc/robot/BuildConstants.java @@ -5,13 +5,13 @@ public final class BuildConstants { public static final String MAVEN_GROUP = "com.github.team401"; public static final String MAVEN_NAME = "wpilib_interface"; public static final String VERSION = "0.0"; - public static final int GIT_REVISION = 37; - public static final String GIT_SHA = "0d3c48454d755dbeb88995f042eab953dea7f3ad"; - public static final String GIT_DATE = "2024-11-18 15:51:15 EST"; + public static final int GIT_REVISION = 38; + public static final String GIT_SHA = "05a9f4bc4c7a1a520f8134a8735bca511f8ef504"; + public static final String GIT_DATE = "2024-11-18 15:53:10 EST"; public static final String GIT_BRANCH = "drive-command"; - public static final String BUILD_DATE = "2024-11-18 15:53:01 EST"; - public static final long BUILD_UNIX_TIME = 1731963181407L; - public static final int DIRTY = 0; + public static final String BUILD_DATE = "2024-11-18 18:48:10 EST"; + public static final long BUILD_UNIX_TIME = 1731973690360L; + public static final int DIRTY = 1; private BuildConstants() {} }