24 #include "types/MARobotStateUpdater.hpp" 25 #include "MABehavior.hpp" 27 #include <boost/scoped_ptr.hpp> boost::scoped_ptr< MASurfaceAnalyzer > SurfaceAnalyzer
Surface analyzer.
virtual void UpdateRobotState(MARobotState &state) override
Update the robot state.
virtual void FinishingActions() override
Perform actions when the behavior is being finished.
int RecognizedSurface
Recognized surface.
int WalkStartTimestamp
Remember when the walk started.
int RecognizedCurrentSurface
Recognized current surface.
Robot state updater base class.
virtual void ActivatedStateUpdate() override
Perform actions when the behavior is in activated state.
virtual void ActivatingActions() override
Perform actions when the behavior is being activated.
boost::scoped_ptr< MCTimer > SurfaceRecognitionTimer
Surface recognition timer.
Simple timer class with microsecond precision.
virtual bool IsFailed() override
Whether the behavior is failed.
virtual MABehavior::StimulusLevelType GetCurrentStimulus() override
Get the current behavior stimulus.