Skip to content

Commit

Permalink
edited auto commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Kendialouge committed Mar 22, 2024
1 parent 71cf5c9 commit 127d40f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/commands/auto/SHOOTFLYS.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public SHOOTFLYS(FlyWheel flywheel) {
@Override
public void initialize() {
m_finished = false;
m_flywheel.FLYWHEEL_MOTOR_FULL_SPEED();
m_flywheel.enableflywheelfull();
}

// Called every time the scheduler runs while the command is scheduled.
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/frc/robot/subsystems/Conveyor.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ public void reverseConveyor() {
public void periodic() {
// This method will be called once per scheduler run
}

public Command shootCommand() {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("Unimplemented method 'shootCommand'");
public void SHOOTCONVEYOR(){
conveyorMotor1.set(MechanismConstants.CONVEYOR_MOTOR_SPEED);
conveyorMotor2.set(MechanismConstants.CONVEYOR_MOTOR_SPEED);
}
}
10 changes: 5 additions & 5 deletions src/main/java/frc/robot/subsystems/FlyWheel.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ public void periodic() {
// This method will be called once per scheduler run
}

public Object shootCommand() {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("Unimplemented method 'shootCommand'");
}

public void fastflywheel() {
flywheelMotor1.set(MechanismConstants.FLYWHEEL_MOTOR_SPEED_100);
flywheelMotor2.set(MechanismConstants.FLYWHEEL_MOTOR_SPEED_100);
}
public void SHOOTFLYS(){
flywheelMotor1.set(MechanismConstants.FLYWHEEL_MOTOR_FULL_SPEED);
flywheelMotor2.set(MechanismConstants.FLYWHEEL_MOTOR_FULL_SPEED);
}
}

0 comments on commit 127d40f

Please sign in to comment.