mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 15:27:35 +08:00
ActuatorEffectivenessHelicopterTest: adapt to new constructor
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user