Skip to content

Commit

Permalink
added 2d grapher
Browse files Browse the repository at this point in the history
  • Loading branch information
Agustin Alexander committed Aug 25, 2021
1 parent 6ab76b8 commit ab72384
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ install:
echo "Dir exists, skip downloading .."; \
else \
git clone https://github.com/agusalex/rssi-filter-profiling \
git clone https://github.com/agusalex/easy-trilateration \
virtualenv env --python=python3 \
env/bin/pip install -r rssi-filter-profiling/requirements.txt; \
env/bin/pip install -r easy-trilateration/requirements.txt; \
wget http://www.nsnam.org/release/ns-allinone-$(VERSION).tar.bz2; \
tar -xf ./ns-allinone-$(VERSION).tar.bz2; \
rm ./ns-allinone-$(VERSION).tar.bz2; \
Expand All @@ -31,3 +33,8 @@ graph-1d:
make copy
cd ns-allinone-$(VERSION)/ns-$(VERSION)/ && ./waf --run 1DDistanceProfiling
env/bin/python rssi-filter-profiling/main.py --file ns-allinone-$(VERSION)/ns-$(VERSION)/capture_1.csv \

graph-2d:
make copy
cd ns-allinone-$(VERSION)/ns-$(VERSION)/ && ./waf --run 2ParticleFiltering
env/bin/python easy-trilateration/main.py --file ns-allinone-$(VERSION)/ns-$(VERSION)/capture_combined.csv \
1 change: 1 addition & 0 deletions easy-trilateration
Submodule easy-trilateration added at 0f12a1
2 changes: 1 addition & 1 deletion src/2d.ns_movements
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $node_(2) set X_ 25
$node_(2) set Y_ 0
$node_(3) set X_ 50
$node_(3) set Y_ 0
$node_(4) set X_ 50
$node_(4) set X_ 25
$node_(4) set Y_ 25
$node_(5) set X_ 0
$node_(5) set Y_ 25
Expand Down

0 comments on commit ab72384

Please sign in to comment.