Changeset 448:89c9d5d516eb for src
- Timestamp:
- 03/02/13 09:23:21 (12 years ago)
- Branch:
- default
- Phase:
- public
- Tags:
- version_0.16
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/checks.py
r447 r448 1050 1050 def isCondition(self, flight, aircraft, oldState, state): 1051 1051 """Check if the fault condition holds.""" 1052 return state.gLoad>2.0 and (flight.stage!=const.STAGE_LANDING or\1053 1052 return state.gLoad>2.0 and not state.onTheGround and \ 1053 (flight.stage!=const.STAGE_LANDING or state.radioAltitude>=50) 1054 1054 1055 1055 def logFault(self, flight, aircraft, logger, oldState, state):
Note:
See TracChangeset
for help on using the changeset viewer.