summaryrefslogtreecommitdiff
path: root/tests/simple_sendt_wlan0_1s2r/simulator.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simple_sendt_wlan0_1s2r/simulator.py')
-rwxr-xr-xtests/simple_sendt_wlan0_1s2r/simulator.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/simple_sendt_wlan0_1s2r/simulator.py b/tests/simple_sendt_wlan0_1s2r/simulator.py
new file mode 100755
index 0000000..3f53e63
--- /dev/null
+++ b/tests/simple_sendt_wlan0_1s2r/simulator.py
@@ -0,0 +1,17 @@
+#!/usr/bin/env python
+
+# Load ESDS
+import sys
+sys.path.append("../../")
+import esds
+import numpy as np
+
+B=np.full((3,3),8)
+L=np.full((3,3),0)
+s=esds.Simulator(B,L)
+
+s.create_node("sender")
+s.create_node("receiver")
+s.create_node("receiver")
+
+s.run()