構造体 rcsc::PlayerAgentImpl

player agent implementation [詳細]

すべてのメンバ一覧

Public メソッド

 PlayerAgentImpl (const PlayerAgent &agent)
 initialize all members
void updateCurrentTime (const long &new_time, const bool by_sense_body)
 update current time using analyzed time value
void updateServerStatus ()
 update server game cycle status.
bool isDecisionTiming (const long &msec_from_sense) const
 check if now decision timing

Public 変数

const PlayerAgentagent_
 reference to the PlayerAgent instance
bool think_received_
 flag to check if (think) message was received or not.
bool server_cycle_stopped_
 flag to check if server cycle is stopped or not.
GameTime last_decision_time_
 last action decision game time
GameTime current_time_
 current game time
int clang_min_
 supported minimal clang version
int clang_max_
 supported maximal clang version
GameMode game_mode_
 referee info
BodySensor body_
 sense_body info
VisualSensor visual_
 see info
AudioSensor audio_
 hear info
FullstateSensor fullstate_
 fullstate info
TimeStamp body_time_stamp_
 time when sense_body is received time when see is received
TimeStamp see_time_stamp_
SeeState see_state_
 status of the see messaege arrival timing
int see_timings_ [11]
 counter of see message arrival timing
boost::shared_ptr< ArmActionarm_action_
 pointer to reserved action
boost::shared_ptr< NeckActionneck_action_
 pointer to reserved action
boost::shared_ptr< ViewActionview_action_
 pointer to reserved action
boost::shared_ptr< SoccerIntentionintention_
 intention queue


説明

player agent implementation


関数

void rcsc::PlayerAgentImpl::updateCurrentTime ( const long &  new_time,
const bool  by_sense_body 
)

update current time using analyzed time value

引数:
new_time analyzed time value
by_sense_body true if called after sense_body message

void rcsc::PlayerAgentImpl::updateServerStatus (  ) 

update server game cycle status.

This method must be called just after referee message

bool rcsc::PlayerAgentImpl::isDecisionTiming ( const long &  msec_from_sense  )  const

check if now decision timing

引数:
msec_from_sense elapsed milli seconds from last sense_body message arrival
戻り値:
true if player should send action


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