#include <body_clear_ball.h>
rcsc::Body_ClearBallに対する継承グラフ
Public メソッド | |
Body_ClearBall () | |
accessible from global. | |
bool | execute (PlayerAgent *agent) |
execute action | |
Static Public メソッド | |
static AngleDeg | get_best_angle (const PlayerAgent *agent, const double &lower_angle, const double &upper_angle, const bool clear_mode=true) |
calculate best kick angle | |
static double | calc_score (const PlayerAgent *agent, const AngleDeg &target_angle) |
calculate score of the specified angle for the clear kick |
bool rcsc::Body_ClearBall::execute | ( | PlayerAgent * | agent | ) | [virtual] |
AngleDeg rcsc::Body_ClearBall::get_best_angle | ( | const PlayerAgent * | agent, | |
const double & | lower_angle, | |||
const double & | upper_angle, | |||
const bool | clear_mode = true | |||
) | [static] |
calculate best kick angle
agent | const pointer to the agent itself | |
lower_angle | considered angle range min | |
upper_angle | considered angle range max | |
clear_mode | true if this search is done for the clear kick |
double rcsc::Body_ClearBall::calc_score | ( | const PlayerAgent * | agent, | |
const AngleDeg & | target_angle | |||
) | [static] |
calculate score of the specified angle for the clear kick
agent | const pointer to the agent itself | |
target_angle | angle to be calculated |