22 #include "MAGoodFloorTalk.hpp" 24 #include "types/MABodyMotion.hpp" 25 #include "types/MARobotState.hpp" 26 #include "controllers/MALedsController.hpp" 27 #include "MABodyStateMaster.hpp" 28 #include "MAGoodFloorSkit.hpp" virtual void ActivatingActions() override
Perform actions when the behavior is being activated.
MA::DesiredConnectionMap DesiredConnections
Desired connection map to other behaviors.
Happy skit when the floor surface was recognized correctly.
int PlaySound(const std::string &name)
Play a sound and register the playback.
void SetLifetimeExpirationTime(const unsigned int expiration_time)
Set the lifetime expiration time.
#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 FinishingActions() override
Perform actions when the behavior is being finished.
void StartTransition(MAController &controller, const std::string &transition_name)
Start a transition.
MA::FloorSurfaceSoftnessType MAMapFloorSurfaceToSoftness(const MA::FloorSurfacesType surface)
Map a floor surface to softness.
virtual MABehavior::StimulusLevelType GetCurrentStimulus() override
Get the current behavior stimulus.