Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/checks.py

    r496 r480  
    957957        """Check if the fault condition holds."""
    958958        if flight.stage==const.STAGE_CRUISE:
    959             isDH8DXplane = flight.aircraftType==const.AIRCRAFT_DH8D and \
    960                            (flight.fsType==const.SIM_XPLANE10 or
    961                             flight.fsType==const.SIM_XPLANE9)
    962             bankLimit = 35 if isDH8DXplane else 30
     959            bankLimit = 30
    963960        elif flight.stage in [const.STAGE_TAKEOFF, const.STAGE_CLIMB,
    964961                              const.STAGE_DESCENT, const.STAGE_LANDING]:
     
    971968    def logFault(self, flight, aircraft, logger, oldState, state):
    972969        """Log the fault."""
    973         message = "Bank too steep (%.1f)" % (state.bank,)
    974970        flight.handleFault(BankChecker, state.timestamp,
    975                            FaultChecker._appendDuring(flight, message),
     971                           FaultChecker._appendDuring(flight, "Bank too steep"),
    976972                           2)
    977973
Note: See TracChangeset for help on using the changeset viewer.