This repository was archived by the owner on Jul 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +0
-7
lines changed Expand file tree Collapse file tree 4 files changed +0
-7
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff 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 ();
Original file line number Diff line number Diff line change 1616public 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 () {
You can’t perform that action at this time.
0 commit comments