|
| PlayerObject () |
| initialize member variables.
|
|
| PlayerObject (const SideID side, const Localization::PlayerT &p) |
| initialize member variables using observed info More...
|
|
| ~PlayerObject () |
| destructor. nothing to do
|
|
bool | isGhost () const |
| check if this player is ghost object or not More...
|
|
int | ghostCount () const |
| get the count of ghost check More...
|
|
int | tackleCount () const |
| get tackling status accuracy More...
|
|
bool | isTackling () const |
| check if player is tackling More...
|
|
bool | posValid () const |
| velify global position accuracy More...
|
|
bool | velValid () const |
| verify velocity accuracy More...
|
|
bool | bodyValid () const |
| verify angle accuracy More...
|
|
bool | faceValid () const |
| verify angle accuracy More...
|
|
const std::list< Vector2D > & | posHistory () const |
| get the history of estimated position. More...
|
|
bool | isKickable (const double &buf=0.05) const |
| check if player can kick the ball or not More...
|
|
void | update () |
| update status only with intenal info
|
|
void | setGhost () |
| increment ghost count
|
|
void | setTeam (const SideID side, const int unum, const bool goalie) |
| set player's team info More...
|
|
void | updateBySee (const SideID side, const Localization::PlayerT &p) |
| update status using localized player info More...
|
|
void | updateByFullstate (const FullstateSensor::PlayerT &p, const Vector2D &self_pos, const Vector2D &ball_pos) |
| update status using fullstate info More...
|
|
void | updateByHear (const SideID heard_side, const int heard_unum, const bool goalie, const Vector2D &heard_pos) |
| update staus using heard info More...
|
|
void | updateByHear (const SideID heard_side, const int heard_unum, const bool goalie, const Vector2D &heard_pos, const double &heard_body) |
| update staus using heard info More...
|
|
void | updateSelfBallRelated (const Vector2D &self, const Vector2D &ball) |
| update status related to other objects More...
|
|
void | setCollisionEffect () |
| set collision effect to player's velocity
|
|
void | forget () |
| reset accuracy info
|
|
| AbstractPlayerObject (const int id) |
| initialize member variables.
|
|
| AbstractPlayerObject (const int id, const SideID side, const Localization::PlayerT &p) |
| initialize member variables using observed info More...
|
|
virtual | ~AbstractPlayerObject ()=default |
| destructor. nothing to do
|
|
virtual bool | isSelf () const |
| check if this player is self or not More...
|
|
virtual bool | isGhost () const |
| check if this player is ghost object or not More...
|
|
virtual int | ghostCount () const |
| get the counter value as a ghost recognition More...
|
|
virtual bool | isTackling () const =0 |
| check if player is tackling or not More...
|
|
virtual void | setPlayerType (const int type) |
| update player type id More...
|
|
void | setCard (const Card card) |
| update card state More...
|
|
void | setBallReachStep (const int step) |
| set the estimated minimum ball interception step. More...
|
|
int | id () const |
| get the ID number for this object More...
|
|
SideID | side () const |
| get team side id More...
|
|
int | unum () const |
| get player's uniform number More...
|
|
int | unumCount () const |
| get uniform number accuracy count More...
|
|
bool | goalie () const |
| get goalie flag More...
|
|
const PlayerType * | playerTypePtr () const |
| get the player type as a pointer. More...
|
|
Card | card () const |
| get card type More...
|
|
const Vector2D & | pos () const |
| get global position More...
|
|
int | posCount () const |
| get global position accuracy More...
|
|
const Vector2D & | seenPos () const |
| get the last seen position More...
|
|
int | seenPosCount () const |
| get the number of cycles since last observation More...
|
|
const Vector2D & | heardPos () const |
| get the last heard position More...
|
|
int | heardPosCount () const |
| get the number of cycles since last observation More...
|
|
const Vector2D & | vel () const |
| get velocity More...
|
|
int | velCount () const |
| get velocity accuracy More...
|
|
const Vector2D & | seenVel () const |
| get the last seen velocity More...
|
|
int | seenVelCount () const |
| get the number of cycles since last observation More...
|
|
const AngleDeg & | body () const |
| get global body angle More...
|
|
int | bodyCount () const |
| get global body angle accuracy More...
|
|
const AngleDeg & | face () const |
| get global neck angle More...
|
|
int | faceCount () const |
| get global neck angle accuracy More...
|
|
const AngleDeg & | pointtoAngle () const |
| get global pointing angle More...
|
|
int | pointtoCount () const |
| get global pointing angle accuracy More...
|
|
bool | isKicking () const |
| get kicking state information More...
|
|
double | dist2 (const AbstractPlayerObject &p) const |
| get the squared distance from this player to the target player More...
|
|
double | dist (const AbstractPlayerObject &p) const |
| get the distance from this player to the target player More...
|
|
double | distFromBall () const |
| get distance from ball More...
|
|
const AngleDeg & | angleFromBall () const |
| get angle from ball More...
|
|
double | distFromSelf () const |
| get distance from self More...
|
|
const AngleDeg & | angleFromSelf () const |
| get global angle from self position More...
|
|
int | ballReachStep () const |
| get the estimated minimum ball interception step. More...
|
|
virtual double | kickRate () const |
| get current estimated kick power rate More...
|
|
Vector2D | inertiaPoint (const int n_step) const |
| estimate reach point More...
|
|
Vector2D | inertiaFinalPoint () const |
| estimate final reach point More...
|
|