soccertypes_8h.html
来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 1,234 行 · 第 1/5 页
HTML
1,234 行
<p>length of the penalty area <p>Definition at line <a class="el" href="SoccerTypes_8h-source.html#l00078">78</a> of file <a class="el" href="SoccerTypes_8h-source.html">SoccerTypes.h</a>.<p>Referenced by <a class="el" href="Player_8C-source.html#l00278">Player::deMeer5_goalie</a>(), and <a class="el" href="SoccerTypes_8C-source.html#l01308">SoccerTypes::getGlobalPositionFlag</a>(). </td> </tr></table><a name="a17" doxytag="SoccerTypes.h::PENALTY_AREA_WIDTH"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define PENALTY_AREA_WIDTH 40.35 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>width of the penalty area <p>Definition at line <a class="el" href="SoccerTypes_8h-source.html#l00079">79</a> of file <a class="el" href="SoccerTypes_8h-source.html">SoccerTypes.h</a>.<p>Referenced by <a class="el" href="Player_8C-source.html#l00278">Player::deMeer5_goalie</a>(), <a class="el" href="SoccerTypes_8C-source.html#l01308">SoccerTypes::getGlobalPositionFlag</a>(), <a class="el" href="WorldModelHighLevel_8C-source.html#l00825">WorldModel::getOuterPositionInField</a>(), <a class="el" href="WorldModelHighLevel_8C-source.html#l00675">WorldModel::isInOwnPenaltyArea</a>(), and <a class="el" href="WorldModelHighLevel_8C-source.html#l00692">WorldModel::isInTheirPenaltyArea</a>(). </td> </tr></table><a name="a18" doxytag="SoccerTypes.h::PENALTY_X"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define PENALTY_X (PITCH_LENGTH/2.0-PENALTY_AREA_LENGTH) </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>penalty line of the opponent team <p>Definition at line <a class="el" href="SoccerTypes_8h-source.html#l00080">80</a> of file <a class="el" href="SoccerTypes_8h-source.html">SoccerTypes.h</a>.<p>Referenced by <a class="el" href="BasicPlayer_8C-source.html#l01375">BasicPlayer::clearBall</a>(), <a class="el" href="WorldModel_8C-source.html#l00835">WorldModel::getOppGoalieType</a>(), <a class="el" href="WorldModelHighLevel_8C-source.html#l00825">WorldModel::getOuterPositionInField</a>(), <a class="el" href="WorldModel_8C-source.html#l00873">WorldModel::getOwnGoalieType</a>(), <a class="el" href="Player_8C-source.html#l00434">Player::getStrategicPosition</a>(), and <a class="el" href="WorldModelHighLevel_8C-source.html#l00619">WorldModel::isBallHeadingToGoal</a>(). </td> </tr></table><a name="a13" doxytag="SoccerTypes.h::PITCH_LENGTH"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define PITCH_LENGTH 105.0 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>length of the pitch <p>Definition at line <a class="el" href="SoccerTypes_8h-source.html#l00075">75</a> of file <a class="el" href="SoccerTypes_8h-source.html">SoccerTypes.h</a>.<p>Referenced by <a class="el" href="Player_8C-source.html#l00665">Player::amIAgentToSaySomething</a>(), <a class="el" href="BasicPlayer_8C-source.html#l01375">BasicPlayer::clearBall</a>(), <a class="el" href="BasicPlayer_8C-source.html#l01521">BasicPlayer::defendGoalLine</a>(), <a class="el" href="Player_8C-source.html#l00182">Player::deMeer5</a>(), <a class="el" href="Player_8C-source.html#l00278">Player::deMeer5_goalie</a>(), <a class="el" href="BasicPlayer_8C-source.html#l01070">BasicPlayer::dribble</a>(), <a class="el" href="SoccerTypes_8C-source.html#l01308">SoccerTypes::getGlobalPositionFlag</a>(), <a class="el" href="WorldModel_8C-source.html#l00835">WorldModel::getOppGoalieType</a>(), <a class="el" href="WorldModelHighLevel_8C-source.html#l00825">WorldModel::getOuterPositionInField</a>(), <a class="el" href="WorldModel_8C-source.html#l00873">WorldModel::getOwnGoalieType</a>(), <a class="el" href="WorldModelHighLevel_8C-source.html#l00619">WorldModel::isBallHeadingToGoal</a>(), <a class="el" href="SoccerTypes_8C-source.html#l00719">SoccerCommand::makeMoveCommand</a>(), and <a class="el" href="BasicPlayer_8C-source.html#l00962">BasicPlayer::moveToPosAlongLine</a>(). </td> </tr></table><a name="a15" doxytag="SoccerTypes.h::PITCH_MARGIN"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define PITCH_MARGIN 5.0 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>margin next to the pitch <p>Definition at line <a class="el" href="SoccerTypes_8h-source.html#l00077">77</a> of file <a class="el" href="SoccerTypes_8h-source.html">SoccerTypes.h</a>.<p>Referenced by <a class="el" href="SoccerTypes_8C-source.html#l01308">SoccerTypes::getGlobalPositionFlag</a>(), and <a class="el" href="SoccerTypes_8C-source.html#l00719">SoccerCommand::makeMoveCommand</a>(). </td> </tr></table><a name="a14" doxytag="SoccerTypes.h::PITCH_WIDTH"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> #define PITCH_WIDTH 68.0 </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>width of the pitch <p>Definition at line <a class="el" href="SoccerTypes_8h-source.html#l00076">76</a> of file <a class="el" href="SoccerTypes_8h-source.html">SoccerTypes.h</a>.<p>Referenced by <a class="el" href="BasicPlayer_8C-source.html#l01375">BasicPlayer::clearBall</a>(), <a class="el" href="BasicPlayer_8C-source.html#l01070">BasicPlayer::dribble</a>(), <a class="el" href="SoccerTypes_8C-source.html#l01308">SoccerTypes::getGlobalPositionFlag</a>(), <a class="el" href="WorldModelHighLevel_8C-source.html#l00825">WorldModel::getOuterPositionInField</a>(), <a class="el" href="Formations_8C-source.html#l00488">Formations::getStrategicPosition</a>(), and <a class="el" href="SoccerTypes_8C-source.html#l00719">SoccerCommand::makeMoveCommand</a>(). </td> </tr></table><hr><h2>Enumeration Type Documentation</h2><a name="a251" doxytag="SoccerTypes.h::ActionT"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum ActionT </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>The ActionT enumeration contains different (high-level) actions. <dl compact><dt><b>Enumeration values:</b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a name="a251a211" doxytag="ACT_ILLEGAL"></a><em>ACT_ILLEGAL</em></em> </td><td>illegal action (default) </td></tr><tr><td valign=top><em><a name="a251a212" doxytag="ACT_SEARCH_BALL"></a><em>ACT_SEARCH_BALL</em></em> </td><td>search for the ball </td></tr><tr><td valign=top><em><a name="a251a213" doxytag="ACT_KICK_BALL"></a><em>ACT_KICK_BALL</em></em> </td><td>kick the ball </td></tr><tr><td valign=top><em><a name="a251a214" doxytag="ACT_CATCH_BALL"></a><em>ACT_CATCH_BALL</em></em> </td><td>catch the ball </td></tr><tr><td valign=top><em><a name="a251a215" doxytag="ACT_INTERCEPT"></a><em>ACT_INTERCEPT</em></em> </td><td>intercept the ball </td></tr><tr><td valign=top><em><a name="a251a216" doxytag="ACT_MARK"></a><em>ACT_MARK</em></em> </td><td>mark an opponent </td></tr><tr><td valign=top><em><a name="a251a217" doxytag="ACT_TELEPORT_TO_STRATEGIC_POSITION"></a><em>ACT_TELEPORT_TO_STRATEGIC_POSITION</em></em> </td><td>move to a strategic position (move) </td></tr><tr><td valign=top><em><a name="a251a218" doxytag="ACT_WATCH_BALL"></a><em>ACT_WATCH_BALL</em></em> </td><td>watch the ball </td></tr><tr><td valign=top><em><a name="a251a219" doxytag="ACT_GOTO_STRATEGIC_POSITION"></a><em>ACT_GOTO_STRATEGIC_POSITION</em></em> </td><td>go to a strategic position (dash) </td></tr><tr><td valign=top><em><a name="a251a220" doxytag="ACT_TURN_BODY_TO_CENTER"></a><em>ACT_TURN_BODY_TO_CENTER</em></em> </td><td>turn body to center of field </td></tr><tr><td valign=top><em><a name="a251a221" doxytag="ACT_MOVE_TO_DEAD_BALL_POSITION"></a><em>ACT_MOVE_TO_DEAD_BALL_POSITION</em></em> </td><td>move to pos in dead ball situation </td></tr><tr><td valign=top><em><a name="a251a222" doxytag="ACT_INTERCEPT_SCORING_ATTEMPT"></a><em>ACT_INTERCEPT_SCORING_ATTEMPT</em></em> </td><td>intercept ball heading to goal </td></tr><tr><td valign=top><em><a name="a251a223" doxytag="ACT_DEFEND_GOALLINE"></a><em>ACT_DEFEND_GOALLINE</em></em> </td><td>defend the goalline (for goalkeeper) </td></tr><tr><td valign=top><em><a name="a251a224" doxytag="ACT_TELEPORT_AFTER_CATCH"></a><em>ACT_TELEPORT_AFTER_CATCH</em></em> </td><td>teleport after catch (for goalkeeper) </td></tr></table></dl><p>Definition at line <a class="el" href="SoccerTypes_8h-source.html#l00349">349</a> of file <a class="el" href="SoccerTypes_8h-source.html">SoccerTypes.h</a>. </td> </tr></table><a name="a250" doxytag="SoccerTypes.h::BallStatusT"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum BallStatusT </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>The BallStatus enumeration contains the status of the ball. This is returned when the coach has issued the check_ball message. <dl compact><dt><b>Enumeration values:</b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a name="a250a206" doxytag="BS_ILLEGAL"></a><em>BS_ILLEGAL</em></em> </td><td>illegal ball status </td></tr><tr><td valign=top><em><a name="a250a207" doxytag="BS_IN_FIELD"></a><em>BS_IN_FIELD</em></em> </td><td>ball is in the field </td></tr><tr><td valign=top><em><a name="a250a208" doxytag="BS_GOAL_LEFT"></a><em>BS_GOAL_LEFT</em></em> </td><td>ball is in left goal </td></tr><tr><td valign=top><em><a name="a250a209" doxytag="BS_GOAL_RIGHT"></a><em>BS_GOAL_RIGHT</em></em> </td><td>ball is in right goal </td></tr><tr><td valign=top><em><a name="a250a210" doxytag="BS_OUT_OF_FIELD"></a><em>BS_OUT_OF_FIELD</em></em> </td><td>ball is not in the field </td></tr></table></dl><p>Definition at line <a class="el" href="SoccerTypes_8h-source.html#l00340">340</a> of file <a class="el" href="SoccerTypes_8h-source.html">SoccerTypes.h</a>.<p>Referenced by <a class="el" href="SoccerTypes_8C-source.html#l01801">SoccerTypes::getBallStatusFromStr</a>(), <a class="el" href="SoccerTypes_8C-source.html#l01785">SoccerTypes::getBallStatusStr</a>(), <a class="el" href="WorldModel_8C-source.html#l00426">WorldModel::getCheckBallStatus</a>(), and <a class="el" href="WorldModel_8C-source.html#l00435">WorldModel::setCheckBallStatus</a>(). </td> </tr></table><a name="a255" doxytag="SoccerTypes.h::ClearBallT"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum ClearBallT </table> </td> </tr>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?