mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 19:43:33 +08:00
add: metric allocation
This commit is contained in:
@@ -34,6 +34,8 @@
|
|||||||
px4_add_library(ControlAllocation
|
px4_add_library(ControlAllocation
|
||||||
ControlAllocation.cpp
|
ControlAllocation.cpp
|
||||||
ControlAllocation.hpp
|
ControlAllocation.hpp
|
||||||
|
ControlAllocationMetric.cpp
|
||||||
|
ControlAllocationMetric.hpp
|
||||||
ControlAllocationPseudoInverse.cpp
|
ControlAllocationPseudoInverse.cpp
|
||||||
ControlAllocationPseudoInverse.hpp
|
ControlAllocationPseudoInverse.hpp
|
||||||
ControlAllocationSequentialDesaturation.cpp
|
ControlAllocationSequentialDesaturation.cpp
|
||||||
@@ -44,4 +46,5 @@ target_include_directories(ControlAllocation PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|||||||
target_link_libraries(ControlAllocation PRIVATE mathlib)
|
target_link_libraries(ControlAllocation PRIVATE mathlib)
|
||||||
|
|
||||||
px4_add_unit_gtest(SRC ControlAllocationPseudoInverseTest.cpp LINKLIBS ControlAllocation)
|
px4_add_unit_gtest(SRC ControlAllocationPseudoInverseTest.cpp LINKLIBS ControlAllocation)
|
||||||
|
px4_add_unit_gtest(SRC ControlAllocationMetricTest.cpp LINKLIBS ControlAllocation)
|
||||||
# px4_add_functional_gtest(SRC ControlAllocationSequentialDesaturationTest.cpp LINKLIBS ControlAllocation ActuatorEffectiveness)
|
# px4_add_functional_gtest(SRC ControlAllocationSequentialDesaturationTest.cpp LINKLIBS ControlAllocation ActuatorEffectiveness)
|
||||||
|
|||||||
Reference in New Issue
Block a user