From cb8bb6bae0daf07e9abce53140f0af8be059f4ac Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Tue, 21 Feb 2023 16:20:32 +0100 Subject: [PATCH] ActuatorEffectiveness: add comments to EffectivenessUpdateReason from information previously only available in the commit message. --- .../actuator_effectiveness/ActuatorEffectiveness.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/control_allocation/actuator_effectiveness/ActuatorEffectiveness.hpp b/src/lib/control_allocation/actuator_effectiveness/ActuatorEffectiveness.hpp index 0ddd4988f3..444714b960 100644 --- a/src/lib/control_allocation/actuator_effectiveness/ActuatorEffectiveness.hpp +++ b/src/lib/control_allocation/actuator_effectiveness/ActuatorEffectiveness.hpp @@ -62,11 +62,10 @@ enum class ActuatorType { enum class EffectivenessUpdateReason { NO_EXTERNAL_UPDATE = 0, - CONFIGURATION_UPDATE = 1, - MOTOR_ACTIVATION_UPDATE = 2, + CONFIGURATION_UPDATE = 1, ///< config changes (parameter) + MOTOR_ACTIVATION_UPDATE = 2, ///< motor failure detected or certain redundant motors are switched off to save energy }; - class ActuatorEffectiveness { public: