src/main/java/frc/robot/commands/DriveCommands/Rotate180.java
@Override
  public boolean isFinished() {
      if (m_drivetrain.getAverageEncoderValue()<70){
        return false;
      }
      return true;

    //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()<70){
        return false;
      }
      return true;
  }
@ Override public boolean isFinished ( ) { if ( m_drivetrain . getAverageEncoderValue ( ) < 70 ) { return false ; } return true ; }
Returns true when the command should end.
Returns true when the command should end .
//return m_drivetrain.averageDistanceReached();