Changeset 611:6e8540c1970b for src/mlx
- Timestamp:
- 03/07/15 06:45:03 (10 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/acft.py
r601 r611 118 118 119 119 self.needNoStrobeSpeedCheck = False 120 121 self.maxTakeOffPitch = 15.0 122 self.maxTouchDownPitch = 15.0 120 123 121 124 self._checkers = [] … … 455 458 (self._aircraftState.cog*100.0,)) 456 459 460 if abs(pitch)>self.maxTouchDownPitch: 461 self._flight.handleNoGo("TDPitch", self._aircraftState.timestamp, 462 "Touchdown pitch higher than aircraft maximum (%.2f)" % \ 463 (self.maxTouchDownPitch,), 464 "TD TAILSTRIKE NO GO") 465 457 466 def cancelFlare(self): 458 467 """Cancel flare, if it has started.""" … … 685 694 self.mlw = 54657 686 695 self.mzfw = 51482 696 self.maxTakeOffPitch = 16.2 697 self.maxTouchDownPitch = 14.7 687 698 688 699 #--------------------------------------------------------------------------------------- … … 696 707 self.mlw = 58059 697 708 self.mzfw = 54657 709 self.maxTakeOffPitch = 14.7 710 self.maxTouchDownPitch = 13.2 698 711 699 712 #--------------------------------------------------------------------------------------- … … 707 720 self.mlw = 65317 708 721 self.mzfw = 61688 722 self.maxTakeOffPitch = 11 723 self.maxTouchDownPitch = 9.5 709 724 710 725 #--------------------------------------------------------------------------------------- … … 734 749 self.mlw = 51700 735 750 self.mzfw = 48410 751 self.maxTakeOffPitch = 13.4 752 self.maxTouchDownPitch = 12.0 736 753 737 754 #--------------------------------------------------------------------------------------- … … 745 762 self.mlw = 56200 746 763 self.mzfw = 53100 764 self.maxTakeOffPitch = 11.4 765 self.maxTouchDownPitch = 10 747 766 748 767 #--------------------------------------------------------------------------------------- … … 756 775 self.mlw = 50000 757 776 self.mzfw = 46700 777 self.maxTakeOffPitch = 14.7 778 self.maxTouchDownPitch = 13.2 758 779 759 780 #--------------------------------------------------------------------------------------- … … 779 800 15 : 172, 780 801 35 : 158 } 802 self.maxTakeOffPitch = 8.0 803 self.maxTouchDownPitch = 7.0 781 804 782 805 #--------------------------------------------------------------------------------------- … … 816 839 self.mlw = 126098 817 840 self.mzfw = 114758 841 self.maxTakeOffPitch = 13.1 842 self.maxTouchDownPitch = 11.6 818 843 819 844 #--------------------------------------------------------------------------------------- … … 827 852 self.mlw = 137892 828 853 self.mzfw = 130635 854 self.maxTakeOffPitch = 9.6 855 self.maxTouchDownPitch = 8.1 829 856 830 857 #--------------------------------------------------------------------------------------- … … 849 876 30 : 190, 850 877 45 : 175 } 878 self.maxTakeOffPitch = 18.0 879 self.maxTouchDownPitch = 18.0 851 880 852 881 #--------------------------------------------------------------------------------------- … … 873 902 42 : 180 } 874 903 self.reverseMinSpeed = 50 904 self.maxTakeOffPitch = 16.0 905 self.maxTouchDownPitch = 16.0 875 906 876 907 @property … … 933 964 self.needNoStrobeSpeedCheck = True 934 965 966 self.maxTakeOffPitch = 16.0 967 self.maxTouchDownPitch = 16.0 968 935 969 @property 936 970 def derateType(self): … … 978 1012 979 1013 self.needNoStrobeSpeedCheck = True 1014 1015 self.maxTakeOffPitch = 16.0 1016 self.maxTouchDownPitch = 16.0 980 1017 981 1018 @property -
src/mlx/checks.py
r602 r611 165 165 "CG/Trim: %.1f%%/%.2f" % \ 166 166 (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 167 175 self._onTheGround = False 168 176 -
src/mlx/xplane.py
r541 r611 1401 1401 state.heading = data[self._monidx_heading] 1402 1402 1403 state.pitch = data[self._monidx_pitch]1403 state.pitch = -1.0 * data[self._monidx_pitch] 1404 1404 state.bank = data[self._monidx_bank] 1405 1405
Note:
See TracChangeset
for help on using the changeset viewer.