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

An interface class for encapsulating all of the ROS input data to the walk and kick node. More...

#include <wak_sensor_vars.h>

Public Member Functions

 SensorVars (WAKConfig &config, WAKRosInterface &RI)
 
void update (const ros::Time &now)
 
bool isInvalidRole () const
 
bool isFieldPlayer () const
 
bool isGoalie () const
 
bool isRelaxed () const
 
bool isIniting () const
 
bool isStanding () const
 
bool isWalking () const
 
bool isKicking () const
 
bool isFallen () const
 

Public Attributes

WAKConfigconfig
 
const FieldDimensions field
 
ros::Time now
 
float timeStanding
 
GCVars GC
 
bool GCDataFresh
 
bool GCExtraDataFresh
 
bool listenToGC
 
bool isPenaltyShoot
 
bool isPenaltyTaker
 
KickoffType kickoffType
 
bool playOnYellow
 
int goalSign
 
bool playAsCyan
 
GameCommand gameCommand
 
bool gameCommandIsNew
 
GameRole gameRole
 
PlayState playState
 
bool playStateIsNew
 
float timePlaying
 
float compassHeading
 
float robotPoseConf
 
bool haveRobotPose
 
bool robotPoseIsNew
 
float robotPoseTimeAgo
 
float robotPoseDur
 
Vec3f robotPose
 
Vec2f robotPose2D
 
float ballConf
 
bool haveBall
 
bool ballIsNew
 
float ballTimeAgo
 
float ballDur
 
Vec2f ballDir
 
float ballAngle
 
float ballDist
 
bool ballStable
 
bool haveBallPose
 
bool ballPoseIsNew
 
float ballPoseTimeAgo
 
float ballPoseDur
 
Vec2f ballPose
 
bool ballPoseStable
 
GoalPostList goalPosts
 
ObstacleList obstacles
 
Obstacle obstClosest
 
bool ballHasMoved
 
bool ballInPlay
 
bool directGoalAllowed
 
TCVars TC
 
bool TCDataAvailable
 
bool listenToTC
 
DiveDirection diveDecision
 

Detailed Description

An interface class for encapsulating all of the ROS input data to the walk and kick node.

This class is generated by WAKRosInterface based on the ROS inputs to the walk and kick node, and used by the remainder of the walk and kick code.


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