Skip to content

Commit

Permalink
Update KalmanFactoryFilter.h
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored Sep 6, 2024
1 parent d1c21e5 commit 32c3a67
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions bbn_wave_freq_m5atomS3/KalmanFactoryFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* After that, this file must be included
*
* \code{.c}
* #include "kalman_factory_filter_init.h"
* #include "KalmanFactoryFilterInit.h"
* \endcode
*
* At this point, the structure \c kalman_filter_acceleration will be created (statically) along with
Expand All @@ -32,10 +32,10 @@
* be created which you will need to call manually in order to set up the filter.
*
* To clean up the defined macros (e.g. in order to be able to create another named Kalman filter),
* you will have to include kalman_factory_cleanup.h:
* you will have to include KalmanFactoryCleanup.h:
*
* \code{.c}
* #include "kalman_factory_cleanup.h"
* #include "KalmanFactoryCleanup.h"
* \endcode
*
* A full example would be
Expand All @@ -45,9 +45,9 @@
* #define KALMAN_NUM_STATES 4
* #define KALMAN_NUM_INPUTS 0
* #include "kalman_factory_filter.h"
* #include "KalmanFactoryFilter.h"
* // NOTE that this is the point to create measurement buffers
* #include "kalman_factory_cleanup.h"
* #include "KalmanFactoryCleanup.h"
* void test_kalman()
* {
Expand Down Expand Up @@ -143,9 +143,8 @@
/* Construct Kalman filter buffers: State */
/************************************************************************/

#include "compiler.h"
#include "matrix.h"
#include "kalman.h"
#include "Matrix.h"
#include "Kalman.h"

#define __KALMAN_BUFFER_A KALMAN_BUFFER_NAME(A)
#define __KALMAN_BUFFER_P KALMAN_BUFFER_NAME(P)
Expand Down

0 comments on commit 32c3a67

Please sign in to comment.