serversettings_8c-source.html
来自「仿真人工智能是指用人工的方法和技术」· HTML 代码 · 共 504 行 · 第 1/5 页
HTML
504 行
00115 <font class="comment">// goalkeeper in which he can catch the ball</font>00116 <a class="code" href="classServerSettings.html#o24">dCatchProbability</a> = 1.0; <font class="comment">// catch_probability: the probability for a</font>00117 <font class="comment">// goalkeeper to catch the ball</font>00118 <a class="code" href="classServerSettings.html#o25">iCatchBanCycle</a> = 5 ; <font class="comment">// catch_ban_cycle: number of cycles after catch</font>00119 <font class="comment">// in which goalkeeper cannot catch again</font>00120 <a class="code" href="classServerSettings.html#o26">iGoalieMaxMoves</a> = 2; <font class="comment">// goalie_max_moves: maximum number of 'move'</font>00121 <font class="comment">// actions allowed for goalkeeper after catch</font>00122 00123 <font class="comment">// ball-related parameters</font>00124 <a class="code" href="classServerSettings.html#o27">dBallSize</a> = 0.085; <font class="comment">// ball_size: the size (=radius) of the ball</font>00125 <a class="code" href="classServerSettings.html#o28">dBallDecay</a> = 0.94; <font class="comment">// ball_decay: ball speed decay per cycle</font>00126 <a class="code" href="classServerSettings.html#o29">dBallRand</a> = 0.05; <font class="comment">// ball_rand: random error in ball movement</font>00127 <a class="code" href="classServerSettings.html#o30">dBallWeight</a> = 0.2; <font class="comment">// ball_weight: weight of the ball (for wind)</font>00128 <a class="code" href="classServerSettings.html#o31">dBallSpeedMax</a> = 2.7; <font class="comment">// ball_speed_max: maximum speed of the ball</font>00129 <a class="code" href="classServerSettings.html#o32">dBallAccelMax</a> = 2.7; <font class="comment">// ball_accel_max: maximum acceleration of the</font>00130 <font class="comment">// ball per cycle</font>00131 00132 <font class="comment">// wind-related parameters</font>00133 <a class="code" href="classServerSettings.html#o33">dWindForce</a> = 0.0; <font class="comment">// wind_force: the force of the wind</font>00134 <a class="code" href="classServerSettings.html#o34">dWindDir</a> = 0.0; <font class="comment">// wind_dir: the direction of the wind</font>00135 <a class="code" href="classServerSettings.html#o35">dWindRand</a> = 0.0; <font class="comment">// wind_rand: random error in wind direction</font>00136 00137 <font class="comment">// parameters related to 'dash' and 'kick' commands</font>00138 <a class="code" href="classServerSettings.html#o36">dKickableMargin</a> = 0.7; <font class="comment">// kickable_margin: margin around player in which</font>00139 <font class="comment">// ball is kickable; kickable area thus equals</font>00140 <font class="comment">// kickable_margin + ball_size + player_size</font>00141 <a class="code" href="classServerSettings.html#o37">dCkickMargin</a> = 1.0; <font class="comment">// ckick_margin: corner kick margin, i.e. the</font>00142 <font class="comment">// minimum distance to the ball for offending</font>00143 <font class="comment">// players when a corner kick is taken</font>00144 00145 <a class="code" href="classServerSettings.html#o38">dDashPowerRate</a> = 0.006; <font class="comment">// dash_power_rate: rate by which the 'Power'</font>00146 <font class="comment">// argument in a 'dash' command is multiplied</font>00147 <font class="comment">// (thus determining the amount of displacement of</font>00148 <font class="comment">// the player as a result of the 'dash')</font>00149 <a class="code" href="classServerSettings.html#o39">dKickPowerRate</a> = 0.027; <font class="comment">// kick_power_rate: rate by which the 'Power'</font>00150 <font class="comment">// argument in a 'kick' command is multiplied</font>00151 <font class="comment">// (thus determining the amount of displacement of</font>00152 <font class="comment">// the ball as a result of the 'kick')</font>00153 <a class="code" href="classServerSettings.html#o40">dKickRand</a> = 0.0; <font class="comment">// kick_rand: random error in kick direction</font>00154 00155 <font class="comment">// parameters related to visual and auditory perception range</font>00156 <a class="code" href="classServerSettings.html#o41">dVisibleAngle</a> = 90.0; <font class="comment">// visible_angle: angle of the view cone of a</font>00157 <font class="comment">// player in the standard view mode</font>00158 <a class="code" href="classServerSettings.html#o42">dAudioCutDist</a> = 50.0; <font class="comment">// audio_cut_dist: maximum distance over which a</font>00159 <font class="comment">// spoken message can be heard</font>00160 00161 <font class="comment">// quantization parameters</font>00162 <a class="code" href="classServerSettings.html#o43">dQuantizeStep</a> = 0.1; <font class="comment">// quantize_step: quantization step for distance</font>00163 <font class="comment">// of moving objects</font>00164 <a class="code" href="classServerSettings.html#o44">dQuantizeStepL</a> = 0.01; <font class="comment">// quantize_step_l: quantization step for distance</font>00165 <font class="comment">// of landmarks</font>00166 00167 <font class="comment">// range parameters for basic actuator commands</font>00168 <a class="code" href="classServerSettings.html#o45">iMaxPower</a> = 100; <font class="comment">// maxpower: maximum power for dash/kick</font>00169 <a class="code" href="classServerSettings.html#o46">iMinPower</a> = -100; <font class="comment">// minpower: minimum power for dash/kick</font>00170 <a class="code" href="classServerSettings.html#o47">iMaxMoment</a> = 180; <font class="comment">// maxmoment: maximum angle for turn/kick</font>00171 <a class="code" href="classServerSettings.html#o48">iMinMoment</a> = -180; <font class="comment">// minmoment: minimum angle for turn/kick</font>00172 <a class="code" href="classServerSettings.html#o49">iMaxNeckMoment</a> = 180; <font class="comment">// maxneckmoment: maximum angle for turnneck</font>00173 <a class="code" href="classServerSettings.html#o50">iMinNeckMoment</a> = -180; <font class="comment">// minneckmoment: minimum angle for turnneck</font>00174 <a class="code" href="classServerSettings.html#o51">iMaxNeckAng</a> = 90; <font class="comment">// maxneckang: maximum neck angle relative to body</font>00175 <a class="code" href="classServerSettings.html#o52">iMinNeckAng</a> = -90; <font class="comment">// minneckang: minimum neck angle relative to body</font>00176 00177 <font class="comment">// port-related parameters</font>00178 <a class="code" href="classServerSettings.html#o53">iPort</a> = 6000; <font class="comment">// port: port number for player connection</font>00179 <a class="code" href="classServerSettings.html#o54">iCoachPort</a> = 6001; <font class="comment">// coach_port: port number for coach connection</font>00180 00181 <font class="comment">// coach-related parameters</font>00182 <a class="code" href="classServerSettings.html#o55">iSayCoachCntMax</a> = 128; <font class="comment">// say_coach_cnt_max: maximum number of coach</font>00183 <font class="comment">// messages possible</font>00184 <a class="code" href="classServerSettings.html#o56">iSayCoachMsgSize</a> = 128; <font class="comment">// say_coach_msg_size: maximum size of coach</font>00185 <font class="comment">// messages</font>00186 <a class="code" href="classServerSettings.html#o57">iClangWinSize</a> = 300; <font class="comment">// clang_win_size: time window which controls how</font>00187 <font class="comment">// many coach messages can be sent</font>00188 <a class="code" href="classServerSettings.html#o58">iClangDefineWin</a> = 1; <font class="comment">// clang_define_win: number of define messages by</font>00189 <font class="comment">// coach per time window</font>00190 <a class="code" href="classServerSettings.html#o59">iClangMetaWin</a> = 1; <font class="comment">// clang_meta_win: number of meta messages by</font>00191 <font class="comment">// coach per time window</font>00192 <a class="code" href="classServerSettings.html#o60">iClangAdviceWin</a> = 1; <font class="comment">// clang_advice_win: number of advice messages by</font>00193 <font class="comment">// coach per time window</font>00194 <a class="code" href="classServerSettings.html#o61">iClangInfoWin</a> = 1; <font class="comment">// clang_info_win: number of info messages by</font>00195 <font class="comment">// coach per time window</font>00196 <a class="code" href="classServerSettings.html#o62">iClangMessDelay</a> = 50; <font class="comment">// clang_mess_delay: delay of coach messages, i.e.</font>00197 <font class="comment">// the number of cycles between send to player and</font>00198 <font class="comment">// receival of message</font>00199 <a class="code" href="classServerSettings.html#o63">iClangMessPerCycle</a> = 1; <font class="comment">// clang_mess_per_cycle: number of coach messages</font>00200 <font class="comment">// per cycle</font>00201 <a class="code" href="classServerSettings.html#o64">iSendViStep</a> = 100; <font class="comment">// send_vi_step: interval of coach's look, i.e.</font>00202 <font class="comment">// the length of the interval (in ms) between</font>00203 <font class="comment">// visual messages to the coach</font>00204 00205 <font class="comment">// time-related parameters</font>00206 <a class="code" href="classServerSettings.html#o65">iSimulatorStep</a> = 100; <font class="comment">// simulator_step: the length (in ms) of a</font>00207 <font class="comment">// simulator cycle</font>00208 <a class="code" href="classServerSettings.html#o66">iSendStep</a> = 150; <font class="comment">// send_step: the length of the interval (in ms)</font>00209 <font class="comment">// between visual messages to a player in the</font>00210 <font class="comment">// standard view mode</font>00211 <a class="code" href="classServerSettings.html#o67">iRecvStep</a> = 10; <font class="comment">// recv_step: the length of the interval (in ms)</font>00212 <font class="comment">// for accepting commands from a player</font>00213 <a class="code" href="classServerSettings.html#o68">iHalfTime</a> = 300; <font class="comment">// half_time: the length (in seconds) of a single</font>00214 <font class="comment">// game half</font>00215 <a class="code" href="classServerSettings.html#o69">iDropBallTime</a> = 200; <font class="comment">// drop_ball_time: the number of cycles to wait</font>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?