Hello,
I used the probably the most up to date documentation of YASim to make an autogyro model. It that documentation I noticed the sentence: "In future it will be possible, to add a YASim-engine".
But as I read from the Rotor.cpp code, there seems to be no possibility to use standard YASim-engine like a piston-engine or the electric-engine as I hope.
The reason why I needed that modification is the absence of proportional control input for autogyro rotor speed-up.
The question is: Does exist some plan on how to introduce a YASim-engine with throttle input to existing Rotor.cpp code?
From XML point of view I suggest something like this:
<rotor name="main"
--- ROTOR parameters ---
maxcollective="3.5" mincollective="3.5"
maxcyclicele="0" mincyclicele="0"
maxcyclicail="0" mincyclicail="0"
.
.
.
>
--- ROTOR control inputs ---
<control-input axis="/controls/flight/aileron-trim" control="TILTROLL" split="true" src0="-1.0" src1="1.0" dst0="1.0" dst1="-1.0"/>
</rotor>
<rotorgear
max-power-rotor-brake="0.050"
rotorgear-friction="0.0005"
yasimdragfactor="30"
yasimliftfactor="140"
>
--- ROTOR engines piston or electric ---
<electric-engine Kv="750" voltage="15" Rm="0.02" >
<control-input axis="/controls/engines/engine[1]/throttle" control="THROTTLE"/>
</electric-engine>
<control-input axis="/controls/rotor/brake" control="ROTORBRAKE" src0="0.0" src1="1.0" dst0="0.0" dst1="1.0"/>
</rotorgear>
You should probably aks this question on the developer mailing list, to reach people who might know the answer (unfortunately I have no clue....)