クラス rcsc::Body_KickToRelative

kick the ball to relative pos(target_dist, target_angle_relative) if stop_ball == true, then stop the ball at that pos. estimate suitable kick queue, but execute only one kick, *not* queued. this action is assumed to use for ball holding. [詳細]

#include <body_kick_to_relative.h>

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

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

Public メソッド

 Body_KickToRelative (const double &target_dist, const AngleDeg &target_angle_relative, const bool stop)
 construct with all parameters
bool execute (PlayerAgent *agent)
 execute action

説明

kick the ball to relative pos(target_dist, target_angle_relative) if stop_ball == true, then stop the ball at that pos. estimate suitable kick queue, but execute only one kick, *not* queued. this action is assumed to use for ball holding.


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

rcsc::Body_KickToRelative::Body_KickToRelative ( const double &  target_dist,
const AngleDeg target_angle_relative,
const bool  stop 
) [inline]

construct with all parameters

引数:
target_dist target point distance from self
target_angle_relative target point angle relative to body
stop if true, agent should stop the ball at target point


関数

bool rcsc::Body_KickToRelative::execute ( PlayerAgent agent  )  [virtual]

execute action

引数:
agent pointer to the agent itself
戻り値:
true if action is performed

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


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