Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/checks.py

    r521 r520  
    964964        """Check if the fault condition holds."""
    965965        if flight.stage==const.STAGE_CRUISE:
    966             isDH8DXplane = flight.aircraftType==const.AIRCRAFT_DH8D and \
    967                            (flight.fsType==const.SIM_XPLANE10 or
    968                             flight.fsType==const.SIM_XPLANE9)
    969             bankLimit = 35 if isDH8DXplane else 30
     966            bankLimit = 30
    970967        elif flight.stage in [const.STAGE_TAKEOFF, const.STAGE_CLIMB,
    971968                              const.STAGE_DESCENT, const.STAGE_LANDING]:
     
    978975    def logFault(self, flight, aircraft, logger, oldState, state):
    979976        """Log the fault."""
    980         message = "Bank too steep (%.1f)" % (state.bank,)
    981977        flight.handleFault(BankChecker, state.timestamp,
    982                            FaultChecker._appendDuring(flight, message),
     978                           FaultChecker._appendDuring(flight, "Bank too steep"),
    983979                           2)
    984980
Note: See TracChangeset for help on using the changeset viewer.