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