Skip to content

Commit

Permalink
Ceck for correct UKF define
Browse files Browse the repository at this point in the history
Such that the UKF can be enabled through Kconfig again
  • Loading branch information
gemenerik committed Oct 30, 2024
1 parent edc877f commit 0b086b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/src/estimator/estimator.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ void stateEstimatorSwitchTo(StateEstimatorType estimator) {

#if defined(CONFIG_ESTIMATOR_KALMAN)
#define ESTIMATOR StateEstimatorTypeKalman
#elif defined(CONFIG_UKF_KALMAN)
#elif defined(CONFIG_ESTIMATOR_UKF)
#define ESTIMATOR StateEstimatorTypeUkf
#elif defined(CONFIG_ESTIMATOR_COMPLEMENTARY)
#define ESTIMATOR StateEstimatorTypeComplementary
Expand Down

0 comments on commit 0b086b9

Please sign in to comment.