22 #include "MAWalkBalanceToLeft.hpp" 24 #include "controllers/MALegController.hpp" 25 #include "MAWalkBalanceToRight.hpp" #define MABEHAVIOR_DELETE(_behavior)
Delete a behavior safely (mark it dirty if exists)
#define MABEHAVIOR_EXISTS(_behavior)
Check if a behavior exists.
Base for general walk behaviors.
void SetSelfActivationDuration(const int new_duration)
Set the self-activation duration.
std::string MCGetClassName(T *instance=nullptr, const std::string &name_suffix="")
Get a class name.
virtual MABehavior::StimulusLevelType GetCurrentStimulus() override
Get the current behavior stimulus.
void StartTransition(MAController &controller, const std::string &transition_name)
Start a transition.
virtual void ActivatingActions() override
Perform actions when the behavior is being activated.
Balances the body to Right.