ActuatorEffectivenessHelicopterTest: adapt to new constructor

This commit is contained in:
Matthias Grob
2023-03-23 14:03:35 +01:00
committed by Beat Küng
parent 77d6c722a7
commit a36c922fc0
@@ -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;