Changes between Version 1 and Version 2 of DSC/dc_trial2
- Timestamp:
- Jun 25, 2013, 2:15:43 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DSC/dc_trial2
v1 v2 1 = Wildcard tournament experiment e axmple #1 =1 = Wildcard tournament experiment example #1 = 2 2 3 3 [[TOC(DSC*,depth=2)]] 4 4 5 5 == Objective == 6 Use OEDL script to execute competitive game in wildcard with the simple house bot.6 Use 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 7 8 8 == Hardware / Software Resources Used == 9 1. Four grid nodes with USRP s.10 2. ''dsc-bot.ndz'': disk image loaded onto one pair of nodes. This image has all the prerequisite software to configure the USRPs and execute a house radio .11 3. ''team-image.ndz'': disk image with teamradio.9 1. Four grid nodes with USRP N210s. 10 2. ''dsc-bot.ndz'': disk image loaded onto one pair of nodes. This image has all the prerequisite software to configure the USRPs and execute a house radio bot. 11 3. ''team-image.ndz'': disk image that contains the team's radio. 12 12 4. Scoring packet server: This is server that resides on the grid console (for the practice) and is used by a transmitting nodes to send data packets over the air via USRP as well as by the receiving nodes to submit received packets for scoring. 13 13 5. [attachment:dsc-wildcard.rb]: this is the OEDL experiment script to execute the game. 14 14 15 15 == Setting up the nodes == 16 * To get started first make a reservation on the [https://www.orbit-lab.org/loginService/ControlPanel Orbit Scheduler] for using the Grid. 16 * To get started first make a reservation on the [https://www.orbit-lab.org/loginService/ControlPanel Orbit Scheduler] for using the Grid. 17 17 18 18 * After logging into grid console, make sure all nodes are turned off (in the example below, turn off all the nodes in the grid): … … 26 26 }}} 27 27 28 * Image the two nodes to be used for first team radios (in this case team A nodes):28 * Image the two nodes to be used for the first team's radios (in this case the first team is team A, and corresponds to the participant team): 29 29 {{{ 30 30 username@console.grid:~$ omf load -i dsc-bot.ndz -t system:topo:dsc-teamA … … 49 49 == Running the experiment script == 50 50 51 By 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 t ransmitter and receiver respectively. Each team will use a separate set of parameters for a very simple bot: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.51 By 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. 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 52 53 53 54 * 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. 54 * 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. 55 55 {{{ 56 56 username@console.grid:~$ omf exec dsc-wildcard.rb -- --team1 dsc-teamA --team2 dsc-teamC … … 70 70 NOTES: 71 71 72 Please note that actual Wildcard and Tournament games will be longer than 100 seconds. 73 74 Also note 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.