Changes between Version 37 and Version 38 of DSC/zdc_framework
- Timestamp:
- Dec 12, 2013, 1:41:18 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DSC/zdc_framework
v37 v38 1 1 = Match Execution Framework (Post Preliminary) = 2 '' (Last Modified: Monday 8/12/2013 11:45PM)''2 '''Last modified 12/12/2013''' 3 3 4 4 [[TOC(DSC*,depth=2)]] … … 12 12 Use an OEDL script to execute either a competitive-style or cooperative-style game for both Preliminary matches of the DARPA Spectrum Challenge. Even though the use of the framework is illustrated by using 2 house bots (or 3 in the case of a cooperative game), in the actual competition, the teams will use their own radio implementations. Later, an additional purpose of the framework will be to provide validation to the images that teams submit for the Preliminary matches: teams will have to use the script in this framework to validate their '''image''' before submission. Validation is required for both competitive and cooperative style matches. 13 13 14 The OEDL script uses five pairs of nodes: dsc-teamA, dsc-teamB, dsc-teamC, dsc-teamX, and dsc-teamY (the actual topology descriptions are '''system:topo:dsc-team{A,B,C,X,Y}'''). For this version of the framework, the competitive matches will use teamX and teamY nodes, while cooperative matches will use teamA, teamB and teamCnodes.14 The OEDL scripts use two (primary and secondary) sets of five pairs of nodes: dsc-teamAp, dsc-teamBp, dsc-teamCp, dsc-teamXp, and dsc-teamYp on the main diagonal and dsc-teamAs, dsc-teamBs, dsc-teamCs, dsc-teamXs, and dsc-teamYs on the secondary diagonal (the actual topology descriptions are '''system:topo:dsc-team{Ap,Bp,Cp,Xp,Yp,As,Bs,Cs,Ds}'''). For this version of the framework, the competitive matches will use teamX{p,s} and teamY{p,s} nodes, while cooperative matches will use teamA{p,s}, teamB{p,s} and teamC{p,s} nodes. 15 15 16 16 == Hardware / Software Resources Used == … … 25 25 * '''-s idb2''' : option for specifying the packet server host name (in this example idb2) 26 26 * '''--mode COMP''' or '''--mode COOP''' : option that specifies whether the match style is a competitive or cooperative match. 27 * '''--arena PRI''' or '''--arena SEC''' : option that specifies whether the match will use primary or secondary arena. 27 28 28 29 Please note that idb2 and 1700000000 are provided merely for illustration purposes and that the teams must allow for the values passed to be entered by the evaluators. Finally, no modifications to this execution format is allowed, and no additional fields will be used during evaluation. … … 95 96 }}} 96 97 97 * Image the two nodes to be used for the first team's radios (team X nodes ):98 {{{ 99 username@console.grid:~$ omf load -i dsc-wbot1.ndz -t system:topo:dsc-teamX 98 * Image the two nodes to be used for the first team's radios (team X nodes in the primary arena): 99 {{{ 100 username@console.grid:~$ omf load -i dsc-wbot1.ndz -t system:topo:dsc-teamXp 100 101 }}} 101 102 102 103 In the case of the validation matches these two nodes will receive the competitor's image (and hence replace the house bot image name with the team's image name). 103 104 104 * Image the two nodes to be used for the second team's radios (in this case team Y nodes ):105 {{{ 106 username@console.grid:~$ omf load -i dsc-wbot2.ndz -t system:topo:dsc-teamY 105 * Image the two nodes to be used for the second team's radios (in this case team Y nodes in the primary arena): 106 {{{ 107 username@console.grid:~$ omf load -i dsc-wbot2.ndz -t system:topo:dsc-teamYp 107 108 }}} 108 109 … … 110 111 * Turn nodes back on and verify they are in POWERON state 111 112 {{{ 112 username@console.grid:~$ omf tell -a on -t system:topo:dsc-teamX 113 username@console.grid:~$ omf tell -a on -t system:topo:dsc-teamY 113 username@console.grid:~$ omf tell -a on -t system:topo:dsc-teamXp 114 username@console.grid:~$ omf tell -a on -t system:topo:dsc-teamYp 114 115 }}} 115 116 … … 126 127 }}} 127 128 128 * Image the two nodes to be used for the first team's radios (team A nodes ):129 {{{ 130 username@console.grid:~$ omf load -i dsc-wbot1.ndz -t system:topo:dsc-teamA 129 * Image the two nodes to be used for the first team's radios (team A nodes in the secondary arena): 130 {{{ 131 username@console.grid:~$ omf load -i dsc-wbot1.ndz -t system:topo:dsc-teamAs 131 132 }}} 132 133 133 134 In the case of the validation matches these two nodes will receive the competitor's image (and hence replace the house bot image name with the team's image name). 134 135 135 * Image the two nodes to be used for the second team's radios (in this case team C nodes ):136 {{{ 137 username@console.grid:~$ omf load -i dsc-wbot2.ndz -t system:topo:dsc-teamC 138 }}} 139 140 * Image the third pair of nodes to be used for the third team's radios (in this case team B nodes ):141 {{{ 142 username@console.grid:~$ omf load -i dsc-wbot3.ndz -t system:topo:dsc-teamB 136 * Image the two nodes to be used for the second team's radios (in this case team C nodes in the secondary arena): 137 {{{ 138 username@console.grid:~$ omf load -i dsc-wbot2.ndz -t system:topo:dsc-teamCs 139 }}} 140 141 * Image the third pair of nodes to be used for the third team's radios (in this case team B nodes in the secondary arena): 142 {{{ 143 username@console.grid:~$ omf load -i dsc-wbot3.ndz -t system:topo:dsc-teamBs 143 144 }}} 144 145 145 146 * Turn nodes back on and verify they are in POWERON state 146 147 {{{ 147 username@console.grid:~$ omf tell -a on -t system:topo:dsc-teamA 148 username@console.grid:~$ omf tell -a on -t system:topo:dsc-teamC 149 username@console.grid:~$ omf tell -a on -t system:topo:dsc-teamB 148 username@console.grid:~$ omf tell -a on -t system:topo:dsc-teamAs 149 username@console.grid:~$ omf tell -a on -t system:topo:dsc-teamCs 150 username@console.grid:~$ omf tell -a on -t system:topo:dsc-teamBs 150 151 }}} 151 152 … … 159 160 * For competitive matches, the command line is: 160 161 {{{ 161 username@console.grid:~$ omf-5.4 exec system:exp:dsc-match -- -- team1 dsc-teamX --team2 dsc-teamY --mode COMP162 username@console.grid:~$ omf-5.4 exec system:exp:dsc-match -- --mode COMP --arena PRI 162 163 }}} 163 164 Please note that the command line above is an expanded version of the command line used for the Preliminary round. … … 166 167 The output of the competitive match should look similar to the following: 167 168 {{{ 168 username@console.grid:~# omf-5.4 exec system:exp:dsc-match -- -- team1 dsc-teamX --team2 dsc-teamY --mode COMP169 username@console.grid:~# omf-5.4 exec system:exp:dsc-match -- --mode COMP --arena PRI 169 170 170 171 INFO NodeHandler: OMF Experiment Controller 5.4 (git 8f9e1c0) … … 186 187 INFO property.runtime: runtime = 180 (Fixnum) 187 188 INFO property.mode: mode = "COMP" (String) 188 INFO property.team1: team1 = "dsc-teamX " (String)189 INFO property.team2: team2 = "dsc-teamY " (String)190 INFO property.team3: team3 = "dsc-teamC " (String)191 INFO Topology: Loaded topology 'system:topo:dsc-teamX '.192 INFO Topology: Loaded topology 'system:topo:dsc-teamY '.189 INFO property.team1: team1 = "dsc-teamXp" (String) 190 INFO property.team2: team2 = "dsc-teamYp" (String) 191 INFO property.team3: team3 = "dsc-teamCp" (String) 192 INFO Topology: Loaded topology 'system:topo:dsc-teamXp'. 193 INFO Topology: Loaded topology 'system:topo:dsc-teamYp'. 193 194 INFO exp: Connecting to idb2 at 5128 194 195 INFO ALL_UP_AND_INSTALLED: Event triggered. Starting the associated tasks. … … 226 227 * For cooperative matches, the command line is: 227 228 {{{ 228 username@console.grid:~$ omf exec system:exp:dsc-match -- --mode COOP 229 username@console.grid:~$ omf exec system:exp:dsc-match -- --mode COOP --arena SEC 229 230 }}} 230 231 … … 232 233 The output of the cooperative match should look similar to the following: 233 234 {{{ 234 username@console.grid:~# omf exec system:exp:dsc-match -- --mode COOP 235 username@console.grid:~# omf exec system:exp:dsc-match -- --mode COOP --arena SEC 235 236 236 237 INFO NodeHandler: OMF Experiment Controller 5.4 (git 5385228)