|
upkie
11.0.0
Open-source wheeled biped robots
|
| T upkie.utils.filters.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.
| prev_output | Previous filter output, or initial value. |
| new_input | New filter input. |
| dt | Sampling period in seconds. |
| derivative_bounds | Min and max value for the output derivative. |