NimbRo ROS Soccer Package
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
game_default_goalie.h
1 // Walk and kick game state: Default goalie
2 // Author: Philipp Allgeuer <pallgeuer@ais.uni-bonn.de>
3 
4  // Ensure header is only included once
5 #ifndef GAME_DEFAULT_GOALIE_H
6 #define GAME_DEFAULT_GOALIE_H
7 
8 // Includes
9 #include <walk_and_kick/wak_game_state.h>
10 #include <walk_and_kick/game_states/game_default_ball_handling.h>
11 
12 // Walk and kick namespace
13 namespace walk_and_kick
14 {
21  {
22  public:
23  // Constructor
24  GameDefaultGoalie(WAKConfig& config, const SensorVars& SV, const WAKGameShared& WGS, int ID);
25 
26  // Execute function
27  virtual void execute(GameVars& GV, const GameVars& lastGV, bool justActivated);
28 
29  protected:
30  // Handle activation function
31  virtual void handleActivation(bool nowActive);
32 
33  private:
34  // State variables
35  DynamicTargetPose m_cmdTarget;
36  int m_reqBehState;
37  };
38 }
39 
40 #endif
41 // EOF
Configuration struct for the walk and kick node.
Definition: wak_config.h:20
Simple class that encapsulates the variables needed to easily dynamically calculate a target pose...
Definition: wak_game_shared.h:93
A walk and kick game state that implements default goalie behaviours for playing soccer.
Definition: game_default_goalie.h:20
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 walk and kick game state that implements default ball handling for playing soccer.
Definition: game_default_ball_handling.h:19
An interface class for encapsulating all of the data that the walk and kick game states should comman...
Definition: wak_game_vars.h:21