#include <body_kick_one_step.h>
rcsc::Body_KickOneStepに対する継承グラフ
Public メソッド | |
Body_KickOneStep (const Vector2D &target_point, const double &first_speed) | |
construct with all parameters | |
bool | execute (PlayerAgent *agent) |
execute action | |
const Vector2D & | ballResultPos () const |
get the result ball position | |
const Vector2D & | ballResultVel () const |
get the result ball velocity | |
Static Public メソッド | |
static Vector2D | get_max_possible_vel (const AngleDeg &target_angle, const double &kick_rate, const Vector2D &ball_vel) |
calculate possible velocity by one kick. NOTE: ball info may be future estimation result. |
rcsc::Body_KickOneStep::Body_KickOneStep | ( | const Vector2D & | target_point, | |
const double & | first_speed | |||
) | [inline] |
construct with all parameters
target_point | global coordinate of target poisition | |
first_speed | ball first speed when ball is released |
bool rcsc::Body_KickOneStep::execute | ( | PlayerAgent * | agent | ) | [virtual] |
execute action
agent | pointer to the agent itself |
rcsc::BodyActionを実装しています。
const Vector2D& rcsc::Body_KickOneStep::ballResultPos | ( | ) | const [inline] |
get the result ball position
const Vector2D& rcsc::Body_KickOneStep::ballResultVel | ( | ) | const [inline] |
get the result ball velocity
Vector2D rcsc::Body_KickOneStep::get_max_possible_vel | ( | const AngleDeg & | target_angle, | |
const double & | kick_rate, | |||
const Vector2D & | ball_vel | |||
) | [static] |
calculate possible velocity by one kick. NOTE: ball info may be future estimation result.
target_angle | kick target global angle | |
kick_rate | current kick rate | |
ball_vel | current ball velocity |