Skip to content

Commit

Permalink
Merge pull request #37 from Team6083/organize_unused_subsystem
Browse files Browse the repository at this point in the history
remove unused subsystems
  • Loading branch information
Hannahjjj97 authored Feb 11, 2025
2 parents 97dcb62 + 30dd5f5 commit d251bfe
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 174 deletions.
23 changes: 0 additions & 23 deletions src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
package frc.robot;

public class Constants {

public static final class ClimberConstant {
public static final int kClimberSetpoint = 40;
public static final double kClimbDownSpeed = -0.35;
public static final Boolean kclimberMotorInverted = false;
public static final Boolean kclimberEncoderInverted = true;
}

public static final class CoralShooterConstant {
public static final int kOnboard = 0;
public static final double kDistanceRange = 4;
Expand All @@ -19,21 +11,6 @@ public static final class CoralShooterConstant {
public static final Boolean kCoralShooterMotorInverted = false;
}

public static final class AlgaeIntakeConstant {
public static final int kIntakeMotorChannel = 2;
public static final int kRotateMotorChannel = 1;
public static final double kIntakeVoltage = 6.0;
public static final double kReIntakeVoltage = 3.0;
public static final double kUpIntakeVoltage = 12.0;
public static final double kDownIntakeVoltage = -12.0;
public static final Boolean kIntakeMotorInverted = false;
public static final Boolean krotateIntakeMotorInverted = false;
}

public static final class RampConstant {
public static final Boolean rampmotorInverted = false;
}

public static final class PowerDistributionConstant {
// Motor channel
public static final int kCoralShooterRightMotorCurrentChannel = 7;
Expand Down
9 changes: 0 additions & 9 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,19 @@
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj2.command.Command;
import edu.wpi.first.wpilibj2.command.Commands;
import frc.robot.subsystems.AlgaeIntakeSubsystem;
import frc.robot.subsystems.ClimberSubsystem;
import frc.robot.subsystems.CoralShooterSubsystem;


public class RobotContainer {
private final ClimberSubsystem climberSubsystem;
private final AlgaeIntakeSubsystem algaeIntakeSubsystem;
private final CoralShooterSubsystem coralShooterSubsystem;
private final SendableChooser<Command> autChooser;

public RobotContainer() {
coralShooterSubsystem = new CoralShooterSubsystem();
climberSubsystem = new ClimberSubsystem();
algaeIntakeSubsystem = new AlgaeIntakeSubsystem();
autChooser = AutoBuilder.buildAutoChooser();
autChooser.setDefaultOption("DoNothing", Commands.none());
SmartDashboard.putData("CoralShooterSubsystem", coralShooterSubsystem);
SmartDashboard.putData("AutoChooser", autChooser);
SmartDashboard.putData("AlgaeIntakeSubsystem", algaeIntakeSubsystem);
SmartDashboard.putData("ClimberSubsystem", climberSubsystem);

configureBindings();
}

Expand Down
80 changes: 0 additions & 80 deletions src/main/java/frc/robot/subsystems/AlgaeIntakeSubsystem.java

This file was deleted.

62 changes: 0 additions & 62 deletions src/main/java/frc/robot/subsystems/ClimberSubsystem.java

This file was deleted.

0 comments on commit d251bfe

Please sign in to comment.