Ignore:
Timestamp:
03/07/15 06:45:03 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Added checks for tailstrike during takeoff and touchdown (re #250)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/checks.py

    r602 r611  
    165165                           "CG/Trim: %.1f%%/%.2f" % \
    166166                           (state.cog*100.0, state.elevatorTrim))
     167
     168
     169            if abs(state.pitch)>aircraft.maxTakeOffPitch:
     170                flight.handleNoGo("TOPitch", state.timestamp,
     171                                  "Takeoff pitch higher than aircraft maximum (%.2f)" % \
     172                                  (aircraft.maxTakeOffPitch,),
     173                                  "TO TAILSTRIKE NO GO")
     174
    167175            self._onTheGround = False
    168176
Note: See TracChangeset for help on using the changeset viewer.