Skip to content

Struct dp_state_filter_kalman_state_t

ClassList > dp_state_filter_kalman_state_t

A third-order loop whose gains come from a covariance recursion. More...

  • #include <state_filter_kalman_core.h>

Public Attributes

Type Name
dp_state_filter_state_t base
double p
double p0
double q
double r

Detailed Description

The base is first: its kp, ki, kr are the gains in force (rewritten each update), its integ and rate the estimates, its bn and t the steady-state bandwidth and the update period. The covariance is of the PREDICTED state (phase, frequency, rate), its six distinct entries in the order p00 p01 p02 p11 p12 p22.

Public so an embedder can hold one by value (the init functions need no heap). Pass a pointer to this type to the kalman functions; the base's functions that only read (dp_state_filter_stable(), dp_state_filter_bandwidth(), the fields) accept &k->base, and those that write do not (they do not know the covariance).

Public Attributes Documentation

variable base

dp_state_filter_state_t dp_state_filter_kalman_state_t::base;

gains in force, estimates, bn, t


variable p

double dp_state_filter_kalman_state_t::p[6];

covariance of the predicted state


variable p0

double dp_state_filter_kalman_state_t::p0[6];

covariance reset() returns to


variable q

double dp_state_filter_kalman_state_t::q;

rate-walk variance per update


variable r

double dp_state_filter_kalman_state_t::r;

detector-error variance per update



The documentation for this class was generated from the following file native/inc/doppler/state_filter_kalman/state_filter_kalman_core.h