#include <motor_model.h>
Definition at line 63 of file motor_model.h.
◆ Filter()
MotorModel::Filter::Filter |
( |
double |
filter_coefficient | ) |
|
◆ filter_max()
double MotorModel::Filter::filter_max |
( |
| ) |
const |
|
inline |
◆ reset()
void MotorModel::Filter::reset |
( |
| ) |
|
◆ sample()
bool MotorModel::Filter::sample |
( |
double |
value | ) |
|
Updates filter with newly sampled value, also tracks max value.
- Returns
- true if new filtered value is large than previous maximum value
Definition at line 418 of file motor_model.cpp.
◆ filter_coefficient_
double MotorModel::Filter::filter_coefficient_ |
|
protected |
◆ max_filtered_value_
double MotorModel::Filter::max_filtered_value_ |
|
protected |
The documentation for this class was generated from the following files: