Base class#
#include "navground/core/behavior_modulation.h"
- This class describes a generic behavior modulation that happens right before (pre) and right after (post) computing a command. - Subclassed by navground::core::LimitAccelerationModulation, navground::core::LimitTwistModulation, navground::core::MotorPIDModulation, navground::core::RelaxationModulation - Public Functions - Called right before the evaluation of behavior in Behavior::compute_cmd. - Parameters:
- behavior – The behavior being evaluated 
- time_step – [in] The time step 
 
 
 - Called right after the evaluation of behavior in Behavior::compute_cmd. - Parameters:
- behavior – The behavior being evaluated 
- time_step – [in] The time step 
- cmd – [in] The command just computed by the behavior 
 
 
 - Returns whether the modulation is enabled. - Returns:
- True if enabled. 
 
 - Sets whether the modulation is enabled. - Parameters:
- value – [in] The desired value