Changeset 624:e501c5d66286
- Timestamp:
- 04/04/15 10:45:00 (10 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/acft.py
r623 r624 120 120 self.maxTakeOffPitch = 15.0 121 121 self.maxTouchDownPitch = 15.0 122 self.brakeCoolTime = 10.0 122 123 123 124 self._checkers = [] … … 333 334 self._logNameAndModel(aircraftState.timestamp) 334 335 336 oldStage = self._flight.stage 337 335 338 if self._flight.setStage(aircraftState.timestamp, newStage): 336 339 if newStage==const.STAGE_PUSHANDTAXI: … … 345 348 5) 346 349 elif newStage==const.STAGE_TAKEOFF: 350 if oldStage == const.STAGE_RTO and self._flight.hasRTO: 351 rtoState = self._flight.rtoState 352 if (aircraftState.timestamp - rtoState.timestamp) < \ 353 (self.brakeCoolTime * 60.0): 354 self.logger.fault("brakeCoolTime", 355 aircraftState.timestamp, 356 "Did not cool the brakes for at least %.f minutes after the RTO" % (self.brakeCoolTime,), 357 15.0) 347 358 self.logger.message(aircraftState.timestamp, 348 359 "Flight time start")
Note:
See TracChangeset
for help on using the changeset viewer.