Changeset 364:0f92095b8949 for src/mlx


Ignore:
Timestamp:
12/15/12 05:53:59 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

The flaps setting is logged at takeoff (#151)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/checks.py

    r363 r364  
    153153                           "Takeoff pitch: %.1f degrees" % (state.pitch,))
    154154            logger.message(state.timestamp,
     155                           "Takeoff flaps: %.0f" % (state.flapsSet))
     156            logger.message(state.timestamp,
    155157                           "CG/Trim: %.1f%%/%.2f" % \
    156158                           (state.cog*100.0, state.elevatorTrim))
     
    620622    def __init__(self):
    621623        """Construct the logger."""
    622         StateChangeLogger.__init__(self, logInitial = True)
     624        StateChangeLogger.__init__(self, logInitial = True,
     625                                   excludedStages =
     626                                   [const.STAGE_BOARDING,
     627                                    const.STAGE_PUSHANDTAXI,
     628                                    const.STAGE_RTO,
     629                                    const.STAGE_TAKEOFF])
    623630        SingleValueMixin.__init__(self, "flapsSet")
    624631
Note: See TracChangeset for help on using the changeset viewer.