From 35b32e8cb009c029a68990d765a30fea971bed8b Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Mon, 27 Mar 2023 16:41:41 +0200 Subject: [PATCH] ActuatorEffectivenessHelicopter: spacing --- .../ActuatorEffectiveness/ActuatorEffectivenessHelicopter.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopter.cpp b/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopter.cpp index 43aa507cf7..f403424b67 100644 --- a/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopter.cpp +++ b/src/modules/control_allocator/ActuatorEffectiveness/ActuatorEffectivenessHelicopter.cpp @@ -104,8 +104,7 @@ void ActuatorEffectivenessHelicopter::updateParams() _geometry.yaw_sign = (yaw_ccw == 1) ? -1.f : 1.f; } -bool -ActuatorEffectivenessHelicopter::getEffectivenessMatrix(Configuration &configuration, +bool ActuatorEffectivenessHelicopter::getEffectivenessMatrix(Configuration &configuration, EffectivenessUpdateReason external_update) { if (external_update == EffectivenessUpdateReason::NO_EXTERNAL_UPDATE) { @@ -221,7 +220,6 @@ void ActuatorEffectivenessHelicopter::setSaturationFlag(float coeff, bool &posit void ActuatorEffectivenessHelicopter::getUnallocatedControl(int matrix_index, control_allocator_status_s &status) { - // Note: the values '-1', '1' and '0' are just to indicate a negative, // positive or no saturation to the rate controller. The actual magnitude is not used. if (_saturation_flags.roll_pos) {