Changeset 765:fc1433d4854f


Ignore:
Timestamp:
02/21/16 14:51:04 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
version_0.37
Phase:
public
rebase_source:
7bbf267be5d04c2dbaccb658c002d7c222d8b678
Message:

The N1 values of the Majestic Dash-8 Q400 are invalidated (re #292)

Location:
src/mlx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/fs.py

    r666 r765  
    212212    - n1[]: the N1 values of the turbine engines (array of floats
    213213    of as many items as the number of engines, present only for aircraft with
    214     turbines, for other aircraft it is None)
     214    turbines, for other aircraft it is None). If the aircraft has turbines, but
     215    the N1 values cannot be read reliably, the array contains Nones.
    215216    - rpm[]: the RPM values of the piston engines (array of floats
    216217    of as many items as the number of engines, present only for aircraft with
  • src/mlx/fsuipc.py

    r749 r765  
    18491849        state.gearsDown = state.gearControlDown
    18501850
     1851        # Th N1 values cannot be read either
     1852        state.n1 = [None, None]
     1853
    18511854        return state
    18521855
  • src/mlx/gui/monitor.py

    r680 r765  
    378378                for n1 in aircraftState.n1:
    379379                    if n1Str: n1Str += ", "
    380                     n1Str += "%.0f" % (n1,)
     380                    if n1 is None:
     381                        n1Str += "?"
     382                    else:
     383                        n1Str += "%.0f" % (n1,)
    381384            elif aircraftState.rpm is not None:
    382385                n1Str = ""
Note: See TracChangeset for help on using the changeset viewer.