diff --git a/src/main/java/frc/team2412/robot/subsystems/DrivebaseSubsystem.java b/src/main/java/frc/team2412/robot/subsystems/DrivebaseSubsystem.java index fa6a2f5d..612ff4ac 100644 --- a/src/main/java/frc/team2412/robot/subsystems/DrivebaseSubsystem.java +++ b/src/main/java/frc/team2412/robot/subsystems/DrivebaseSubsystem.java @@ -39,14 +39,18 @@ public class DrivebaseSubsystem extends SubsystemBase { // SWERVE CONSTANTS (that aren't in deploy dir) private static final double MAX_SPEED = - Robot.getInstance().getRobotType() == RobotType.PRACTICE + Robot.getInstance().getRobotType() == RobotType.BONK ? 2.0 - : Robot.getInstance().getRobotType() == RobotType.CRANE ? 3.0 : 1.0; + : Robot.getInstance().getRobotType() == RobotType.CRANE + ? 3.0 + : Robot.getInstance().getRobotType() == RobotType.PRACTICE ? 4.0 : 1.0; // distance from center of the robot to the furthest module private static final double DRIVEBASE_RADIUS = - Robot.getInstance().getRobotType() == RobotType.PRACTICE + Robot.getInstance().getRobotType() == RobotType.BONK ? 0.305328701 - : Robot.getInstance().getRobotType() == RobotType.CRANE ? 0.3937 : 0.3; + : Robot.getInstance().getRobotType() == RobotType.CRANE + ? 0.3937 + : Robot.getInstance().getRobotType() == RobotType.PRACTICE ? 0.3 : 0.3; private static final double JOYSTICK_DEADBAND = 0.05; private static final double HEADING_CORRECTION_DEADBAND = 0.005;