Changeset 337:a276a58aaa6e for src/mlx/fsuipc.py
- Timestamp:
- 11/15/12 16:51:42 (11 years ago)
- Branch:
- default
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/fsuipc.py
r334 r337 1189 1189 ("visibility", 0x0e8a, "H"), 1190 1190 ("cog", 0x2ef8, "f"), 1191 ("xpdrC", 0x7b91, "b")] 1191 ("xpdrC", 0x7b91, "b"), 1192 ("apMaster", 0x07bc, "d"), 1193 ("apHeadingHold", 0x07c8, "d"), 1194 ("apHeading", 0x07cc, "H"), 1195 ("apAltitudeHold", 0x07d0, "d"), 1196 ("apAltitude", 0x07d4, "u")] 1192 1197 1193 1198 specialModels = [] … … 1387 1392 1388 1393 state.xpdrC = data[self._monidx_xpdrC]==0 1394 1395 state.apMaster = data[self._monidx_apMaster]!=0 1396 state.apHeadingHold = data[self._monidx_apHeadingHold]!=0 1397 state.apHeading = data[self._monidx_apHeading] * 360.0 / 65536.0 1398 state.apAltitudeHold = data[self._monidx_apAltitudeHold]!=0 1399 state.apAltitude = data[self._monidx_apAltitude] / \ 1400 const.FEETTOMETRES / 65536.0 1389 1401 1390 1402 return state
Note:
See TracChangeset
for help on using the changeset viewer.