![]() |
0.4.1
|
Receiver Clock System Model. More...
Public Member Functions | |
std::pair< KeyedMatrix2d< StateKeyType >, KeyedMatrix2d< StateKeyType > > | calcPhiAndQ (double dt, SatelliteSystem satSys, SystemModelCalcAlgorithm algorithm) |
Calculates the state transition matrix (𝚽) and the process noise covariance matrix (𝐐) | |
void | initialize () |
Initializes the receiver clock model. | |
template<typename Scalar, int Size> | |
void | initialize (KeyedMatrix< Scalar, StateKeyType, StateKeyType, Size, Size > &F, KeyedMatrix< Scalar, StateKeyType, StateKeyType, Size, Size > &G, KeyedMatrix< Scalar, StateKeyType, StateKeyType, Size, Size > &W) |
Initializes the receiver clock model. | |
bool | ShowGui (float itemWidth, float unitWidth, const char *id) |
Shows a GUI. | |
template<typename Scalar, int Size> | |
void | updatePhiAndQ (KeyedMatrix< Scalar, StateKeyType, StateKeyType, Size, Size > &Phi, KeyedMatrix< Scalar, StateKeyType, StateKeyType, Size, Size > &Q, const KeyedMatrix< Scalar, StateKeyType, StateKeyType, Size, Size > &F, const KeyedMatrix< Scalar, StateKeyType, StateKeyType, Size, Size > &G, const KeyedMatrix< Scalar, StateKeyType, StateKeyType, Size, Size > &W, double dt, SystemModelCalcAlgorithm algorithm) const |
Updates the provided Phi and Q matrix. | |
Private Member Functions | |
KeyedMatrix< double, StateKeyType, StateKeyType, 2, 2 > | calcProcessNoiseMatrixTaylor (double dt, const SatelliteSystem &satSys, const std::vector< StateKeyType > &keys) const |
Calculates the process noise covariance matrix with Taylor first order. | |
Private Attributes | |
double | _covarianceClkFrequencyDrift |
Covariance of the clock frequency drift [m²/s³]. | |
double | _covarianceClkPhaseDrift |
Covariance of the clock phase drift [m²/s]. | |
double | _gui_covarianceClkFrequencyDrift |
GUI selection for the Standard deviation of the clock frequency drift. | |
Units::CovarianceClkFrequencyDriftUnits | _gui_covarianceClkFrequencyDriftUnit |
Gui selection for the Unit of the input covarianceClkFrequencyDrift parameter. | |
double | _gui_covarianceClkPhaseDrift |
GUI selection for the Standard deviation of the clock phase drift. | |
Units::CovarianceClkPhaseDriftUnits | _gui_covarianceClkPhaseDriftUnit |
Gui selection for the Unit of the input covarianceClkPhaseDrift parameter. | |
Friends | |
void | from_json (const json &j, ReceiverClockModel &data) |
Converts the provided json object into the data object. | |
void | to_json (json &j, const ReceiverClockModel &data) |
Converts the provided data into a json object. | |
Definition at line 58 of file ReceiverClockModel.hpp.
|
inlinenodiscard |
Calculates the state transition matrix (𝚽) and the process noise covariance matrix (𝐐)
[in] | dt | Time step size in [s] |
[in] | satSys | Satellite systems to use as keys |
[in] | algorithm | Algorithm to use for the calculation |
Definition at line 153 of file ReceiverClockModel.hpp.
|
inlinenodiscardprivate |
Calculates the process noise covariance matrix with Taylor first order.
[in] | dt | Time step size in [s] |
[in] | satSys | Satellite system to update the keys for |
[in] | keys | List of keys (bias, drift) |
Definition at line 232 of file ReceiverClockModel.hpp.
|
inline |
Initializes the receiver clock model.
Definition at line 62 of file ReceiverClockModel.hpp.
|
inline |
Initializes the receiver clock model.
[in,out] | F | System model matrix |
[in,out] | G | Noise input matrix |
[in,out] | W | Noise scale matrix |
Definition at line 75 of file ReceiverClockModel.hpp.
|
inline |
Shows a GUI.
[in] | itemWidth | Width of the space for the config items |
[in] | unitWidth | Width of the units |
[in] | id | Unique id for ImGui |
Definition at line 177 of file ReceiverClockModel.hpp.
|
inline |
Updates the provided Phi and Q matrix.
[in,out] | Phi | State transition matrix |
[in,out] | Q | System/Process noise covariance matrix |
[in] | F | System model matrix |
[in] | G | Noise input matrix |
[in] | W | Noise scale matrix |
[in] | dt | Time step size in [s] |
[in] | algorithm | Algorithm to use for the calculation |
Definition at line 106 of file ReceiverClockModel.hpp.
|
friend |
Converts the provided json object into the data object.
[in] | j | Json object with the needed values |
[out] | data | Object to fill from the json |
Definition at line 280 of file ReceiverClockModel.hpp.
|
friend |
Converts the provided data into a json object.
[out] | j | Json object which gets filled with the info |
[in] | data | Data to convert into json |
Definition at line 267 of file ReceiverClockModel.hpp.
|
private |
Covariance of the clock frequency drift [m²/s³].
Definition at line 262 of file ReceiverClockModel.hpp.
|
private |
Covariance of the clock phase drift [m²/s].
Definition at line 254 of file ReceiverClockModel.hpp.
|
private |
GUI selection for the Standard deviation of the clock frequency drift.
Definition at line 259 of file ReceiverClockModel.hpp.
|
private |
Gui selection for the Unit of the input covarianceClkFrequencyDrift parameter.
Definition at line 257 of file ReceiverClockModel.hpp.
|
private |
GUI selection for the Standard deviation of the clock phase drift.
Definition at line 251 of file ReceiverClockModel.hpp.
|
private |
Gui selection for the Unit of the input covarianceClkPhaseDrift parameter.
Definition at line 249 of file ReceiverClockModel.hpp.