Skip to content

Fix dependency problem to outlier filters #1270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ INCLUDES += -I$(srctree)/src/deck/interface -I$(srctree)/src/deck/drivers/interf
INCLUDES += -I$(srctree)/src/drivers/interface -I$(srctree)/src/drivers/bosch/interface
INCLUDES += -I$(srctree)/src/drivers/esp32/interface
INCLUDES += -I$(srctree)/src/hal/interface
INCLUDES += -I$(srctree)/src/modules/interface -I$(srctree)/src/modules/interface/kalman_core -I$(srctree)/src/modules/interface/lighthouse
INCLUDES += -I$(srctree)/src/modules/interface -I$(srctree)/src/modules/interface/kalman_core -I$(srctree)/src/modules/interface/lighthouse -I$(srctree)/src/modules/interface/outlierfilter
INCLUDES += -I$(srctree)/src/modules/interface/cpx -I$(srctree)/src/modules/interface/p2pDTR -I$(srctree)/src/modules/interface/controller -I$(srctree)/src/modules/interface/estimator
INCLUDES += -I$(srctree)/src/utils/interface -I$(srctree)/src/utils/interface/kve -I$(srctree)/src/utils/interface/lighthouse -I$(srctree)/src/utils/interface/tdoa
INCLUDES += -I$(LIB)/FatFS
Expand Down
1 change: 1 addition & 0 deletions src/modules/src/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ obj-y += controller/
obj-y += estimator/
obj-y += cpx/
obj-y += p2pDTR/
obj-y += outlierfilter/
7 changes: 7 additions & 0 deletions src/modules/src/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ config CONTROLLER_OOT
config ESTIMATOR_KALMAN_ENABLE
bool "Enable Kalman Estimator"
default y
select ESTIMATOR_OUTLIER_FILTERS
help
Enable the Kalman (EKF) estimator.

Expand All @@ -62,10 +63,16 @@ config ESTIMATOR_KALMAN_TDOA_OUTLIERFILTER_FALLBACK

config ESTIMATOR_UKF_ENABLE
bool "Enable error-state UKF estimator"
select ESTIMATOR_OUTLIER_FILTERS
default n
help
Enable the (error-state unscented) Kalman filter (UKF) estimator

config ESTIMATOR_OUTLIER_FILTERS
bool
help
Include outlier filters for estimators

choice
prompt "Default estimator"
default CONFIG_ESTIMATOR_AUTO_SELECT
Expand Down
3 changes: 0 additions & 3 deletions src/modules/src/kalman_core/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ obj-y += mm_tdoa.o
obj-y += mm_tdoa_robust.o
obj-y += mm_tof.o
obj-y += mm_yaw_error.o
obj-y += outlierFilterTdoa.o
obj-$(CONFIG_ESTIMATOR_KALMAN_TDOA_OUTLIERFILTER_FALLBACK) += outlierFilterTdoaSteps.o
obj-y += outlierFilterLighthouse.o
3 changes: 3 additions & 0 deletions src/modules/src/outlierfilter/Kbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
obj-$(CONFIG_ESTIMATOR_OUTLIER_FILTERS) += outlierFilterTdoa.o
obj-$(CONFIG_ESTIMATOR_KALMAN_TDOA_OUTLIERFILTER_FALLBACK) += outlierFilterTdoaSteps.o
obj-$(CONFIG_ESTIMATOR_OUTLIER_FILTERS) += outlierFilterLighthouse.o
4 changes: 3 additions & 1 deletion tools/test/gcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ compiler:
- 'src/modules/interface/lighthouse/'
- 'src/modules/interface/estimator/'
- 'src/modules/interface/controller/'
- 'src/modules/interface/outlierfilter/'
- 'src/modules/src/'
- 'src/modules/src/kalman_core/'
- 'src/modules/src/lighthouse/'
- 'src/platform/interface/'
- 'src/modules/src/outlierfilter/'
- 'src/platform/interface/'
- 'src/platform/src/'
- 'src/utils/interface/'
- 'src/utils/interface/lighthouse/'
Expand Down