Changeset 602:130e4cf75677


Ignore:
Timestamp:
02/22/15 09:39:07 (10 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Altitude is logged with flaps changes during all flight stages (re #247)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/checks.py

    r601 r602  
    693693        speed = logState.groundSpeed if logState.groundSpeed<80.0 \
    694694                else logState.ias
    695         message = "Flaps %.0f - %.0f %s" % \
     695        message = "Flaps %.0f - %.0f %s, %.0f ft AGL, %.0f ft AMSL" % \
    696696               (logState.flapsSet, flight.speedFromKnots(speed),
    697                 flight.getEnglishSpeedUnit())
    698 
    699         if flight.stage in [const.STAGE_DESCENT, const.STAGE_LANDING]:
    700             message += ", %.0f ft AGL" % (logState.radioAltitude,)
     697                flight.getEnglishSpeedUnit(), logState.radioAltitude,
     698                logState.altitude)
    701699
    702700        return message
Note: See TracChangeset for help on using the changeset viewer.