Ignore:
Timestamp:
02/10/13 16:54:52 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
xplane
Phase:
public
Message:

Implemented the most important parts of X-Plane support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/checks.py

    r416 r420  
    954954        """Check if the fault condition holds."""
    955955        if flight.stage==const.STAGE_CRUISE:
    956             bankLimit = 30
     956            bankLimit = 32
    957957        elif flight.stage in [const.STAGE_TAKEOFF, const.STAGE_CLIMB,
    958958                              const.STAGE_DESCENT, const.STAGE_LANDING]:
     
    965965    def logFault(self, flight, aircraft, logger, oldState, state):
    966966        """Log the fault."""
     967        message = "Bank too steep (%.1f)" % (state.bank,)
    967968        flight.handleFault(BankChecker, state.timestamp,
    968                            FaultChecker._appendDuring(flight, "Bank too steep"),
     969                           FaultChecker._appendDuring(flight, message),
    969970                           2)
    970971
Note: See TracChangeset for help on using the changeset viewer.