mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 04:33:10 +08:00
ekf2: split out header and rename
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
############################################################################
|
||||
#
|
||||
# Copyright (c) 2015 PX4 Development Team. All rights reserved.
|
||||
# Copyright (c) 2015-2020 PX4 Development Team. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
@@ -39,11 +39,12 @@ px4_add_module(
|
||||
COMPILE_FLAGS
|
||||
STACK_MAX 2400
|
||||
SRCS
|
||||
ekf2_main.cpp
|
||||
EKF2.cpp
|
||||
EKF2.hpp
|
||||
DEPENDS
|
||||
git_ecl
|
||||
ecl_EKF
|
||||
ecl_geo
|
||||
perf
|
||||
Ekf2Utility
|
||||
EKF2Utility
|
||||
)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -31,15 +31,15 @@
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
px4_add_library(Ekf2Utility
|
||||
px4_add_library(EKF2Utility
|
||||
PreFlightChecker.cpp
|
||||
)
|
||||
|
||||
target_include_directories(Ekf2Utility
|
||||
target_include_directories(EKF2Utility
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
target_link_libraries(Ekf2Utility PRIVATE mathlib)
|
||||
target_link_libraries(EKF2Utility PRIVATE mathlib)
|
||||
|
||||
px4_add_unit_gtest(SRC PreFlightCheckerTest.cpp LINKLIBS Ekf2Utility)
|
||||
px4_add_unit_gtest(SRC PreFlightCheckerTest.cpp LINKLIBS EKF2Utility)
|
||||
|
||||
Reference in New Issue
Block a user