/** * @author Emilie Wirbel * * This file was generated by Aldebaran Robotics ModuleGenerator */ #ifndef BUMPER_BUMPER_H #define BUMPER_BUMPER_H #include #include #include #include #include #include namespace AL { class ALBroker; } class Bumper : public AL::ALModule { public: Bumper(boost::shared_ptr broker, const std::string& name); virtual ~Bumper(); /** Overloading ALModule::init(). * This is called right after the module has been loaded */ virtual void init(); /** * This method will be called every time the event RightBumperPressed is raised. */ void onRightBumperPressed(); private: AL::ALMemoryProxy fMemoryProxy; AL::ALTextToSpeechProxy fTtsProxy; boost::shared_ptr fCallbackMutex; float fState; }; #endif // BUMPER_BUMPER_H