Changeset 341:c18840deae77 for src/mlx


Ignore:
Timestamp:
11/17/12 14:16:56 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Tags:
version_0.11
Message:

#114: the NAV lights are not considered for the DA F70

Location:
src/mlx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/checks.py

    r340 r341  
    11901190        return flight.stage!=const.STAGE_BOARDING and \
    11911191               flight.stage!=const.STAGE_PARKING and \
    1192                not state.navLightsOn
     1192               state.navLightsOn is False
    11931193
    11941194    def logFault(self, flight, aircraft, logger, oldState, state):
  • src/mlx/fs.py

    r340 r341  
    212212    activated on any of the engines. The number of items equals to the number
    213213    of engines with a reverser.
    214     - navLightsOn: a boolean indicating if the navigation lights are on
     214    - navLightsOn: a boolean indicating if the navigation lights are on. If
     215    the detection of the state of the landing lights is unreliable, and should
     216    not be considered, this is set to None.
    215217    - antiCollisionLightsOn: a boolean indicating if the anti-collision lights are on
    216218    - strobeLightsOn: a boolean indicating if the strobe lights are on
  • src/mlx/fsuipc.py

    r340 r341  
    17891789                                                         timestamp,
    17901790                                                         data)
     1791        state.navLightsOn = None
    17911792        state.landingLightsOn = None
    17921793        state.nav2_manual = aircraft.flight.stage!=const.STAGE_CRUISE
Note: See TracChangeset for help on using the changeset viewer.