Changeset 766:86cca1d2f4e3 for src


Ignore:
Timestamp:
02/21/16 14:51:04 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
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

    r669 r766  
    18461846        state.gearsDown = state.gearControlDown
    18471847
     1848        # Th N1 values cannot be read either
     1849        state.n1 = [None, None]
     1850
    18481851        return state
    18491852
  • 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.