Public Member Functions | Private Attributes | List of all members
rosflight_firmware::Sensors::OutlierFilter Class Reference

Public Member Functions

void init (float max_change_rate, float update_rate, float center)
 
 OutlierFilter ()
 
bool update (float new_val, float *val)
 

Private Attributes

float center_
 
bool init_ = false
 
float max_change_
 
int window_size_
 

Detailed Description

Definition at line 204 of file sensors.h.

Constructor & Destructor Documentation

rosflight_firmware::Sensors::OutlierFilter::OutlierFilter ( )
inline

Definition at line 213 of file sensors.h.

Member Function Documentation

void rosflight_firmware::Sensors::OutlierFilter::init ( float  max_change_rate,
float  update_rate,
float  center 
)

Definition at line 640 of file sensors.cpp.

bool rosflight_firmware::Sensors::OutlierFilter::update ( float  new_val,
float *  val 
)

Definition at line 648 of file sensors.cpp.

Member Data Documentation

float rosflight_firmware::Sensors::OutlierFilter::center_
private

Definition at line 208 of file sensors.h.

bool rosflight_firmware::Sensors::OutlierFilter::init_ = false
private

Definition at line 210 of file sensors.h.

float rosflight_firmware::Sensors::OutlierFilter::max_change_
private

Definition at line 207 of file sensors.h.

int rosflight_firmware::Sensors::OutlierFilter::window_size_
private

Definition at line 209 of file sensors.h.


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


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Fri Oct 9 2020 03:17:21