22 #include "MAGoodFloorSkit.hpp" 24 #include "core/MARandomness.hpp" 25 #include "controllers/MAHeadController.hpp" 26 #include "controllers/MALedsController.hpp" 27 #include "controllers/MALegController.hpp" 28 #include "controllers/MATailController.hpp" 29 #include "MABodyStateMaster.hpp" 30 #include "MATailToBack.hpp" 48 std::string ScaleStr(
':'+
MCToStr((
float)SkitDurationScale / 100));
51 SkitName =
"stand_happyfeet1";
53 SkitName =
"stand_happyfeet4";
55 SkitName =
"stand_happyfeet_joy";
#define MA_RANDOM_POINT_1(_variable_name, _min, _max)
Set a random point with one value.
virtual void ActivatedStateUpdate() override
Perform actions when the behavior is in activated state.
virtual void FinishingActions() override
Perform actions when the behavior is being finished.
Move the tail to the back behavior.
int GetElapsedActivatedStateTime() const
Get the elapsed activated state time.
MA::DesiredConnectionMap DesiredConnections
Desired connection map to other behaviors.
std::string MCToStr(const T value, bool hex_manipulator=false)
Convert an other type to string with std::stringstream.
StateType GetState() const
Get the behavior state.
#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.
virtual void ActivatingActions() override
Perform actions when the behavior is being activated.
void StartTransition(MAController &controller, const std::string &transition_name)
Start a transition.
virtual MABehavior::StimulusLevelType GetCurrentStimulus() override
Get the current behavior stimulus.