Changeset 548:bcb90fca2956 for src
- Timestamp:
- 01/04/14 13:44:04 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/checks.py
r546 r548 932 932 flight.handleFault(AntiCollisionLightsChecker, state.timestamp, 933 933 FaultChecker._appendDuring(flight, 934 "Anti-collision lights were off"), 934 "Anti-collision lights were %s" % 935 ("on" if state.antiCollisionLightsOn else "off",)), 935 936 1) 936 937 … … 955 956 if n1>5: numEnginesRunning += 1 956 957 957 print "TupolevAntiCollisionLightsChecker: n1", state.n1,958 print ", numEnginesRunning:", numEnginesRunning,959 print ", stage:", flight.stage,960 print ", antiCollisionLightsOn:", state.antiCollisionLightsOn,961 print ", parking:", state.parking,962 print963 964 958 if flight.stage==const.STAGE_PARKING or \ 965 (flight.stage==const.STAGE_TAXIAFTERLAND and state.parking):959 flight.stage==const.STAGE_TAXIAFTERLAND: 966 960 return numEnginesRunning<len(state.n1) \ 967 961 and state.antiCollisionLightsOn
Note:
See TracChangeset
for help on using the changeset viewer.