Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/checks.py

    r450 r448  
    954954        """Check if the fault condition holds."""
    955955        if flight.stage==const.STAGE_CRUISE:
    956             isDH8DXplane = flight.aircraftType==const.AIRCRAFT_DH8D and \
    957                            (flight.fsType==const.SIM_XPLANE10 or
    958                             flight.fsType==const.SIM_XPLANE9)
    959             bankLimit = 35 if isDH8DXplane else 30
     956            bankLimit = 30
    960957        elif flight.stage in [const.STAGE_TAKEOFF, const.STAGE_CLIMB,
    961958                              const.STAGE_DESCENT, const.STAGE_LANDING]:
     
    968965    def logFault(self, flight, aircraft, logger, oldState, state):
    969966        """Log the fault."""
    970         message = "Bank too steep (%.1f)" % (state.bank,)
    971967        flight.handleFault(BankChecker, state.timestamp,
    972                            FaultChecker._appendDuring(flight, message),
     968                           FaultChecker._appendDuring(flight, "Bank too steep"),
    973969                           2)
    974970
Note: See TracChangeset for help on using the changeset viewer.