Public Member Functions | Protected Attributes
MotorModel::SimpleFilter Class Reference

#include <motor_model.h>

Inheritance diagram for MotorModel::SimpleFilter:
Inheritance graph

List of all members.

Public Member Functions

double filter () const
void reset ()
void sample (double value, double filter_coefficient)
 Updates filter with newly sampled value.
 SimpleFilter ()

Protected Attributes

double filtered_value_

Detailed Description

Definition at line 51 of file motor_model.h.

Constructor & Destructor Documentation

Definition at line 429 of file motor_model.cpp.

Member Function Documentation

double MotorModel::SimpleFilter::filter ( ) const [inline]

Definition at line 57 of file motor_model.h.

Reimplemented in MotorModel::Filter.

Definition at line 441 of file motor_model.cpp.

void MotorModel::SimpleFilter::sample ( double  value,
double  filter_coefficient 

Updates filter with newly sampled value.

Definition at line 406 of file motor_model.cpp.

Member Data Documentation

Definition at line 59 of file motor_model.h.

The documentation for this class was generated from the following files:

Author(s): Rob Wheeler , Derek King
autogenerated on Fri Aug 28 2015 12:09:44