Skip to content
This repository was archived by the owner on Jul 20, 2025. It is now read-only.

Commit 8e4b989

Browse files
committed
remove topStager motor
1 parent 94ced6c commit 8e4b989

File tree

4 files changed

+0
-7
lines changed

4 files changed

+0
-7
lines changed

src/main/java/frc/robot/Constants.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,5 @@ public static class constShooter {
5151

5252
public static class constStager {
5353
public static final double STAGER_MOTOR_VELOCITY = 0.3;
54-
public static final double TOP_STAGER_MOTOR_VELOCITY = 0.3;
5554
}
5655
}

src/main/java/frc/robot/commands/EjectShooter.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ public void execute() {
4444
if ((globalShooter.getPropelMotorVelocity() >= Constants.constShooter.PROPEL_MOTOR_VELOCITY_EJECT_REQUIREMENT)
4545
&& globalShooter.getSpiralMotorVelocity() >= Constants.constShooter.SPIRAL_MOTOR_VELOCITY_EJECT_REQUIREMENT) {
4646
globalStager.setStagerMotorVelocity(Constants.constStager.STAGER_MOTOR_VELOCITY);
47-
globalStager.setTopStagerMotorVelocity(Constants.constStager.TOP_STAGER_MOTOR_VELOCITY);
4847
} else {
4948
globalStager.setStagerMotorVelocityNuetralOutput();
5049
}

src/main/java/frc/robot/commands/Shoot.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public void initialize() {
3838
if ((globalShooter.getPropelMotorVelocity() >= Constants.constShooter.PROPEL_MOTOR_VELOCITY)
3939
&& (globalShooter.getSpiralMotorVelocity() >= Constants.constShooter.SPIRAL_MOTOR_VELOCITY)) {
4040
globalStager.setStagerMotorVelocity(Constants.constStager.STAGER_MOTOR_VELOCITY);
41-
globalStager.setTopStagerMotorVelocity(Constants.constStager.TOP_STAGER_MOTOR_VELOCITY);
4241
globalLED.setLEDs(constLED.LED_SHOOTING);
4342
} else {
4443
globalStager.setStagerMotorVelocityNuetralOutput();

src/main/java/frc/robot/subsystems/Stager.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@
1616
public class Stager extends SubsystemBase {
1717
/** Creates a new Stager. */
1818
TalonSRX stagerMotor;
19-
TalonSRX topStagerMotor;
2019
DigitalInput hasGP;
2120

2221
public Stager() {
2322
stagerMotor = new TalonSRX(RobotMap.mapStager.STAGER_MOTOR_CAN);
24-
topStagerMotor = new TalonSRX(RobotMap.mapStager.TOP_STAGER_MOTOR_CAN);
2523
hasGP = new DigitalInput(RobotMap.mapStager.HAS_GP_DIO);
2624
}
2725

@@ -30,12 +28,10 @@ public void setStagerMotorVelocity(double velocity) {
3028
}
3129

3230
public void setTopStagerMotorVelocity(double velocity) {
33-
topStagerMotor.set(ControlMode.PercentOutput, velocity);
3431
}
3532

3633
public void setStagerMotorVelocityNuetralOutput() {
3734
stagerMotor.set(ControlMode.PercentOutput, 0);
38-
topStagerMotor.set(ControlMode.PercentOutput, 0);
3935
}
4036

4137
public boolean getHasGP() {

0 commit comments

Comments
 (0)