Changeset 789:0be8d7e8f7c8
- Timestamp:
- 06/16/16 18:08:35 (8 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/fsuipc.py
r780 r789 1670 1670 name.find("900")!=-1 or airPath.find("900")!=-1) 1671 1671 1672 def __init__(self): 1673 """Construct the model.""" 1674 super(PMDGBoeing737NGModel, self).__init__() 1675 self._lastGearControl = None 1676 self._lastNoseGear = None 1677 1672 1678 @property 1673 1679 def name(self): … … 1734 1740 state.apAltitude = data[self._pmdgidx_apalt] 1735 1741 1742 gearControl = data[self._monidx_gearControl] 1743 noseGear = data[self._monidx_noseGear] 1744 1745 if gearControl!=self._lastGearControl or noseGear!=self._lastNoseGear: 1746 print "gearControl:", gearControl, " noseGear:", noseGear 1747 self._lastGearControl = gearControl 1748 self._lastNoseGear = noseGear 1749 1736 1750 return state 1737 1751
Note:
See TracChangeset
for help on using the changeset viewer.