Changeset 1150:8c10b07807ed
- Timestamp:
- 04/24/24 14:20:08 (7 months ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/checks.py
r1128 r1150 1196 1196 1197 1197 return state.xpdrC is not None and \ 1198 ((state.xpdrC and flight.stage in 1199 [const.STAGE_BOARDING, const.STAGE_PARKING]) or \ 1200 (not state.xpdrC and 1201 (flight.stage in 1202 [const.STAGE_CRUISE, const.STAGE_DESCENT, 1203 const.STAGE_GOAROUND] or \ 1204 (flight.stage==const.STAGE_LANDING and 1205 state.groundSpeed>50.0) or \ 1206 ((not state.autoXPDR or \ 1207 (self._liftOffTime is not None and 1208 state.timestamp > (self._liftOffTime+8))) and \ 1209 ((flight.stage==const.STAGE_TAKEOFF and 1210 not state.onTheGround) or flight.stage==const.STAGE_CLIMB)) 1211 ) 1212 ) 1198 not state.xpdrC and \ 1199 (flight.stage in 1200 [const.STAGE_CRUISE, const.STAGE_DESCENT, 1201 const.STAGE_GOAROUND] or \ 1202 (flight.stage==const.STAGE_LANDING and 1203 state.groundSpeed>50.0) or \ 1204 ((not state.autoXPDR or \ 1205 (self._liftOffTime is not None and 1206 state.timestamp > (self._liftOffTime+8))) and \ 1207 ((flight.stage==const.STAGE_TAKEOFF and 1208 not state.onTheGround) or flight.stage==const.STAGE_CLIMB)) 1213 1209 ) 1214 1210
Note:
See TracChangeset
for help on using the changeset viewer.