src/main/java/frc/robot/commands/DriveForward.java
// 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 (_driveTrain.getDistance() >= distance) {
      return true;
    }
    return false;
  }
@ Override public boolean isFinished ( ) { if ( _driveTrain . getDistance ( ) >= distance ) { return true ; } return false ; }
Returns true when the command should end.
Returns true when the command should end .