22 #include "MAWalkAway.hpp" 24 #include "core/MARandomness.hpp" 25 #include "types/MAGoals.hpp" 26 #include "types/MARobotState.hpp" 27 #include "MABodyAdjustStandingPosture.hpp" 28 #include "MAWalkMaster.hpp" 49 return MA::RobotState->Goals->DesiredForwardWalkDuration == 0;
57 MA::RobotState->Goals->DesiredForwardWalkDuration = Duration;
#define MA_RANDOM_POINT_1(_variable_name, _min, _max)
Set a random point with one value.
#define MABEHAVIOR_EXISTS(_behavior)
Check if a behavior exists.
#define MABEHAVIOR_CREATE(_behavior, _master,...)
Create behaviors with custom constructor safely.
virtual bool IsFinished() override
Whether the behavior is finished.
std::string MCGetClassName(T *instance=nullptr, const std::string &name_suffix="")
Get a class name.
virtual void ActivatingActions() override
Perform actions when the behavior is being activated.
virtual MABehavior::StimulusLevelType GetCurrentStimulus() override
Get the current behavior stimulus.