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

◆ bounded_derivative_filter()

T bounded_derivative_filter ( T  prev_output,
T  new_input,
float  dt,
Tuple[T, T derivative_bounds 
)

Filter signal so that its output and output derivative stay within bounds.

Parameters
prev_outputPrevious filter output, or initial value.
new_inputNew filter input.
dtSampling period in seconds.
derivative_boundsMin and max value for the output derivative.
Returns
New filter output.