Changeset 420:fc063b7b571e for src/mlx/checks.py
- Timestamp:
- 02/10/13 16:54:52 (11 years ago)
- Branch:
- xplane
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/checks.py
r416 r420 954 954 """Check if the fault condition holds.""" 955 955 if flight.stage==const.STAGE_CRUISE: 956 bankLimit = 3 0956 bankLimit = 32 957 957 elif flight.stage in [const.STAGE_TAKEOFF, const.STAGE_CLIMB, 958 958 const.STAGE_DESCENT, const.STAGE_LANDING]: … … 965 965 def logFault(self, flight, aircraft, logger, oldState, state): 966 966 """Log the fault.""" 967 message = "Bank too steep (%.1f)" % (state.bank,) 967 968 flight.handleFault(BankChecker, state.timestamp, 968 FaultChecker._appendDuring(flight, "Bank too steep"),969 FaultChecker._appendDuring(flight, message), 969 970 2) 970 971
Note:
See TracChangeset
for help on using the changeset viewer.