Ignore:
Timestamp:
03/09/13 06:28:42 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Added the check whether the autopilot is coupled to the FMX (re #186)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/fsuipc.py

    r454 r456  
    17401740        return "FSUIPC/Dreamwings Bombardier Dash 8-Q400"
    17411741
     1742    def addMonitoringData(self, data, fsType):
     1743        """Add the model-specific monitoring data to the given array."""
     1744        super(DreamwingsDH8DModel, self).addMonitoringData(data, fsType)
     1745
     1746        self._addOffsetWithIndexMember(data, 0x132c, "d", "_dwdh8d_navgps")
     1747
    17421748    def getAircraftState(self, aircraft, timestamp, data):
    17431749        """Get the aircraft state.
     
    17471753                                                                  timestamp,
    17481754                                                                  data)
     1755        if data[self._dwdh8d_navgps]==1:
     1756            state.apHeading = None
     1757
    17491758        return state
    17501759
Note: See TracChangeset for help on using the changeset viewer.