Function rc_kalman_empty#
Defined in File kalman.h
Function Documentation#
-
rc_kalman_t rc_kalman_empty(void)#
Critical function for initializing rc_kalman_t structs.
This is a very important function. If your rc_kalman_t struct is not a global variable, then its initial contents cannot be guaranteed to be anything in particular. Therefore it could contain problematic contents which could interfere with functions in this library. Therefore, you should always initialize your filters with rc_kalman_empty() before using with any other function in this library such as rc_kalman_alloc. This serves the same purpose as rc_matrix_empty, rc_vector_empty, rc_filter_empty, and rc_ringbuf_empty.
- Returns:
Empty zero-filled rc_kalman_t struct