Test nodes that move around randomly and form new connections. Real live changes can be followed via the graph.json output.
- for all combinations of <step_duration> seconds in [10, 30] and <step_distance> in [10, 30, 60] meters:
- create 50 nodes on a 1km x 1km area
- connect all nodes with increasing link length until 150 links are created
- start Yggdrasil on each node
- move nodes by <step_distance>m for each iteration
- connect all nodes with increasing link length until 150 links are created
- wait for <step_duration>s seconds
- send 200 pings between random pairs of nodes over a period of 2 seconds
- record arrived packets
- continue at 4. for 30 times
- remove remaining
*.csv
files in this directory - execute
sudo ./run.py
to run the test (will take a long time). ./plot.sh
will create graphs using gnuplot
- use
./animate.sh record
to record a series of screenshots of MeshGraphViewer - use
./animate.sh process
to create a gif