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

intercept simulator for other players More...

#include <intercept_simulator_player.h>

Public Member Functions

 InterceptSimulatorPlayer (const Vector2D &ball_pos, const Vector2D &ball_vel)
 construct with all variables. More...
 
 ~InterceptSimulatorPlayer ()
 destructor. nothing to do
 
int simulate (const WorldModel &wm, const PlayerObject &player, const bool goalie) const
 get predicted ball gettable cycle More...
 

Detailed Description

intercept simulator for other players

Constructor & Destructor Documentation

◆ InterceptSimulatorPlayer()

rcsc::InterceptSimulatorPlayer::InterceptSimulatorPlayer ( const Vector2D ball_pos,
const Vector2D ball_vel 
)

construct with all variables.

Parameters
ball_posinitial ball position
ball_velinitial ball velocity

Member Function Documentation

◆ simulate()

int rcsc::InterceptSimulatorPlayer::simulate ( const WorldModel wm,
const PlayerObject player,
const bool  goalie 
) const

get predicted ball gettable cycle

Parameters
wmconst reference to the instance of world model
playerconst reference to the player object
goaliegoalie mode or not
max_cyclemax predict cycle. estimation loop is limited to this value.
Returns
predicted cycle value

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