upkie 9.0.0
Open-source wheeled biped robots
Loading...
Searching...
No Matches
upkie.utils.filters Namespace Reference

Basic digital filters. More...

Functions

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. More...
 
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. More...
 
float low_pass_filter (float prev_output, float cutoff_period, float new_input, float dt)
 Low-pass filter. More...
 

Variables

 T = TypeVar("T", float, np.ndarray)
 Generic type variable for type annotation of filter functions.
 

Detailed Description

Basic digital filters.