[orbit-user] A problem on noise injection
Fan Wu
wufan.nju at gmail.com
Tue Feb 19 04:37:03 EST 2008
Hi,
I am trying to inject noise into the grid. But I always get errors on this.
My code for noise injection is as follows:
defGroup('commander', [2,2])
defGroup('worker', [6,6])
allGroups.net.w0 { |w|
w.mode = "ad-hoc"
w.type = 'b'
w.channel = "2"
w.essid = "opp"
w.rate = "11M"
w.tx_power = "18dBm"
w.ip = "%192.168.%x.%y"
}
antenna(4,4).signal {|s|
s.bandwidth = 10
s.channel = 2
s.power = -10
}
whenAllUp() {|node|
wait 30
antenna(4,4).signal.on
wait 30
Experiment.done
}
The error message is like this:
INFO init: NodeHandler Version 4.2.0 (1272)
INFO init: Experiment ID: grid_2008_02_19_03_53_37
INFO Experiment: load system:exp:stdlib
INFO prop.resetDelay: resetDelay = 210:Fixnum
INFO prop.resetTries: resetTries = 1:Fixnum
INFO Experiment: load opp_grid
INFO stdlib: Waiting for nodes (Up/Down/Total): 0/2/2 - (still down:
n_2_2,n_6_6)
INFO stdlib: Waiting for nodes (Up/Down/Total): 1/1/2 - (still down: n_6_6)
ERROR Communicator: Error ('undefined method `logError' for
#<Communicator:0xb799539c>') - While processing agent command ''
ERROR Communicator: Error ('undefined method `logError' for
#<Communicator:0xb799539c>') - While processing agent command ''
FATAL service_call: Exception:
(http://instrument1.orbit-lab.org:8001/esg?instrument_id=1&signal_type=noise
&bandwidth=10)
ERROR ExecApp: Application 'commServer' failed (code=2)
The script runs smoothly without noise injection part. Does anyone know how
to solve this problem?
Thanks a lot!
Fan Wu
Department of Computer Science and Engineering
The State University of New York at Buffalo
Email: fwu2 at cse.buffalo.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://orbit-lab.org/pipermail/orbit-user/attachments/20080219/ea594702/attachment.html
More information about the orbit-user
mailing list