Changeset 360:b83988619f8b for src/mlx
- Timestamp:
- 12/13/12 16:34:33 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/acft.py
r359 r360 73 73 74 74 self.humanWeight = 82.0 75 76 self.reverseMinSpeed = 60 75 77 76 78 self._checkers = [] … … 675 677 25 : 220, 676 678 42 : 180 } 679 self.reverseMinSpeed = 50 677 680 678 681 #--------------------------------------------------------------------------------------- … … 727 730 20 : 400, 728 731 30 : 300 } 732 self.reverseMinSpeed = 50 729 733 730 734 @property … … 769 773 28 : 194, 770 774 45 : 162 } 775 self.reverseMinSpeed = 50 771 776 772 777 @property -
src/mlx/checks.py
r359 r360 1250 1250 1251 1251 class ReverserChecker(SimpleFaultChecker): 1252 """Check if the reverser is not used below 60 knots.""" 1252 """Check if the reverser is not used below the speed prescribed for the 1253 aircraft.""" 1253 1254 def isCondition(self, flight, aircraft, oldState, state): 1254 1255 """Check if the fault condition holds.""" 1255 1256 return flight.stage in [const.STAGE_DESCENT, const.STAGE_LANDING, 1256 1257 const.STAGE_TAXIAFTERLAND] and \ 1257 state.groundSpeed< 60and max(state.reverser)1258 state.groundSpeed<aircraft.reverseMinSpeed and max(state.reverser) 1258 1259 1259 1260 def logFault(self, flight, aircraft, logger, oldState, state):
Note:
See TracChangeset
for help on using the changeset viewer.