ekf2: add kconfig option to enable/disable GNSS yaw

This commit is contained in:
Daniel Agar
2023-03-20 10:12:17 -04:00
parent 8b2205810b
commit 98ff1afc19
13 changed files with 142 additions and 65 deletions
+4 -1
View File
@@ -53,7 +53,6 @@ list(APPEND EKF_SRCS
gnss_height_control.cpp
gps_checks.cpp
gps_control.cpp
gps_yaw_fusion.cpp
gravity_fusion.cpp
height_control.cpp
imu_down_sampler.cpp
@@ -76,6 +75,10 @@ if(CONFIG_EKF2_DRAG_FUSION)
list(APPEND EKF_SRCS drag_fusion.cpp)
endif()
if(CONFIG_EKF2_GNSS_YAW)
list(APPEND EKF_SRCS gps_yaw_fusion.cpp)
endif()
add_library(ecl_EKF
${EKF_SRCS}
)