Changes between Version 5 and Version 6 of DSC/dc_trial2


Ignore:
Timestamp:
Jun 26, 2013, 2:36:28 PM (11 years ago)
Author:
seskar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • DSC/dc_trial2

    v5 v6  
    55== Objective ==
    66Use an OEDL script to execute a competitive-style game (similar to what will occur in the Wildcard and Preliminary matches). The example game involves a simple house bot, and the teams provide their own radio script. Teams may modify this script to use other radio bots of their own design in place of the house bot. 
     7
     8The example OEDL script can use four different topological configurations for team nodes: dsc-teamA, dsc-teamB, dsc-teamC, and dsc-teamD (the actual topology descriptions are '''system:topo:dsc-team{A,B,C,D}'''). The configurations should be considered to be fixed for purpose of the games, and teams simply choose which node-pair topology (A, B, C, or D) to place their image in. In the case described in this example, the first team is being placed in the '''A''' topology while the second team is placed in topology '''C'''. Also, we are using a house bot for both teams so that the example can be tested as-is. Teams should note that they should replace dsc-bot.ndz with their respective team-image.ndz.
    79
    810== Hardware / Software Resources Used ==
     
    2628}}}
    2729
    28  * Image the two nodes to be used for the first team's radios. The example dsc-bot.ndz image contains four different topology configurations, dsc-teamA.rb, dsc-teamB.rb, dsc-teamC.rb, and dsc-teamD.rb. The configurations should be considered to be fixed for purpose of the games, and teams simply choose which topology slot (A, B, C, or D) to place their image. In the case described in this example, the first team is being placed in the team A topology slot. Also, in the example described, we are using a house bot for the participant team so that the example can be tested as-is. Teams should note that they should replace dsc-bot.ndz with their respective team-image.ndz filename:
     30 * Image the two nodes to be used for the first team's radios (team A nodes):
    2931{{{
    3032username@console.grid:~$ omf load -i dsc-bot.ndz -t system:topo:dsc-teamA
    3133}}}
    3234
    33  * Image the two nodes to be used for house radios (in this case team C nodes):
     35 * Image the two nodes to be used for the second team's radios (in this case team C nodes):
    3436{{{
    3537username@console.grid:~$ omf load -i dsc-bot.ndz -t system:topo:dsc-teamC
     
    5052
    5153By default, the experiment script will execute '''/root/gnuradio/gr-digital/examples/narrowband/bot1_tx.py''' and '''/root/gnuradio/gr-digital/examples/narrowband/bot1_rx.py''' on the transmitter and receiver respectively, for both the house bot and the team's bot. In the example described above, where house bot is competing against house bot, each team will use a separate set of parameters for a very simple bot: a brute-force radio that sends a random number of packets at random intervals. The sender module draws packets from a packet server, while the receiver module delivers packets to the same packet server.  The code is based on the same benchmark radio that was used for Hurdle 3.
    52 
    5354
    5455 * Type to following command to run the experiment. This will start the packet server, start the transmitter and receiver for both teams and release the packet source. The actual transmission/reception will run for 100 seconds (which can be adjusted with the property at the top of the script) or until one radio successfully transmits the file.
     
    147148NOTES:
    148149
    149 Please note that actual Wildcard and Tournament games will be longer than 100 seconds.
    150 
    151 As noted earlier, that this example uses dsc-bot.ndz for both teams, and that team A needs to replace this field in the omf load command with team-image.ndz.
     150 * Please note that actual Wildcard and Tournament games will be longer than 100 seconds.
     151 * As noted earlier, this example uses dsc-bot.ndz for both teams; if the teams want to test their own designs, they need to load their image to one pair of nodes and adjust the script (if their script name/path is different from what the bot image is using).