LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Public Attributes | List of all members
rcsc::Localization::PlayerT Struct Reference

localized player info More...

#include <localization.h>

Collaboration diagram for rcsc::Localization::PlayerT:
Collaboration graph
[legend]

Public Member Functions

 PlayerT ()
 init member variables by error value
 
void reset ()
 reset all data
 
bool hasVel () const
 check if velocity is estimated More...
 
bool hasAngle () const
 check if angle is estimated More...
 
bool isPointing () const
 check if this player is pointing More...
 
bool isKicking () const
 check if this player performed a kick. More...
 
bool isTackling () const
 check if this player is tackling More...
 

Public Attributes

SideID side_
 side id
 
int unum_
 uniform number
 
bool goalie_
 true if goalie
 
Vector2D pos_
 global coordinate
 
Vector2D rpos_
 relative coordinate
 
Vector2D vel_
 global velocity
 
double body_
 body angle
 
double face_
 face angle
 
bool has_face_
 true if face angle is seen
 
double arm_
 global pointing angle
 
bool pointto_
 true if pointing is seen
 
bool kicking_
 true if player performed a kick
 
bool tackle_
 true if tackling is seen
 
double dist_error_
 seen distance error
 

Detailed Description

localized player info

Member Function Documentation

◆ hasAngle()

bool rcsc::Localization::PlayerT::hasAngle ( ) const
inline

check if angle is estimated

Returns
true if this player has angle info

◆ hasVel()

bool rcsc::Localization::PlayerT::hasVel ( ) const
inline

check if velocity is estimated

Returns
true if this player has velocity info

◆ isKicking()

bool rcsc::Localization::PlayerT::isKicking ( ) const
inline

check if this player performed a kick.

Returns
true if this player performed a kick.

◆ isPointing()

bool rcsc::Localization::PlayerT::isPointing ( ) const
inline

check if this player is pointing

Returns
true if this player is pointing somewhere

◆ isTackling()

bool rcsc::Localization::PlayerT::isTackling ( ) const
inline

check if this player is tackling

Returns
true if this player is freezed by tackle effect

The documentation for this struct was generated from the following file: