Autopilot configuration reference: Difference between revisions

Line 361: Line 361:
=== moving-average ===
=== moving-average ===
=== noise-spike ===
=== noise-spike ===
A better name for a noise spike filter would probably have been "rate limit filter". This is exactly what it does: limit the rate of change of the output value. The relevant configuration element is <max-rate-of-change> setting the maximum rate of change of the output property per second.
Example: A transition from 0 to 4 at the input property results in a linear increase of the output property over 8 seconds from 0 to 4 at a rate of 0.5/sec.
<filter>
  <type>noise-spike</type>
  <max-rate-of-change>0.5</max-rate-of-change>
  <input>/some/input</input>
  <output>/some/output</output>
</filter>
=== reciprocal ===
=== reciprocal ===