Ignore:
Timestamp:
07/03/12 17:30:04 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added the playback of approach callouts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/pyuipc_sim.py

    r243 r273  
    552552        elif offset==0x0570:       # Altitude
    553553            self.altitude = value / const.FEETTOMETRES / 65536.0 / 65536.0
     554            self.radioAltitude = self.altitude - 517
    554555        elif offset==0x0578:       # Pitch
    555556            self.pitch = value * 360.0 / 65536.0 / 65536.0
     
    668669            raise FSUIPCException(ERR_DATA)
    669670        elif offset==0x31e4:       # Radio altitude
     671            self.radioAltitude = value / const.FEETTOMETRES / 65536.0
     672            self.altitude = self.radioAltitude + 517
     673        elif offset==0x31e4:       # Radio altitude
    670674            raise FSUIPCException(ERR_DATA)
    671675        elif offset==0x320c:
Note: See TracChangeset for help on using the changeset viewer.