Changeset 23:5e76dc3e8f7d for src
- Timestamp:
- 02/15/12 20:03:26 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/fsuipc.py
r21 r23 935 935 self._engineStartIndex = len(data) 936 936 for i in range(0, self._numEngines): 937 self._addOffsetWithIndexMember(data, 0x 0898 + i * 0x98, "H") # N1937 self._addOffsetWithIndexMember(data, 0x2000 + i * 0x100, "f") # N1 938 938 self._addOffsetWithIndexMember(data, 0x088c + i * 0x98, "h") # throttle lever 939 939 … … 958 958 for i in range(self._engineStartIndex, 959 959 self._engineStartIndex + 2*self._numEngines, 2): 960 state.n1.append(data[i] *100.0/16384.0)960 state.n1.append(data[i]) 961 961 state.reverser.append(data[i+1]<0) 962 962
Note:
See TracChangeset
for help on using the changeset viewer.