|
LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
|
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... | |
intercept simulator for other players
| rcsc::InterceptSimulatorPlayer::InterceptSimulatorPlayer | ( | const Vector2D & | ball_pos, |
| const Vector2D & | ball_vel | ||
| ) |
construct with all variables.
| ball_pos | initial ball position |
| ball_vel | initial ball velocity |
| int rcsc::InterceptSimulatorPlayer::simulate | ( | const WorldModel & | wm, |
| const PlayerObject & | player, | ||
| const bool | goalie | ||
| ) | const |
get predicted ball gettable cycle
| wm | const reference to the instance of world model |
| player | const reference to the player object |
| goalie | goalie mode or not |
| max_cycle | max predict cycle. estimation loop is limited to this value. |