Howto talk:Methods to replace the NASAL code with JSBSim code
Jump to navigation
Jump to search
To me this HowTo seems confused and in its present state not very helpful to anyone. Can you try this single component instead of what you propose in this HowTo?
<channel name="JATO"> <switch name="systems/jato/throttle-norm"> <default value="0"/> <test logic = "AND" value = "1"> systems/jato/ignition-on == 1 systems/jato/rocket_number_1 == 1 </test> <output>fcs/throttle-pos-norm[1]</output> </switch> </channel>
This would be a pure JSBSim-side way to control the JATO ignition. Also note that the name of a component should (preferably) be the name of a property tree node that doesn't exist beforehand. AndersG (talk) 15:52, 11 August 2018 (EDT)