NimbRo ROS Soccer Package
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
walk_and_kick::GameVars Class Reference

An interface class for encapsulating all of the data that the walk and kick game states should command. More...

#include <wak_game_vars.h>

Public Types

enum  BTType {
  BTT_UNKNOWN = 0, BTT_GOAL, BTT_POSE, BTT_COMPASS,
  BTT_COUNT
}
 
enum  FootSelection { FS_LEFT_FOOT = -1, FS_EITHER_FOOT = 0, FS_RIGHT_FOOT = 1 }
 

Public Member Functions

void reset ()
 
bool coerceEnums ()
 
char ballTargetTypeChar () const
 
const std::string & ballTargetTypeName () const
 
bool suggestLeftFoot () const
 
bool suggestRightFoot () const
 
bool noSuggestedFoot () const
 

Static Public Member Functions

static bool ballTargetTypeValid (int type)
 
static bool ballTargetTypeValid (BTType type)
 
static char ballTargetTypeChar (BTType type)
 
static const std::string & ballTargetTypeName (BTType type)
 
static const std::string & footSelectionName (FootSelection foot)
 

Public Attributes

int forceBehStateByID
 
FootSelection suggestFoot
 
bool dribbleIfPossible
 
bool kickIfPossible
 
DiveDirection diveIfPossible
 
float ballTargetConf
 
Vec2f ballTargetDir
 
float ballTargetWedge
 
BTType ballTargetType
 
Vec3f targetPose
 
float targetPoseTol
 
bool targetPoseValid
 

Detailed Description

An interface class for encapsulating all of the data that the walk and kick game states should command.

This class is generated by WAKGameState and its derived classes, and used by WAKBehState and its derived classes.


The documentation for this class was generated from the following files: