src/main/java/frc/robot/commands/DriveCommands/RotateAmountFast.java
@Override
  public boolean isFinished() {
      if(m_drivetrain.getAverageEncoderValue() > desiredAngle ){ //(desiredAngle/360)*(2*Math.PI*14)
        System.out.println("ROTAMOUNTFINNISHED");
        return true;
      }
      else return false;

    //return m_drivetrain.averageDistanceReached();
  }
// Returns true when the command should end.
Returns true when the command should end.
Returns true when the command should end .
@Override
  public boolean isFinished() {
      if(m_drivetrain.getAverageEncoderValue() > desiredAngle ){ 
        System.out.println("ROTAMOUNTFINNISHED");
        return true;
      }
      else return false;
  }
@ Override public boolean isFinished ( ) { if ( m_drivetrain . getAverageEncoderValue ( ) > desiredAngle ) { System . out . println ( "ROTAMOUNTFINNISHED" ) ; return true ; } else return false ; }
Returns true when the command should end.
Returns true when the command should end .
//(desiredAngle/360)*(2*Math.PI*14) //return m_drivetrain.averageDistanceReached();