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 PlayerAgent & | agent_ |
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< ArmAction > | arm_action_ |
pointer to reserved action | |
boost::shared_ptr< NeckAction > | neck_action_ |
pointer to reserved action | |
boost::shared_ptr< ViewAction > | view_action_ |
pointer to reserved action | |
boost::shared_ptr< SoccerIntention > | intention_ |
intention queue |
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 |