Changeset 641:2f923133126c


Ignore:
Timestamp:
06/21/15 07:08:47 (10 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

N1 values below 2.0 are considered 0.0 on the FlyJSim Dash 8 (re #270)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/xplane.py

    r640 r641  
    17531753        state.cog = (state.cog / 0.0254 + 21.504) / 94.512
    17541754
     1755        # It seems that N1 does not always go down to 0 properly
     1756        # (maybe due to winds?)
     1757        state.n1 = [0 if n1<2.0 else n1 for n1 in state.n1]
     1758
    17551759        return state
    17561760
Note: See TracChangeset for help on using the changeset viewer.