Ignore:
Timestamp:
11/13/12 16:52:27 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

#139: the transponder state is now queried and made available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/fs.py

    r321 r334  
    3636    def connectionFailed(self):
    3737        """Called when the connection could not be established."""
    38         print "fs.ConnectionListener.connectionFailed"       
     38        print "fs.ConnectionListener.connectionFailed"
    3939
    4040    def disconnected(self):
     
    116116                        del self._messages[0]
    117117
    118             if text is not None:       
     118            if text is not None:
    119119                self._sendMessage(messageType, text, duration, disconnect)
    120120
    121121    def _sendMessage(self, messageType, text, duration, disconnect):
    122         """Send the message and setup the next message time."""       
     122        """Send the message and setup the next message time."""
    123123        messageLevel = self._config.getMessageTypeLevel(messageType)
    124124        if messageLevel==const.MESSAGELEVEL_SOUND or \
     
    180180    - overspeed: a boolean indicating if the aircraft is in overspeed
    181181    - stalled: a boolean indicating if the aircraft is stalled
    182     - onTheGround: a boolean indicating if the aircraft is on the ground   
     182    - onTheGround: a boolean indicating if the aircraft is on the ground
    183183    - zfw: the zero-fuel weight in kilograms (float)
    184184    - grossWeight: the gross weight in kilograms (float)
     
    190190    - ias: the indicated airspeed in knots (float)
    191191    - smoothedIAS: the smoothed IAS in knots (float)
    192     - mach: the airspeed in mach (float)   
     192    - mach: the airspeed in mach (float)
    193193    - groundSpeed: the ground speed (float)
    194194    - vs: the vertical speed in feet/minutes (float)
     
    225225    automatic deployment
    226226    - spoilersExtension: the percentage of how much the spoiler is extended
    227     (float) 
     227    (float)
    228228    - altimeter: the altimeter setting in hPa (float)
    229229    - nav1: the frequency of the NAV1 radio in MHz (string). Can be None, if
     
    245245    - windDirection: the direction of the wind at the aircraft in degrees (float)
    246246    - visibility: the visibility in metres (float)
    247     - cog: the centre of gravity
     247    - cog: the centre of gravity
     248    - xpdrC: a boolean indicating whether the transponder is in C mode, or
     249      None, if the state cannot be read properly
    248250
    249251    FIXME: needed when taxiing only:
     
    253255    - latitude, longitude
    254256    - transporter
    255     - visibility 
     257    - visibility
    256258    """
    257    
Note: See TracChangeset for help on using the changeset viewer.