22 #include "MAStandFartSkit.hpp" 24 #include "core/MARandomness.hpp" 25 #include "types/MARobotState.hpp" 26 #include "controllers/MALegController.hpp" 27 #include "MAStandFunnySkitFinish.hpp" 45 SkitName =
"SKIT:stand_fart1";
48 SkitName =
"SKIT:stand_fart2";
51 SkitName =
"SKIT:stand_fart1_reverse";
53 SkitName =
"SKIT:stand_fart2_reverse";
#define MA_RANDOM_POINT_1(_variable_name, _min, _max)
Set a random point with one value.
int GetElapsedActivatedStateTime() const
Get the elapsed activated state time.
int PlaySound(const std::string &name)
Play a sound and register the playback.
std::string MCToStr(const T value, bool hex_manipulator=false)
Convert an other type to string with std::stringstream.
virtual MABehavior::StimulusLevelType GetCurrentStimulus() override
Get the current behavior stimulus.
Finish a funny skit while standing.
virtual void FinishingActions() override
Perform actions when the behavior is being finished.
#define MABEHAVIOR_CREATE(_behavior, _master,...)
Create behaviors with custom constructor safely.
std::string MCGetClassName(T *instance=nullptr, const std::string &name_suffix="")
Get a class name.
void ActivatedStateUpdate() override
Perform actions when the behavior is in activated state.
MABehavior * GetMaster()
Get the master behavior.
virtual void ActivatingActions() override
Perform actions when the behavior is being activated.
void StartTransition(MAController &controller, const std::string &transition_name)
Start a transition.