Ignore:
Timestamp:
05/10/15 06:44:20 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

A go-around is logged as a fault with no score and an explanation is required (re #266)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/acft.py

    r631 r634  
    374374                if newStage==const.STAGE_LANDING:
    375375                    self._logQNH(aircraftState)
     376            elif newStage==const.STAGE_GOAROUND:
     377                from logger import Logger
     378                self._flight.handleFault("goaround",
     379                                         aircraftState.timestamp,
     380                                         "Go-around detected, please, explain!",
     381                                         Logger.NO_SCORE)
    376382            elif newStage==const.STAGE_TAXIAFTERLAND:
    377383                flight = self._flight
Note: See TracChangeset for help on using the changeset viewer.