YASim: Difference between revisions

Jump to navigation Jump to search
100 bytes added ,  13 April 2020
Add link to ControlMap.cpp source code.
(→‎wing: new features flow and mcrit)
(Add link to ControlMap.cpp source code.)
Line 226: Line 226:
** ROTORENGINEON - If not equal zero the rotor is rotating  
** ROTORENGINEON - If not equal zero the rotor is rotating  
** WINCHRELSPEED - The relative winch speed  
** WINCHRELSPEED - The relative winch speed  
** {... and many more, see ControlMap.cpp ...}
** {... and many more, see [https://sourceforge.net/p/flightgear/flightgear/ci/next/tree/src/FDM/YASim/ControlMap.cpp#l25 ControlMap.cpp] ...}
* '''invert:''' Negate the value of the property before setting on the object.
* '''invert:''' Negate the value of the property before settling on the object.
* '''split:''' Applicable to wing control surfaces. Sets the normal value on the left wing, and a negated value on the right wing.
* '''split:''' Applicable to wing control surfaces. Sets the normal value on the left-wing, and a negated value on the right-wing.
* '''square:''' Squares the value before setting. Useful for controls like steering that need a wide range, yet lots of sensitivity in the center. Obviously only applicable to values that have a range of [-1:1] or [0:1].  
* '''square:''' Squares the value before setting. Useful for controls like a steering that needs a wide range, yet lots of sensitivity in the center. Obviously only applicable to values that have a range of [-1:1] or [0:1].  
* '''src0/src1/dst0/dst1:''' If present, these define a linear mapping from the source to the output value. Input values in the range src0-src1 are mapped linearly to dst0-dst1, with clamping for input values that lie outside the range.
* '''src0/src1/dst0/dst1:''' If present, these define a linear mapping from the source to the output value. Input values in the range src0-src1 are mapped linearly to dst0-dst1, with clamping for input values that lie outside the range.


34

edits

Navigation menu