[flight_plan] update versatile FP to show auto variables usage

This commit is contained in:
Gautier Hattenberger
2016-02-06 11:07:55 +01:00
parent 579fdf4acd
commit 70e867cad7
+9
View File
@@ -29,6 +29,9 @@
<corner name="_4"/>
</sector>
</sectors>
<variables>
<variable var="roll_step" init="15." min="0." max="50." step="1.0"/>
</variables>
<exceptions/>
<blocks>
<block name="Wait GPS">
@@ -146,6 +149,12 @@
<attitude alt="250" roll="-20.0" until="stage_time > 3" vmode="alt"/>
</while>
</block>
<block name="Steps roll from var">
<while cond="TRUE">
<attitude alt="250" roll="roll_step" until=" stage_time > 3" vmode="alt"/>
<attitude alt="250" roll="-roll_step" until="stage_time > 3" vmode="alt"/>
</while>
</block>
<block name="Steps pitch -10, +10">
<while cond="TRUE">
<attitude alt="250" pitch="10" roll="0.0" until=" stage_time > 2" vmode="alt"/>