Changeset 1130:c250200b0d03 for src
- Timestamp:
- 02/11/24 13:10:15 (9 months ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/xplane.py
r1129 r1130 1799 1799 TYPE_FLOAT) 1800 1800 1801 self._reverserIndex = len(data) 1802 self._addDatarefWithIndexMember(data, 1803 "laminar/B738/flt_ctrls/reverse_lever1", 1804 TYPE_FLOAT) 1805 self._addDatarefWithIndexMember(data, 1806 "laminar/B738/flt_ctrls/reverse_lever2", 1807 TYPE_FLOAT) 1808 1801 1809 1802 1810 def getAircraftState(self, aircraft, timestamp, data): … … 1848 1856 1849 1857 state.apAltitudeHold = data[self._apAltitudeIndex]==1 1858 state.reverser = [data[self._reverserIndex+0]>=0.2, 1859 data[self._reverserIndex+1]>=0.2] 1850 1860 1851 1861 return state
Note:
See TracChangeset
for help on using the changeset viewer.