Changeset 1165:3f5bc889907b for src/mlx
- Timestamp:
- 06/15/24 15:08:15 (5 months ago)
- Branch:
- python3
- Phase:
- public
- Location:
- src/mlx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/acft.py
r1154 r1165 289 289 This default implementation returns DERATE_NONE.""" 290 290 return DERATE_NONE 291 292 @property 293 def machSpeedAbove(self): 294 """Get the altitude above which the cruise speed should be reported 295 in Machs.""" 296 return 24500 291 297 292 298 def setBookedFlight(self, bookedFlight): -
src/mlx/checks.py
r1150 r1165 206 206 (self._lastTime is None or \ 207 207 (self._lastTime+800)<=state.timestamp): 208 if state.altitude> 24500.0:208 if state.altitude>aircraft.machSpeedAbove: 209 209 logger.message(state.timestamp, 210 210 "Cruise speed: %.3f mach" % (state.mach,))
Note:
See TracChangeset
for help on using the changeset viewer.