Skip to content

Sine and Cosine at xml #526

Answered by bcoconni
matheusdarocha asked this question in Q&A
Discussion options

You must be logged in to vote

I guess you can start from the script c172_elevator_doublet.xml which as far as I can tell does exactly what you are describing:

<set name="fcs/aileron-cmd-norm">
<function>
<sin>
<product>
<difference>
<property> simulation/sim-time-sec </property>
<value> 25 </value>
</difference>
<value> 3.1415927 </value>
</product>
</sin>
</function>
</set>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by matheusdarocha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants