src/main/java/frc/robot/commands/shooter/Elevator.java
// Called every time the scheduler runs while the command is scheduled.
Called every time the scheduler runs while the command is scheduled.
Called every time the scheduler runs while the command is scheduled .
@Override
  public void execute() {
    double upperSpeed = SmartDashboard.getNumber("upperSpeed", 0);
    double lowerSpeed = SmartDashboard.getNumber("lowerSpeed", 0);
    shooterElevator.elevator(upperSpeed, lowerSpeed);
  }
@ Override public void execute ( ) { double upperSpeed = SmartDashboard . getNumber ( "upperSpeed" , 0 ) ; double lowerSpeed = SmartDashboard . getNumber ( "lowerSpeed" , 0 ) ; shooterElevator . elevator ( upperSpeed , lowerSpeed ) ; }
Called every time the scheduler runs while the command is scheduled.
Called every time the scheduler runs while the command is scheduled .