Ignore:
Timestamp:
08/27/22 07:28:56 (3 months ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Tags:
version_0.50.3
Message:

The navigation and strobe lights checkers have a patience of 5 seconds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/checks.py

    r1043 r1059  
    12971297class NavLightsChecker(PatientFaultChecker):
    12981298    """Check if the navigational lights are used properly."""
     1299    def __init__(self):
     1300        """Construct the NAV lights checker."""
     1301        super(NavLightsChecker, self).__init__(timeout = 5.0)
     1302
    12991303    def isCondition(self, flight, aircraft, oldState, state):
    13001304        """Check if the fault condition holds."""
     
    15651569class StrobeLightsChecker(PatientFaultChecker):
    15661570    """Check if the strobe lights are used properly."""
     1571    def __init__(self):
     1572        """Construct the Strobe lights checker."""
     1573        super(StrobeLightsChecker, self).__init__(timeout = 5.0)
     1574
    15671575    def isCondition(self, flight, aircraft, oldState, state):
    15681576        """Check if the fault condition holds."""
Note: See TracChangeset for help on using the changeset viewer.