Autopilot configuration reference: Difference between revisions

(Input, Reference and Output)
Line 191: Line 191:


=== Output Values ===
=== Output Values ===
After processing of a component, the resulting value passes a transformation stage where it can be clipped or normalized into a given period. Periodic values such as angular properties may be normalized into a given period by adding a <period> element, defining the lower and upper bounds of the period. Additionally, a maximun and a minimum value may be given which will guarantee that the output value will ever exceed a defined value.
'''Note:''' Both, periodical normalization and clipping may be defined. If both are given, the value will be normalized first and the clipping will be applied to the normalized value.
The following example shifts the computed value into the interval of [-180..180] thereafter being limited into the interval of [-30..30].
<output>/some/property</output>
<period>
  <min>-180</min>
  <max>180</max>
</period>
<min>-30</min>
<max>30</max>


== filter ==
== filter ==