xsens_imu
Public Member Functions | Public Attributes | List of all members
xsens::TimeSyncPrivate Class Reference

Private data for the TimeSync class. More...

Public Member Functions

void addHistoryItem (const TimeSyncHistoryUnit &tu)
 Add an item to the history, updating the m_historyMaxIndex value if necessary. More...
 
double historyMax () const
 Maximum tCR value in the history. More...
 
int lastIndex () const
 Index of the last (most recent) item in the history. More...
 
int firstIndex () const
 Index of the first (oldest) item in the history. More...
 

Public Attributes

int m_historySize
 The number of items stored in the history. More...
 
int m_quickSkewWindow
 The number of steps to apply the quick skew estimation algorithm. More...
 
double m_a
 Fuzzy factor. More...
 
double m_C
 Stability factor (lower is more stable) More...
 
TimeStamp m_tS0
 Linearization point for S (external) values. More...
 
TimeStamp m_tR0
 Linearization point for R (local) values. More...
 
double m_initialSkew
 Initial skew to apply. When 0, the skew will be estimated automatically. More...
 
double m_skew
 Last known computed skew. More...
 
double m_outlierThreshold
 Dynamic threshold for detecting outliers in the update function. More...
 
double m_outlierDelta
 Used to move m_outlierThreshold up or down (lower value is less movement) More...
 
double m_correction
 Last known correction value computed from the history. More...
 
double m_tMc
 Linearization point for the xsens::TimeSync::localTime and xsens::TimeSync::externalTime functions. More...
 
double m_tC
 Last known computed time value, used in update and time conversion functions. More...
 
int m_historyMaxIndex
 Index of the maximum tCR value in the history. More...
 
int m_historyCount
 Items currently in the history. More...
 
int m_historyIndex
 Index of the next item to write in the history (in a full history this is also the oldest item index) More...
 
TimeSyncHistoryUnitm_history
 The time sync history buffer, implemented as a circular buffer. More...
 
bool m_initialized
 Whether an initial estimate has been made and the normal time sync estimation can take place. More...
 

Detailed Description

Private data for the TimeSync class.

Member Function Documentation

void xsens::TimeSyncPrivate::addHistoryItem ( const TimeSyncHistoryUnit tu)

Add an item to the history, updating the m_historyMaxIndex value if necessary.

int xsens::TimeSyncPrivate::firstIndex ( ) const

Index of the first (oldest) item in the history.

double xsens::TimeSyncPrivate::historyMax ( ) const

Maximum tCR value in the history.

int xsens::TimeSyncPrivate::lastIndex ( ) const

Index of the last (most recent) item in the history.

Member Data Documentation

double xsens::TimeSyncPrivate::m_a

Fuzzy factor.

double xsens::TimeSyncPrivate::m_C

Stability factor (lower is more stable)

double xsens::TimeSyncPrivate::m_correction

Last known correction value computed from the history.

TimeSyncHistoryUnit* xsens::TimeSyncPrivate::m_history

The time sync history buffer, implemented as a circular buffer.

int xsens::TimeSyncPrivate::m_historyCount

Items currently in the history.

int xsens::TimeSyncPrivate::m_historyIndex

Index of the next item to write in the history (in a full history this is also the oldest item index)

int xsens::TimeSyncPrivate::m_historyMaxIndex

Index of the maximum tCR value in the history.

int xsens::TimeSyncPrivate::m_historySize

The number of items stored in the history.

bool xsens::TimeSyncPrivate::m_initialized

Whether an initial estimate has been made and the normal time sync estimation can take place.

double xsens::TimeSyncPrivate::m_initialSkew

Initial skew to apply. When 0, the skew will be estimated automatically.

double xsens::TimeSyncPrivate::m_outlierDelta

Used to move m_outlierThreshold up or down (lower value is less movement)

double xsens::TimeSyncPrivate::m_outlierThreshold

Dynamic threshold for detecting outliers in the update function.

int xsens::TimeSyncPrivate::m_quickSkewWindow

The number of steps to apply the quick skew estimation algorithm.

double xsens::TimeSyncPrivate::m_skew

Last known computed skew.

double xsens::TimeSyncPrivate::m_tC

Last known computed time value, used in update and time conversion functions.

double xsens::TimeSyncPrivate::m_tMc

Linearization point for the xsens::TimeSync::localTime and xsens::TimeSync::externalTime functions.

TimeStamp xsens::TimeSyncPrivate::m_tR0

Linearization point for R (local) values.

TimeStamp xsens::TimeSyncPrivate::m_tS0

Linearization point for S (external) values.


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