From 2bdc895af0bbc9d8792998f7e2c36e12a14476fe Mon Sep 17 00:00:00 2001 From: torsten Date: Tue, 15 Dec 2009 21:29:00 +0000 Subject: [PATCH] document the element --- Docs/README.digitalfilters | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Docs/README.digitalfilters b/Docs/README.digitalfilters index ad7a26e26..dce9a80dd 100644 --- a/Docs/README.digitalfilters +++ b/Docs/README.digitalfilters @@ -27,6 +27,10 @@ The complete XML syntax for a InputValue is infinity -infinity false + + -180.0 + -180.0 + The enclosing element is the element defined in each filter, like , , @@ -124,7 +128,7 @@ other computations are completed. OutputValue ============================================================================== -Each filter drives one to many output properties. No scaling of offsetting is implemented +Each filter drives one to many output properties. No scaling or offsetting is implemented for the output value, these should be done in the filter itself. The output properties are defined in the element by adding elements within the element. For just a single output property, the element @@ -167,6 +171,8 @@ Example: min or max value defaults to 0 (zero). Note: and may also occour within a element. and may be used as a substitude for the corresponding u_xxx element. + Complex Define a periodical input or output value. The phase width is defined by the + child elements and which are of type InputValue Example: Limit the pilot's body temperature to a constant minimum of 36 and a maximum defined in /pilots/max-body-temperature-degc, initialized to 40.0 @@ -183,6 +189,17 @@ Implicit definition of the minimum value of 0 (zero) and defining a maximum of 1 100.0 +This defines the input or output as a periodic value with a phase width of 360, like +the compass rose. Any value reaching the filter's input or leaving the filter at the +output will be transformed to fit into the given range by adding or substracting one phase +width of 360. Values of -270, 90 or 450 applied to this periodical element will allways +result in +90. A value of 630, 270 or -90 will be normalized to -90 in the given example. + + -180.0 + 180.0 + + + Complex Define a condition to enable or disable the filter. For disabled filters, no output computations are performed. Only enabled filters fill the output properties. The default for undefined