#include <player_intercept.h>
Public メソッド | |
PlayerIntercept (const WorldModel &world, const std::vector< Vector2D > &ball_pos_cache) | |
construct with all variables. | |
~PlayerIntercept () | |
destructor. nothing to do | |
int | predict (const PlayerObject &player, const PlayerType &player_type, const int max_cycle) const |
get predicted ball gettable cycle |
rcsc::PlayerIntercept::PlayerIntercept | ( | const WorldModel & | world, | |
const std::vector< Vector2D > & | ball_pos_cache | |||
) | [inline] |
construct with all variables.
world | const reference to the WormdModel instance | |
ball_pos_cache | const reference to the ball position container |
int rcsc::PlayerIntercept::predict | ( | const PlayerObject & | player, | |
const PlayerType & | player_type, | |||
const int | max_cycle | |||
) | const |
get predicted ball gettable cycle
player | const reference to the player object | |
player_type | player type parameter for the player | |
max_cycle | max predict cycle. estimation loop is limited to this value. |