src/main/java/frc/robot/commands/AutoIntake.java
@Override
  public boolean isFinished() {
    if (m_timer.get() >= endTime) {
      m_timer.stop();
      m_timer.reset();
      return true;
    }
    else {
      return false;
    }
  }
// 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_timer.get() >= endTime) {
      m_timer.stop();
      m_timer.reset();
      return true;
    }
    else {
      return false;
    }
  }
@ Override public boolean isFinished ( ) { if ( m_timer . get ( ) >= endTime ) { m_timer . stop ( ) ; m_timer . reset ( ) ; return true ; } else { return false ; } }
Returns true when the command should end.
Returns true when the command should end .