Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/checks.py

    r478 r450  
    5656                aircraft.setStage(state, const.STAGE_PUSHANDTAXI)
    5757        elif stage==const.STAGE_PUSHANDTAXI or stage==const.STAGE_RTO:
    58             if state.strobeLightsOn or \
    59               (state.strobeLightsOn is None and state.xpdrC):
     58            if state.strobeLightsOn:
    6059                aircraft.setStage(state, const.STAGE_TAKEOFF)
    6160        elif stage==const.STAGE_TAKEOFF:
     
    6463                aircraft.setStage(state, const.STAGE_CLIMB)
    6564            elif not state.landingLightsOn and \
    66                  (state.strobeLightsOn is False or
    67                   (state.strobeLightsOn is None and not state.xpdrC)) and \
     65                 not state.strobeLightsOn and \
    6866                 state.onTheGround and \
    6967                 state.groundSpeed<50.0:
     
    942940            if n1>5: numEnginesRunning += 1
    943941
    944         if flight.stage==const.STAGE_PARKING or \
    945            (flight.stage==const.STAGE_TAXIAFTERLAND and state.parking):
     942        if flight.stage==const.STAGE_PARKING:
    946943            return numEnginesRunning<len(state.n1) \
    947944                   and state.antiCollisionLightsOn
     
    13601357    If, during the PUSHANDTAXI stage the speed exceeds 50 knots, the state as
    13611358    saved as a provisional takeoff state. If the speed then decreases below 50
    1362     knots, or the plane remains on the ground for more than 40 seconds, a taxi
     1359    knots, or the plane remains on the ground for more than 20 seconds, a taxi
    13631360    speed error is logged with the highest ground speed detected. This state is
    13641361    also stored in the flight object as a possible
    13651362
    1366     If the plane becomes airborne within 40 seconds, the stage becomes TAKEOFF,
     1363    If the plane becomes airborne within 20 seconds, the stage becomes TAKEOFF,
    13671364    and the previously saved takeoff state is logged.
    13681365
     
    13961393                    aircraft.setStage(self._takeoffState, const.STAGE_TAKEOFF)
    13971394                    self._takeoffState = None
    1398                 elif state.timestamp > (self._takeoffState.timestamp + 40):
     1395                elif state.timestamp > (self._takeoffState.timestamp + 30):
    13991396                    flight.setRTOState(self._highestSpeedState)
    14001397        elif self._takeoffState is not None:
Note: See TracChangeset for help on using the changeset viewer.