24 #include <boost/shared_ptr.hpp> 26 #include <MCThreadLocalData.hpp> 28 #include "core/MAValueGenerators.hpp" 29 #include "types/MABodyTypes.hpp" 30 #include "MAController.hpp" 60 virtual void UpdateRobotState(
MARobotState& state)
override;
63 virtual MA::DeviceList GetMotors()
const override;
64 bool IsMovingMouth()
const;
65 MA_DECLARE_TRANSITION(CloseMouth, IsMouthClosed)
66 MA_DECLARE_TRANSITION_ACTION(Speaking)
67 MA_DECLARE_TRANSITION_ACTION(Burp)
69 bool IsPowerOn()
const;
70 void SetPower(
bool new_state);
73 void RegisterDeviceUpdates();
74 void NotifyDeviceUpdate(
MADevice& device);
77 virtual MA::DeviceGeneratorsMap GetSkitTransitionGenerators(MA::SkitBaseSPtr skit)
override;
81 boost::shared_ptr<MADevice>
Mouth;
boost::shared_ptr< MADevice > Mouth
Mouth.
Base class for the controllers.
Generator container class.
Base class for generators.
A wrapper class to cover boost::thread_specific_ptr/folly::ThreadLocal API on certain targets...
The opened-closed position of the mouth.