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_reset

Function Documentation

int rc_filter_reset(rc_filter_t *f)

Resets all previous inputs and outputs to 0. Also resets the step counter & saturation flag.

This is sufficient to start the filter again as if it were just created.

Parameters

f – Pointer to user’s rc_filter_t struct

Returns

Returns 0 on success or -1 on failure.