Skip to content

Commit

Permalink
removed commented constants
Browse files Browse the repository at this point in the history
  • Loading branch information
nootsquared committed Dec 6, 2024
1 parent cc5ce17 commit 908516b
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions src/main/java/frc/robot/physicalConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
import edu.wpi.first.math.util.Units;

public final class physicalConstants {
// public static final Mode currentMode = Mode.REAL;
// public static final double ROBOT_LOOP_PERIOD_SECS = 0;
// public static final double PIVOT_ZERO_ANGLE = 59;

public static final Mode currentMode = Mode.REAL;
public static final boolean tuningMode = true;
public static final String CANBUS = "CAN Bus 2";
Expand All @@ -40,40 +36,16 @@ public static class SwerveConstants {
}

public static class ModuleConstants {
// public static final double WHEEL_RADIUS_METERS = Units.inchesToMeters(3.9 / 2.);

public static final double DRIVE_GEAR_RATIO = 6.12;
public static final double TURN_GEAR_RATIO = 150.0 / 7.0;

// public static final double DRIVE_STATOR_CURRENT_LIMIT = 75.0;
// public static final boolean DRIVE_STATOR_CURRENT_LIMIT_ENABLED = true;
// public static final double DRIVE_SUPPLY_CURRENT_LIMIT = 42.0;
// public static final boolean DRIVE_SUPPLY_CURRENT_LIMIT_ENABLED = true;

// public static final double TURN_STATOR_CURRENT_LIMIT = 30.0;
// public static final boolean TURN_STATOR_CURRENT_LIMIT_ENABLED = true;
// public static final double TURN_SUPPLY_CURRENT_LIMIT = 30.0;
// public static final boolean TURN_SUPPLY_CURRENT_LIMIT_ENABLED = true;
}

public static class IntakeConstants {
public static final int CURRENT_LIMIT = 40;
// public static final int APPLIED_VOLTAGE = 12;
public static final boolean CURRENT_LIMIT_ENABLED = true;
}

public static final class shooterConstants {
// public static final double FEEDER_CURRENT_LIMIT = 40;
// public static final boolean FEEDER_CURRENT_LIMIT_ENABLED = true;

// public static final double FEEDER_THRESHOLD = 0;
// public static final double FEEDER_DIST = 1300;

// public static final double FLYWHEEL_CURRENT_LIMIT = 40;
// public static final boolean FLYWHEEL_CURRENT_LIMIT_ENABLED = true;

// public static final double FLYWHEEL_THRESHOLD = 200;
// public static final double FLYWHEEL_SHOOT_RPM = 3000;
}

public static class ElevatorConstants {
Expand All @@ -87,7 +59,6 @@ public static class ElevatorConstants {
public static final double[] PID = {0, 0, 0};

public static final double REDUCTION = (25.0 / 1.0);
// public static final double BAR_THRESHOLD = 3;
}

public static final class PivotConstants {
Expand All @@ -99,8 +70,7 @@ public static final class PivotConstants {
public static final double REDUCTION =
(15.0 / 1.0) * (34.0 / 24.0) * (24.0 / 18.0) * (50.0 / 14.0);
public static final double STOW_SETPOINT_DEG = 50.7;
// public static final double INTAKE_SETPOINT_DEG = 59.0;


public static final double PIVOT_ZERO_ANGLE = 59;
}

Expand Down

0 comments on commit 908516b

Please sign in to comment.