Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::SensorFilterBodyFrame Class Reference

#include "OVR_SensorFilter.h"

Inheritance diagram for OVR::SensorFilterBodyFrame:
Inheritance graph
Collaboration diagram for OVR::SensorFilterBodyFrame:
Collaboration graph

Public Member Functions

 SensorFilterBodyFrame (int capacity=SensorFilterBase< Vector3d >::DefaultCapacity)
 
double Variance () const
 
double StdDev () const
 
double Confidence () const
 
void Update (Vector3d value, double deltaT, Quatd deltaQ=Quatd())
 
Vector3d GetFilteredValue () const
 
- Public Member Functions inherited from OVR::SensorFilterBase< Vector3d >
 SensorFilterBase (int capacity=CircularBuffer< Vector3d >::DefaultCapacity)
 
void PushBack (const Vector3d &e)
 
void PushFront (const Vector3d &e)
 
Vector3d PopBack ()
 
Vector3d PopFront ()
 
void Clear ()
 
Vector3d Total () const
 
Vector3d Mean () const
 
Vector3d MeanN (int n) const
 
Vector3d SavitzkyGolaySmooth4 ()
 
Vector3d SavitzkyGolaySmooth8 () const
 
Vector3d SavitzkyGolayDerivative4 () const
 
Vector3d SavitzkyGolayDerivative5 () const
 
Vector3d SavitzkyGolayDerivative12 () const
 
Vector3d SavitzkyGolayDerivativeN (int n) const
 
Vector3d Median () const
 
- Public Member Functions inherited from OVR::CircularBuffer< Vector3d >
 CircularBuffer (int MaxSize=Deque< Vector3d >::DefaultCapacity)
 
 CircularBuffer (UPInt size)
 
 ~CircularBuffer ()
 
bool IsEmpty () const
 
UByteWrite (UPInt size)
 
UByteReadBegin ()
 
void ReadEnd (UPInt size)
 
- Public Member Functions inherited from OVR::InPlaceMutableDeque< Elem >
 InPlaceMutableDeque (int capacity=Deque< Elem >::DefaultCapacity)
 
virtual ~InPlaceMutableDeque ()
 
virtual Elem & PeekBack (int count=0)
 
virtual Elem & PeekFront (int count=0)
 
- Public Member Functions inherited from OVR::Deque< Elem >
 Deque (int capacity=DefaultCapacity)
 
virtual ~Deque (void)
 
virtual void PushBack (const Elem &Item)
 
virtual void PushFront (const Elem &Item)
 
virtual const Elem & PeekBack (int count=0) const
 
virtual const Elem & PeekFront (int count=0) const
 
virtual UPInt GetSize (void) const
 
virtual UPInt GetCapacity (void) const
 
virtual bool IsFull () const
 

Private Member Functions

void PushBack (const Vector3d &e)
 

Private Attributes

double gain
 
double runningTotalLengthSq
 
Quatd Q
 
Vector3d output
 

Additional Inherited Members

- Public Types inherited from OVR::Deque< Elem >
enum  { DefaultCapacity = 500 }
 
- Protected Attributes inherited from OVR::SensorFilterBase< Vector3d >
Vector3d RunningTotal
 
- Protected Attributes inherited from OVR::Deque< Elem >
Elem * Data
 
const int Capacity
 
int Beginning
 
int End
 
int ElemCount
 

Detailed Description

Definition at line 225 of file OVR_SensorFilter.h.

Constructor & Destructor Documentation

OVR::SensorFilterBodyFrame::SensorFilterBodyFrame ( int  capacity = SensorFilterBase<Vector3d>::DefaultCapacity)
inline

Definition at line 254 of file OVR_SensorFilter.h.

Member Function Documentation

double OVR::SensorFilterBodyFrame::Confidence ( ) const
inline

Definition at line 271 of file OVR_SensorFilter.h.

Vector3d OVR::SensorFilterBodyFrame::GetFilteredValue ( ) const
inline

Definition at line 299 of file OVR_SensorFilter.h.

void OVR::SensorFilterBodyFrame::PushBack ( const Vector3d e)
inlineprivatevirtual

Reimplemented from OVR::CircularBuffer< Vector3d >.

Definition at line 240 of file OVR_SensorFilter.h.

double OVR::SensorFilterBodyFrame::StdDev ( ) const
inline

Definition at line 265 of file OVR_SensorFilter.h.

void OVR::SensorFilterBodyFrame::Update ( Vector3d  value,
double  deltaT,
Quatd  deltaQ = Quatd() 
)
inline

Definition at line 279 of file OVR_SensorFilter.h.

double OVR::SensorFilterBodyFrame::Variance ( ) const
inline

Definition at line 259 of file OVR_SensorFilter.h.

Field Documentation

double OVR::SensorFilterBodyFrame::gain
private

Definition at line 229 of file OVR_SensorFilter.h.

Vector3d OVR::SensorFilterBodyFrame::output
private

Definition at line 235 of file OVR_SensorFilter.h.

Quatd OVR::SensorFilterBodyFrame::Q
private

Definition at line 233 of file OVR_SensorFilter.h.

double OVR::SensorFilterBodyFrame::runningTotalLengthSq
private

Definition at line 231 of file OVR_SensorFilter.h.


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