From a36c922fc03166fbe03209461666722a4c9bf00d Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Thu, 23 Mar 2023 14:03:35 +0100 Subject: [PATCH] ActuatorEffectivenessHelicopterTest: adapt to new constructor --- .../ActuatorEffectivenessHelicopterTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopterTest.cpp b/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopterTest.cpp index c0f29f5a20..29ca1f1117 100644 --- a/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopterTest.cpp +++ b/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopterTest.cpp @@ -52,7 +52,7 @@ TEST(ActuatorEffectivenessHelicopterTest, ThrottleCurve) param_set(param, &values[i]); } - ActuatorEffectivenessHelicopter helicopter(nullptr); + ActuatorEffectivenessHelicopter helicopter(nullptr, ActuatorType::MOTORS); // run getEffectivenessMatrix with empty configuration to correctly initialize _first_swash_plate_servo_index ActuatorEffectiveness::Configuration configuration{}; EffectivenessUpdateReason external_update = EffectivenessUpdateReason::MOTOR_ACTIVATION_UPDATE;