upkie 9.0.0
Open-source wheeled biped robots
|
float low_pass_filter | ( | float | prev_output, |
float | cutoff_period, | ||
float | new_input, | ||
float | dt | ||
) |
Low-pass filter.
prev_output | Previous filter output, or initial value. |
cutoff_period | Time constant of the filter in seconds. |
new_input | New filter input. |
dt | Sampling period in seconds. |