Skip to content

Commit

Permalink
expand variables
Browse files Browse the repository at this point in the history
  • Loading branch information
linglejack06 committed Nov 18, 2024
1 parent 05a9f4b commit 5576674
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions wpilib_interface/src/main/java/frc/robot/BuildConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
}

0 comments on commit 5576674

Please sign in to comment.