upkie 9.0.0
Open-source wheeled biped robots
Loading...
Searching...
No Matches

◆ abs_bounded_derivative_filter()

T abs_bounded_derivative_filter ( T  prev_output,
T  new_input,
float  dt,
T  max_derivative 
)

Filter signal so that the absolute values of its output and output derivative stay within bounds.

Parameters
prev_outputPrevious filter output, or initial value.
new_inputNew filter input.
dtSampling period in seconds.
max_derivativeMaximum absolute value of the output derivative.
Returns
New filter output.