Class UDUStochasticCloningEKF¶
Defined in File udu_filter.h
Inheritance Relationships¶
Base Type¶
public lupnt::UDUEKF(Class UDUEKF)
Class Documentation¶
-
class UDUStochasticCloningEKF : public lupnt::UDUEKF¶
UDU EKF with one-step stochastic cloning for time-differenced measurements.
The filter state is
[x_current; x_previous]. DuringPredict, the first block is propagated fromt_{k-1}tot_k, while the second block is set to the previous posterior current state. This lets measurement functions build rows that depend on both the current and previous receiver state, such as TDCP.Public Functions
-
UDUStochasticCloningEKF() = default¶
-
~UDUStochasticCloningEKF() override = default¶
-
void SetBaseStateSize(int base_state_size)¶
-
inline int GetBaseStateSize() const¶
-
virtual void SetState(const State &x) override¶
Initialize the state estimate
x_(and prior/posterior copies) at filter setup.Called once by application setup code before the estimation loop begins. Overridden by
UDUEKF::SetCovariance’s sibling (seeSetCovariance) butSetStateitself is not specialized by the UD filter.- Parameters:
x – Initial state estimate
-
virtual void SetCovariance(const MatXd &P) override¶
Set the initial state covariance
P_(viaFilter::SetCovariance) and immediately factor it intoU_/D_diag_viaSetUd.
-
virtual void Predict(Real t, const State *u = nullptr) override¶
UDU-filter predict step: same propagation as
EKF::Predict(state viaf_dyn_/F_, process noiseQ_viaf_proc_), but reconstructsP_fromU_/D_diag_before propagation and refactors the result back intoU_/D_diag_viaSetUdafterward.
-
UDUStochasticCloningEKF() = default¶