mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 12:13:35 +08:00
ekf2: move GNSS files to aid_sources/gnss
This commit is contained in:
@@ -170,16 +170,16 @@ endif()
|
|||||||
|
|
||||||
if(CONFIG_EKF2_GNSS)
|
if(CONFIG_EKF2_GNSS)
|
||||||
list(APPEND EKF_SRCS
|
list(APPEND EKF_SRCS
|
||||||
EKF/gnss_height_control.cpp
|
EKF/aid_sources/gnss/gnss_height_control.cpp
|
||||||
EKF/gps_checks.cpp
|
EKF/aid_sources/gnss/gps_checks.cpp
|
||||||
EKF/gps_control.cpp
|
EKF/aid_sources/gnss/gps_control.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
list(APPEND EKF_LIBS yaw_estimator)
|
if(CONFIG_EKF2_GNSS_YAW)
|
||||||
endif()
|
list(APPEND EKF_SRCS EKF/aid_sources/gnss/gps_yaw_fusion.cpp)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(CONFIG_EKF2_GNSS_YAW)
|
list(APPEND EKF_LIBS yaw_estimator)
|
||||||
list(APPEND EKF_SRCS EKF/gps_yaw_fusion.cpp)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CONFIG_EKF2_GRAVITY_FUSION)
|
if(CONFIG_EKF2_GRAVITY_FUSION)
|
||||||
@@ -219,8 +219,6 @@ endif()
|
|||||||
|
|
||||||
add_subdirectory(EKF)
|
add_subdirectory(EKF)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
px4_add_module(
|
px4_add_module(
|
||||||
MODULE modules__ekf2
|
MODULE modules__ekf2
|
||||||
MAIN ekf2
|
MAIN ekf2
|
||||||
|
|||||||
@@ -88,19 +88,19 @@ endif()
|
|||||||
|
|
||||||
if(CONFIG_EKF2_GNSS)
|
if(CONFIG_EKF2_GNSS)
|
||||||
list(APPEND EKF_SRCS
|
list(APPEND EKF_SRCS
|
||||||
gnss_height_control.cpp
|
aid_sources/gnss/gnss_height_control.cpp
|
||||||
gps_checks.cpp
|
aid_sources/gnss/gps_checks.cpp
|
||||||
gps_control.cpp
|
aid_sources/gnss/gps_control.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(CONFIG_EKF2_GNSS_YAW)
|
||||||
|
list(APPEND EKF_SRCS aid_sources/gnss/gps_yaw_fusion.cpp)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_subdirectory(yaw_estimator)
|
add_subdirectory(yaw_estimator)
|
||||||
list(APPEND EKF_LIBS yaw_estimator)
|
list(APPEND EKF_LIBS yaw_estimator)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CONFIG_EKF2_GNSS_YAW)
|
|
||||||
list(APPEND EKF_SRCS gps_yaw_fusion.cpp)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CONFIG_EKF2_GRAVITY_FUSION)
|
if(CONFIG_EKF2_GRAVITY_FUSION)
|
||||||
list(APPEND EKF_SRCS gravity_fusion.cpp)
|
list(APPEND EKF_SRCS gravity_fusion.cpp)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user