Simulator/src/model/agent/humanAgent/aatom/tacticalLevel/activity/passenger/impl/BasicSchipholCheckpointActivity.java
/**
	 * Go to the collect position.
	 */
Go to the collect position.
Go to the collect position .
private void goToCollect() {
		if ((timeInPhase > 120 || !movement.getStopOrder()) && phase == 2) {
			if (navigationModule.getReachedGoal() && collectPositionAvailable()) {
				movement.setStopOrder(0);
				navigationModule.setGoal(xRaySystem.getCollectPosition(collectPosition));
				xRaySystem.setCollectPassenger((Passenger) agent, collectPosition);
				timeInPhase = 0;
				phase++;
			}
		}
		if (phase == 3 && movement.getPosition().distanceTo(wtmd.getCheckPosition()) < 0.3
				&& !((Passenger) agent).getStopOrder()) {
			navigationModule.setGoal(xRaySystem.getCollectPosition(collectPosition));
			xRaySystem.setCollectPassenger((Passenger) agent, collectPosition);
		}
	}
private void goToCollect ( ) { if ( ( timeInPhase > 120 || ! movement . getStopOrder ( ) ) && phase == 2 ) { if ( navigationModule . getReachedGoal ( ) && collectPositionAvailable ( ) ) { movement . setStopOrder ( 0 ) ; navigationModule . setGoal ( xRaySystem . getCollectPosition ( collectPosition ) ) ; xRaySystem . setCollectPassenger ( ( Passenger ) agent , collectPosition ) ; timeInPhase = 0 ; phase ++ ; } } if ( phase == 3 && movement . getPosition ( ) . distanceTo ( wtmd . getCheckPosition ( ) ) < 0.3 && ! ( ( Passenger ) agent ) . getStopOrder ( ) ) { navigationModule . setGoal ( xRaySystem . getCollectPosition ( collectPosition ) ) ; xRaySystem . setCollectPassenger ( ( Passenger ) agent , collectPosition ) ; } }
Go to the collect position.
Go to the collect position .
// go to luggage collect area // fail safe