Ignore:
Timestamp:
12/16/18 09:53:42 (5 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
version_0.39_maint
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

The maximum allowed bank angle on X-Plane is increased for Boeing 737-300

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/checks.py

    r666 r910  
    10221022        """Check if the fault condition holds."""
    10231023        if flight.stage==const.STAGE_CRUISE:
    1024             isDH8DXplane = flight.aircraftType==const.AIRCRAFT_DH8D and \
    1025                            (flight.fsType==const.SIM_XPLANE10 or
    1026                             flight.fsType==const.SIM_XPLANE9)
    1027             bankLimit = 35 if isDH8DXplane else 30
     1024            isXPlane = (flight.aircraftType==const.AIRCRAFT_DH8D or
     1025                        flight.aircraftType==const.AIRCRAFT_B733) and \
     1026                        (flight.fsType==const.SIM_XPLANE11 or
     1027                         flight.fsType==const.SIM_XPLANE10 or
     1028                         flight.fsType==const.SIM_XPLANE9)
     1029            bankLimit = 35 if isXPlane else 30
    10281030        elif flight.stage in [const.STAGE_TAKEOFF, const.STAGE_CLIMB,
    10291031                              const.STAGE_DESCENT, const.STAGE_LANDING]:
Note: See TracChangeset for help on using the changeset viewer.