5 #ifndef __RD_YARP_STATE_DIRECTOR_HPP__
6 #define __RD_YARP_STATE_DIRECTOR_HPP__
8 #include <yarp/os/PeriodicThread.h>
10 #include "StateDirector.hpp"
42 #endif // __RD_YARP_STATE_DIRECTOR_HPP__
The main, catch-all namespace for Robot Devastation.
Definition: groups.dox:4
virtual bool Start()
Function that starts the State execution using YARP.
Definition: YarpStateDirector.cpp:18
void run()
Function called periodically by YARP, that calls the State.loop() method.
Definition: YarpStateDirector.cpp:52
Base class for each of the states of a FiniteStateMachine.
Definition: State.hpp:18
virtual bool Stop()
Function to stop the attached State.
Definition: YarpStateDirector.cpp:37
static const int DEFAULT_RATE_MS
Period of the calls to the State loop() function.
Definition: YarpStateDirector.hpp:37
StateDirector based on YARP, creates a separate thread.
Definition: YarpStateDirector.hpp:20
A base class for controlling flow of States of a Finite State Machine.
Definition: StateDirector.hpp:19