summaryrefslogtreecommitdiff
path: root/tests/mobility_wlan0_bandwidth_1s1r/simulator.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mobility_wlan0_bandwidth_1s1r/simulator.py')
-rwxr-xr-xtests/mobility_wlan0_bandwidth_1s1r/simulator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mobility_wlan0_bandwidth_1s1r/simulator.py b/tests/mobility_wlan0_bandwidth_1s1r/simulator.py
index f7a0072..6d9d5fc 100755
--- a/tests/mobility_wlan0_bandwidth_1s1r/simulator.py
+++ b/tests/mobility_wlan0_bandwidth_1s1r/simulator.py
@@ -26,13 +26,13 @@ import numpy as np
B=np.full((2,2),8)
L=np.full((2,2),0)
-s=esds.Simulator(B,L)
+s=esds.Simulator(B,L,B,L)
s.create_node("sender")
s.create_node("receiver")
def callback(simulator):
simulator.log("Network update!")
- simulator.update_network(simulator.B*2,simulator.L)
+ simulator.update_network(simulator.B_wlan0*2,simulator.L_wlan0,simulator.B_eth0*2,simulator.L_eth0)
s.run(breakpoints_every=1/2,breakpoint_callback=callback)