クラス rcsc::Body_KickOneStep

only one step kick action. this action will be used for emergency situation or setplay. NOTE: not consider about collision & opponents [詳細]

#include <body_kick_one_step.h>

rcsc::Body_KickOneStepに対する継承グラフ

rcsc::BodyAction すべてのメンバ一覧

Public メソッド

 Body_KickOneStep (const Vector2D &target_point, const double &first_speed)
 construct with all parameters
bool execute (PlayerAgent *agent)
 execute action
const Vector2DballResultPos () const
 get the result ball position
const Vector2DballResultVel () 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.

説明

only one step kick action. this action will be used for emergency situation or setplay. NOTE: not consider about collision & opponents


コンストラクタとデストラクタ

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
戻り値:
true if action is performed

rcsc::BodyActionを実装しています。

const Vector2D& rcsc::Body_KickOneStep::ballResultPos (  )  const [inline]

get the result ball position

戻り値:
ball position after kick

const Vector2D& rcsc::Body_KickOneStep::ballResultVel (  )  const [inline]

get the result ball velocity

戻り値:
ball velocity after kick

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


このクラスの説明は次のファイルから生成されました:
librcscに対してThu May 1 15:41:24 2008に生成されました。  doxygen 1.5.0