Ginan
|
Object to hold an individual measurement. More...
Object to hold an individual measurement.
Includes the measurement itself, (or its innovation) and design matrix entries Adding design matrix entries for states that do not yet exist will create and add new states to the measurement's kalman filter object.
Public Member Functions | |
KFMeasEntry (KFState *kfState_ptr, KFKey obsKey={}) | |
KFMeasEntry (const KFState *constKfState_ptr, KFKey obsKey={}) | |
KFMeasEntry () | |
void | addNoiseEntry (const KFKey kfKey, const double value, const double variance) |
Adds a noise element for this measurement. | |
void | addDsgnEntry (const KFKey &kfKey, const double value, const InitialState &initialState={}) |
Adds a design matrix entry for this measurement. | |
void | setNoise (const double value) |
Adds the measurement noise entry for this measurement. | |
void | setValue (const double value) |
Adds the actual measurement value for this measurement. | |
void | setInnov (const double value) |
Adds the innovation value for this measurement. | |
Data Fields | |
KFState * | kfState_ptr = nullptr |
Pointer to filter object that measurements are referencing. | |
const KFState * | constKfState_ptr = nullptr |
Pointer to filter object that measurements are referencing. | |
double | valid = true |
Optional parameter to invalidate a measurement (to avoid needing to delete it and reshuffle a vector) | |
double | value = 0 |
Value of measurement (for linear systems) | |
double | noise = 0 |
Noise of measurement. | |
double | innov = 0 |
Innovation of measurement (for non-linear systems) | |
KFKey | obsKey = {} |
Optional labels to be used in output traces. | |
map< E_Component, ComponentsDetails > | componentsMap |
map< KFKey, double > | noiseElementMap |
map< KFKey, double > | designEntryMap |
map< KFKey, double > | usedValueMap |
map< KFKey, double > | noiseEntryMap |
map< string, void * > | metaDataMap |
|
inline |
|
inline |
Adds a design matrix entry for this measurement.
kfKey | Key to determine which state parameter is affected |
value | Design matrix entry value |
initialState | Initial conditions for new states |
|
inline |
Adds a noise element for this measurement.
kfKey | Key to determine the origin of the noise |
value | Noise entry matrix entry value |
variance | Variance of noise element |
|
inline |
Adds the innovation value for this measurement.
value | Innovation entry value |
|
inline |
Adds the measurement noise entry for this measurement.
value | Measurement noise matrix entry value |
|
inline |
Adds the actual measurement value for this measurement.
value | Actual measurement entry value |
map<E_Component, ComponentsDetails> KFMeasEntry::componentsMap |
const KFState* KFMeasEntry::constKfState_ptr = nullptr |
Pointer to filter object that measurements are referencing.
map<KFKey, double> KFMeasEntry::designEntryMap |
double KFMeasEntry::innov = 0 |
Innovation of measurement (for non-linear systems)
KFState* KFMeasEntry::kfState_ptr = nullptr |
Pointer to filter object that measurements are referencing.
map<string, void*> KFMeasEntry::metaDataMap |
double KFMeasEntry::noise = 0 |
Noise of measurement.
map<KFKey, double> KFMeasEntry::noiseElementMap |
map<KFKey, double> KFMeasEntry::noiseEntryMap |
KFKey KFMeasEntry::obsKey = {} |
Optional labels to be used in output traces.
map<KFKey, double> KFMeasEntry::usedValueMap |
double KFMeasEntry::valid = true |
Optional parameter to invalidate a measurement (to avoid needing to delete it and reshuffle a vector)
double KFMeasEntry::value = 0 |
Value of measurement (for linear systems)