This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_filter_prefill_outputs

Function Documentation

int rc_filter_prefill_outputs(rc_filter_t *f, double out)

Fills all previous outputs of the filter as if they had been equal to ‘out’.

Most useful when starting low-pass filters to prevent unwanted settling time when starting with non-zero input.

Parameters
  • f – Pointer to user’s rc_filter_t struct

  • out[in] output value to fill

Returns

Returns 0 on success or -1 on failure.