classsoccercommand.html

来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 1,201 行 · 第 1/5 页

HTML
1,201
字号
          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method makes a say command from a SoccerCommand and puts the result in str. Resulting string looks like: (say str). Enough space should be allocated for str. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>command</em>&nbsp;</td><td>SoccerCommand that is a say command </td></tr><tr><td valign=top><em>str_com</em>&nbsp;</td><td>string that will be filled with corresponding SoccerCommand </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether string is filled or not </dl><p>Definition at line <a class="el" href="SoccerTypes_8C-source.html#l00741">741</a> of file <a class="el" href="SoccerTypes_8C-source.html">SoccerTypes.C</a>.<p>References <a class="el" href="SoccerTypes_8h-source.html#l00496">str</a>.<p>Referenced by <a class="el" href="SoccerTypes_8C-source.html#l00604">getCommandString</a>().    </td>  </tr></table><a name="c6" doxytag="SoccerCommand::makeSenseBodyCommand"></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"> bool SoccerCommand::makeSenseBodyCommand </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">char *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>str</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method makes a sense_body command from a SoccerCommand and puts the result in str. Resulting string looks like: (sense_body). Enough space should be allocated for str. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>str</em>&nbsp;</td><td>string that will be filled with the corresponding SoccerCommand </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether string is filled or not </dl><p>Definition at line <a class="el" href="SoccerTypes_8C-source.html#l00758">758</a> of file <a class="el" href="SoccerTypes_8C-source.html">SoccerTypes.C</a>.<p>References <a class="el" href="SoccerTypes_8h-source.html#l00496">str</a>.<p>Referenced by <a class="el" href="SoccerTypes_8C-source.html#l00604">getCommandString</a>().    </td>  </tr></table><a name="c7" doxytag="SoccerCommand::makeTurnCommand"></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"> bool SoccerCommand::makeTurnCommand </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">char *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>str</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method makes a turn command from a SoccerCommand and puts the result in str. Resulting string looks like: (turn dAngle). Enough space should be allocated for str. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>command</em>&nbsp;</td><td>SoccerCommand that is a turn command </td></tr><tr><td valign=top><em>str</em>&nbsp;</td><td>string that will be filled with the corresponding SoccerCommand </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether string is filled or not </dl><p>Definition at line <a class="el" href="SoccerTypes_8C-source.html#l00770">770</a> of file <a class="el" href="SoccerTypes_8C-source.html">SoccerTypes.C</a>.<p>References <a class="el" href="SoccerTypes_8h-source.html#l00490">dAngle</a>, <a class="el" href="ServerSettings_8C-source.html#l01334">ServerSettings::getMaxMoment</a>(), <a class="el" href="ServerSettings_8C-source.html#l01350">ServerSettings::getMinMoment</a>(), <a class="el" href="SoccerTypes_8h-source.html#l00469">SS</a>, and <a class="el" href="SoccerTypes_8h-source.html#l00496">str</a>.<p>Referenced by <a class="el" href="SoccerTypes_8C-source.html#l00604">getCommandString</a>().    </td>  </tr></table><a name="c8" doxytag="SoccerCommand::makeTurnNeckCommand"></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"> bool SoccerCommand::makeTurnNeckCommand </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">char *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>str</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [private]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method makes a turn_neck command from a SoccerCommand and puts the result in str. Resulting string looks like: (turn_neck dAngle). Enough space should be allocated for str. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>command</em>&nbsp;</td><td>SoccerCommand that is a turn_neck command </td></tr><tr><td valign=top><em>str</em>&nbsp;</td><td>string that will be filled with the corresponding SoccerCommand </td></tr></table></dl><dl compact><dt><b>Returns: </b><dd>bool indicating whether string is filled or not </dl><p>Definition at line <a class="el" href="SoccerTypes_8C-source.html#l00791">791</a> of file <a class="el" href="SoccerTypes_8C-source.html">SoccerTypes.C</a>.<p>References <a class="el" href="SoccerTypes_8h-source.html#l00490">dAngle</a>, <a class="el" href="ServerSettings_8C-source.html#l01366">ServerSettings::getMaxNeckMoment</a>(), <a class="el" href="ServerSettings_8C-source.html#l01382">ServerSettings::getMinNeckMoment</a>(), <a class="el" href="SoccerTypes_8h-source.html#l00469">SS</a>, and <a class="el" href="SoccerTypes_8h-source.html#l00496">str</a>.<p>Referenced by <a class="el" href="SoccerTypes_8C-source.html#l00604">getCommandString</a>().    </td>  </tr></table><a name="a6" doxytag="SoccerCommand::show"></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"> void SoccerCommand::show </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">ostream &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>os</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This method prints the current command to the specified output stream. <dl compact><dt><b>Parameters: </b><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>os</em>&nbsp;</td><td>output stream to which information is printed. </td></tr></table></dl><p>Definition at line <a class="el" href="SoccerTypes_8C-source.html#l00541">541</a> of file <a class="el" href="SoccerTypes_8C-source.html">SoccerTypes.C</a>.<p>References <a class="el" href="namespace_3globalScope_4.html#a247a185">CMD_CATCH</a>, <a class="el" href="namespace_3globalScope_4.html#a247a190">CMD_CHANGEPLAYER</a>, <a class="el" href="namespace_3globalScope_4.html#a247a184">CMD_CHANGEVIEW</a>, <a class="el" href="namespace_3globalScope_4.html#a247a181">CMD_DASH</a>, <a class="el" href="namespace_3globalScope_4.html#a247a180">CMD_ILLEGAL</a>, <a class="el" href="namespace_3globalScope_4.html#a247a186">CMD_KICK</a>, <a class="el" href="namespace_3globalScope_4.html#a247a187">CMD_MOVE</a>, <a class="el" href="namespace_3globalScope_4.html#a247a189">CMD_SAY</a>, <a class="el" href="namespace_3globalScope_4.html#a247a188">CMD_SENSEBODY</a>, <a class="el" href="namespace_3globalScope_4.html#a247a182">CMD_TURN</a>, <a class="el" href="namespace_3globalScope_4.html#a247a183">CMD_TURNNECK</a>, <a class="el" href="SoccerTypes_8h-source.html#l00489">commandType</a>, <a class="el" href="SoccerTypes_8h-source.html#l00490">dAngle</a>, <a class="el" href="SoccerTypes_8h-source.html#l00491">dPower</a>, <a class="el" href="SoccerTypes_8h-source.html#l00494">dX</a>, <a class="el" href="SoccerTypes_8h-source.html#l00495">dY</a>, <a class="el" href="SoccerTypes_8C-source.html#l01646">SoccerTypes::getViewAngleStr</a>(), <a class="el" href="SoccerTypes_8C-source.html#l01696">SoccerTypes::getViewQualityStr</a>(), <a class="el" href="SoccerTypes_8h-source.html#l00497">iTimes</a>, <a class="el" href="SoccerTypes_8h-source.html#l00496">str</a>, <a class="el" href="SoccerTypes_8h-source.html#l00488">time</a>, <a class="el" href="SoccerTypes_8h-source.html#l00493">va</a>, and <a class="el" href="SoccerTypes_8h-source.html#l00492">vq</a>.<p>Referenced by <a class="el" href="WorldModel_8C-source.html#l01210">WorldModel::showQueuedCommands</a>().    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a name="m1" doxytag="SoccerCommand::commandType"></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"> <a class="el" href="SoccerTypes_8h.html#a247">CommandT</a> SoccerCommand::commandType      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>type of this command <p>Definition at line <a class="el" href="SoccerTypes_8h-source.html#l00489">489</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#l00182">Player::deMeer5</a>(), <a class="el" href="ActHandler_8C-source.html#l00078">ActHandler::emptyQueue</a>(), <a class="el" href="Player_8C-source.html#l00512">Player::executeStringCommand</a>(), <a class="el" href="SoccerTypes_8C-source.html#l00604">getCommandString</a>(), <a class="el" href="BasicPlayer_8C-source.html#l01016">BasicPlayer::intercept</a>(), <a class="el" href="WorldModelPredict_8C-source.html#l00372">WorldModel::isCollisionAfterDash</a>(), <a class="el" href="SoccerTypes_8C-source.html#l00592">isIllegal</a>(), <a class="el" href="ActHandler_8C-source.html#l00088">ActHandler::isQueueEmpty</a>(), <a class="el" href="SoccerTypes_8C-source.html#l00483">makeCommand</a>(), <a class="el" href="WorldModelPredict_8C-source.html#l00062">WorldModel::predictStateAfterCommand</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l00386">WorldModel::processQueuedCommands</a>(), <a class="el" href="ActHandler_8C-source.html#l00168">ActHandler::putCommandInQueue</a>(), <a class="el" href="ActHandler_8C-source.html#l00102">ActHandler::sendCommands</a>(), <a class="el" href="SoccerTypes_8C-source.html#l00541">show</a>(), <a class="el" href="WorldModel_8C-source.html#l01210">WorldModel::showQueuedCommands</a>(), <a class="el" href="SoccerTypes_8C-source.html#l00442">SoccerCommand</a>(), <a class="el" href="WorldModelUpdate_8C-source.html#l00659">WorldModel::updateAgentAndBallAfterSense</a>(), and <a class="el" href="WorldModel_8C-source.html#l00059">WorldModel::WorldModel</a>().    </td>  </tr></table><a name="m2" doxytag="SoccerCommand::dAngle"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?