public final static int RIGHT_STICK_LEFT_SILVER_BUTTON = 0;
public final static int RIGHT_STICK_RIGHT_SILVER_BUTTON = 0;
public final static int RIGHT_STICK_THUMB_BUTTON = 0;
-
}
public static class DriveTrain {
thumbButton = new JoystickButton(rightJoystick,
Constants.OI.RIGHT_STICK_THUMB_BUTTON);
+ thumbButton = new JoystickButton(rightJoystick,
+ Constants.OI.RIGHT_STICK_THUMB_BUTTON);
+
}
}
boolean triggerPressed = Robot.oi.rightJoystick.getTrigger();
boolean leftSidePressed = Robot.oi.leftSilverButton.get();
boolean rightSidePressed = Robot.oi.rightSilverButton.get();
-
boolean thumbPressed = Robot.oi.thumbButton.get();
double currentWheelSpeed = Robot.shooter.getCurrentSpeed();
if (thumbPressed == true) {
System.out.println(Robot.shooter.getCurrentSpeed());
}
+
}
// Make this return true when this Command no longer needs to run execute()