Changeset 644:bd36997f0b8a


Ignore:
Timestamp:
06/21/15 08:38:58 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Too high taxi speed is logged immediately if an aircraft has a strobe light, but it is not turned on when exceedin 50 knots (re #269)

Location:
src/mlx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/acft.py

    r635 r644  
    117117        self.initialClimbSpeedAltitude = 1500
    118118        self.reverseMinSpeed = 50
     119
     120        self.hasStrobeLight = True
    119121
    120122        self.maxTakeOffPitch = 15.0
     
    984986        self.reverseMinSpeed = 50
    985987
     988        self.hasStrobeLight = False
     989
    986990        self.maxTakeOffPitch = 16.0
    987991        self.maxTouchDownPitch = 16.0
     
    10371041        self.reverseMinSpeed = 50
    10381042
     1043        self.hasStrobeLight = False
     1044
    10391045        self.maxTakeOffPitch = 16.0
    10401046        self.maxTouchDownPitch = 16.0
     
    10871093        self.flapSpeedLimits = { 20 : 165,
    10881094                                 35 : 135 }
     1095
     1096        self.hasStrobeLight = False
    10891097
    10901098    @property
  • src/mlx/checks.py

    r643 r644  
    15261526        if flight.stage==const.STAGE_PUSHANDTAXI or \
    15271527           flight.stage==const.STAGE_RTO:
    1528             self._checkPushAndTaxi(flight, aircraft, state)
     1528            if state.groundSpeed>50 and aircraft.hasStrobeLight and \
     1529               state.strobeLightsOn is False:
     1530                self.logSpeedFault(flight, state)
     1531            else:
     1532                self._checkPushAndTaxi(flight, aircraft, state)
    15291533        elif flight.stage==const.STAGE_TAXIAFTERLAND:
    15301534            if state.groundSpeed>50:
Note: See TracChangeset for help on using the changeset viewer.