Function rc_kalman_reset¶
Defined in File kalman.h
Function Documentation¶
-
int rc_kalman_reset(rc_kalman_t *kf)¶
reset state and dynamics of the filter to 0
Q and R are constant, and therefore not reset. P is set to identity*P_init.
- Parameters
kf – pointer to struct to be reset
- Returns
0 on success, -1 on failure