5 #ifndef WAK_BEH_STATE_H
6 #define WAK_BEH_STATE_H
9 #include <walk_and_kick/wak_common.h>
10 #include <walk_and_kick/wak_config.h>
11 #include <walk_and_kick/wak_beh_shared.h>
12 #include <walk_and_kick/wak_game_shared.h>
13 #include <walk_and_kick/wak_game_vars.h>
14 #include <walk_and_kick/wak_sensor_vars.h>
15 #include <walk_and_kick/wak_actuator_vars.h>
16 #include <walk_and_kick/wak_ros_interface.h>
17 #include <walk_and_kick/wak_utils.h>
20 namespace walk_and_kick
53 plot_msgs::PlotManagerFS& PM;
59 void reset() { deactivate(); }
62 int id()
const {
return m_id; }
63 std::string name()
const {
return m_name; }
64 const std::string& nameRef()
const {
return m_name; }
65 bool isActive()
const {
return m_active; }
68 void activate() { m_active =
true; handleActivation(
true); }
69 void deactivate() { m_active =
false; handleActivation(
false); }
76 virtual void handleActivation(
bool nowActive) {}
Configuration struct for the walk and kick node.
Definition: wak_config.h:20
Visualisation marker manager for the walk and kick node.
Definition: wak_vis.h:21
An interface class for encapsulating all of the ROS input data to the walk and kick node...
Definition: wak_sensor_vars.h:29
A class that shares the required walk and kick variables amongst the game state classes.
Definition: wak_game_shared.h:31
A simple class for abstracting away the source of the field dimensions.
Definition: wak_utils.h:216
The base class for all walk and kick behaviour states.
Definition: wak_beh_state.h:27
An interface class for encapsulating all of the data that the walk and kick game states should comman...
Definition: wak_game_vars.h:21
A class that shares the required walk and kick variables amongst the behaviour state classes...
Definition: wak_beh_shared.h:48
An interface class for encapsulating all of the data that the walk and kick behaviour states should c...
Definition: wak_actuator_vars.h:22