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 | List of all members
rcsc::CoachBallObject Class Reference

ball information for coath/trainer More...

#include <coach_ball_object.h>

Public Member Functions

 CoachBallObject ()
 initialize all data with 0.
 
const Vector2Dpos () const
 get global position More...
 
const Vector2Dvel () const
 get global velocity More...
 
const CoachBallObjectsetValue (const double x, const double y, const double vx, const double vy)
 set position More...
 
void reverseSide ()
 reverse positional value.
 
Vector2D inertiaTravel (const int step) const
 estimate the vector of ball movement. More...
 
Vector2D inertiaPoint (const int cycle) const
 estimate the ball reach point More...
 
Vector2D inertiaFinalPoint () const
 estimate the finally reached point More...
 

Detailed Description

ball information for coath/trainer

Member Function Documentation

◆ inertiaFinalPoint()

Vector2D rcsc::CoachBallObject::inertiaFinalPoint ( ) const

estimate the finally reached point

Returns
estimated ball position

◆ inertiaPoint()

Vector2D rcsc::CoachBallObject::inertiaPoint ( const int  cycle) const

estimate the ball reach point

Parameters
stepcalculated step
Returns
estimated ball position

◆ inertiaTravel()

Vector2D rcsc::CoachBallObject::inertiaTravel ( const int  step) const

estimate the vector of ball movement.

Parameters
stepcalculated step
Returns
estimated ball movement

◆ pos()

const Vector2D & rcsc::CoachBallObject::pos ( ) const
inline

get global position

Returns
const reference value

◆ setValue()

const CoachBallObject & rcsc::CoachBallObject::setValue ( const double  x,
const double  y,
const double  vx,
const double  vy 
)
inline

set position

Parameters
xcoordinage x
ycoordinage y
vxvelocity x
vyvelocity y

◆ vel()

const Vector2D & rcsc::CoachBallObject::vel ( ) const
inline

get global velocity

Returns
const reference value

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