start
来自「RoboCup 2D 仿真组冠军源代码之1998年冠军队——CMUnited98」· 代码 · 共 62 行
TXT
62 行
#!/bin/tcsh #Execution Fileif ("$#argv" == "0") then set host = "localhost" set teamname = "CMUnited" set programname = "./CMUnited98"else if ("$#argv" == "1" ) then set host = "localhost" set teamname = $1 set programname = "./CMUnited98"else if ("$#argv" == "2" ) then set host = $1 set teamname = $2 set programname = "./CMUnited98"else if ("$#argv" == "3" ) then set host = $2 set teamname = $3 set programname = $1else echo "Usage: $0 <program-name> <host-name> <team>" exit -1endif#set simulator_step = 30echo "Running with the following parameters"echo "Hostname: " $hostecho "Team: " $teamnameecho "Program: " $programname#echo "Sim_step: " $simulator_step#$programname -file client.conf -file server.conf -host $host -team_name $teamname -goalie &#sleep 1$programname -file client.conf -file server.conf -host $host -team_name $teamname &sleep 1#$programname -file client.conf -file server.conf -host $host -team_name $teamname &#sleep 1#$programname -file client.conf -file server.conf -host $host -team_name $teamname &#sleep 1#$programname -file client.conf -file server.conf -host $host -team_name $teamname &#sleep 1#$programname -file client.conf -file server.conf -host $host -team_name $teamname &#sleep 1#$programname -file client.conf -file server.conf -host $host -team_name $teamname &#sleep 1#$programname -file client.conf -file server.conf -host $host -team_name $teamname &#sleep 1#$programname -file client.conf -file server.conf -host $host -team_name $teamname &#sleep 1#$programname -file client.conf -file server.conf -host $host -team_name $teamname &#sleep 1#$programname -file client.conf -file server.conf -host $host -team_name $teamname &#sleep 1#waitforq#if ( -e /usr/ucb/ps ) then # kill `/usr/ucb/ps ax | grep $programname | grep -v grep | awk '{print $1}'`#else#kill -9 `ps ax | grep $programname | grep -v grep | awk '{print $1}'`#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?