mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
control_allocator: fix PID dependency definition
This commit is contained in:
@@ -41,5 +41,4 @@ target_include_directories(ActuatorEffectiveness PUBLIC ${CMAKE_CURRENT_SOURCE_D
|
|||||||
target_link_libraries(ActuatorEffectiveness
|
target_link_libraries(ActuatorEffectiveness
|
||||||
PRIVATE
|
PRIVATE
|
||||||
mathlib
|
mathlib
|
||||||
PID
|
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -37,8 +37,9 @@ target_compile_options(VehicleActuatorEffectiveness PRIVATE ${MAX_CUSTOM_OPT_LEV
|
|||||||
target_include_directories(VehicleActuatorEffectiveness PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
target_include_directories(VehicleActuatorEffectiveness PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
target_link_libraries(VehicleActuatorEffectiveness
|
target_link_libraries(VehicleActuatorEffectiveness
|
||||||
PRIVATE
|
PRIVATE
|
||||||
mathlib
|
|
||||||
ActuatorEffectiveness
|
ActuatorEffectiveness
|
||||||
|
mathlib
|
||||||
|
PID
|
||||||
)
|
)
|
||||||
|
|
||||||
px4_add_functional_gtest(SRC ActuatorEffectivenessHelicopterTest.cpp LINKLIBS VehicleActuatorEffectiveness)
|
px4_add_functional_gtest(SRC ActuatorEffectivenessHelicopterTest.cpp LINKLIBS VehicleActuatorEffectiveness)
|
||||||
|
|||||||
Reference in New Issue
Block a user