0.2.0
Loading...
Searching...
No Matches
NAV::PolynomialCycleSlipDetector< Key > Class Template Reference

Cycle-slip detection. More...

Public Types

using Strategy
 Strategies for fitting.
 

Public Member Functions

PolynomialCycleSlipDetectorResult checkForCycleSlip (const Key &key, InsTime insTime, double measurementDifference, double threshold)
 Checks for a cycle slip.
 
void clear ()
 Empties the collected polynomials.
 
Strategy getFitStrategy () const
 Get the strategy used for fitting.
 
size_t getPolynomialDegree () const
 Get the degree of the polynomial which is used for fitting.
 
size_t getWindowSize () const
 Get the window size for the polynomial fit.
 
bool isEnabled () const
 Is the cycle-slip detector enabled?
 
 PolynomialCycleSlipDetector (size_t windowSize, size_t polyDegree, bool enabled=true)
 Constructor.
 
void reset (const Key &key)
 Reset the polynomial for the given combination.
 
void setEnabled (bool enabled)
 Sets the enabled state.
 
void setFitStrategy (Strategy strategy)
 Sets the strategy used for fitting.
 
void setPolynomialDegree (size_t polyDegree)
 Sets the degree of the polynomial which is used for fitting.
 
void setWindowSize (size_t windowSize)
 Sets the amount of points used for the fit (sliding window)
 

Detailed Description

template<typename Key>
class NAV::PolynomialCycleSlipDetector< Key >

Cycle-slip detection.

Constructor & Destructor Documentation

◆ PolynomialCycleSlipDetector()

template<typename Key >
NAV::PolynomialCycleSlipDetector< Key >::PolynomialCycleSlipDetector ( size_t windowSize,
size_t polyDegree,
bool enabled = true )
inlineexplicit

Constructor.

Parameters
[in]windowSizeAmount of points to use for the fit (sliding window)
[in]polyDegreePolynomial degree to fit
[in]enabledWhether the detector is enabled

Member Function Documentation

◆ checkForCycleSlip()

template<typename Key >
PolynomialCycleSlipDetectorResult NAV::PolynomialCycleSlipDetector< Key >::checkForCycleSlip ( const Key & key,
InsTime insTime,
double measurementDifference,
double threshold )
inline

Checks for a cycle slip.

Parameters
[in]keyKey of the detector
[in]insTimeTime of the measurement
[in]measurementDifferenceMeasurement difference
[in]thresholdThreshold to categorize a measurement as cycle slip
Returns
Cycle-slip result

◆ reset()

template<typename Key >
void NAV::PolynomialCycleSlipDetector< Key >::reset ( const Key & key)
inline

Reset the polynomial for the given combination.

Parameters
[in]keyKey of the detector

◆ setEnabled()

template<typename Key >
void NAV::PolynomialCycleSlipDetector< Key >::setEnabled ( bool enabled)
inline

Sets the enabled state.

Parameters
[in]enabledWhether to enabled or not

◆ setFitStrategy()

template<typename Key >
void NAV::PolynomialCycleSlipDetector< Key >::setFitStrategy ( Strategy strategy)
inline

Sets the strategy used for fitting.

Parameters
[in]strategyStrategy for fitting

◆ setPolynomialDegree()

template<typename Key >
void NAV::PolynomialCycleSlipDetector< Key >::setPolynomialDegree ( size_t polyDegree)
inline

Sets the degree of the polynomial which is used for fitting.

Parameters
[in]polyDegreePolynomial degree to fit

◆ setWindowSize()

template<typename Key >
void NAV::PolynomialCycleSlipDetector< Key >::setWindowSize ( size_t windowSize)
inline

Sets the amount of points used for the fit (sliding window)

Parameters
[in]windowSizeAmount of points to use for the fit

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