Commit c32534d69f237d0af51c230c4ae13c3eab85ae34
1 parent
6d36c26b
removed unused os library
Showing
2 changed files
with
1 additions
and
4 deletions
Show diff stats
README.md
... | ... | @@ -17,6 +17,4 @@ This program aims to compute the approximate location of a mobile terminal for a |
17 | 17 | ## Annex : N-Lateration 3D visualisation |
18 | 18 | visuals.py provides a cool function to graphically represent the N-Lateration distances in a 3D space by creating an animated gif (RMI style) |
19 | 19 | ### Example : |
20 | -[ | |
21 | - | |
22 | - | |
20 | +[Click here to view output gif example](https://dantz.fr/LO53/out.gif?) (too big to be displayed) | |
23 | 21 | \ No newline at end of file | ... | ... |
visuals.py
... | ... | @@ -2,7 +2,6 @@ from structure import RSSVector, Location, Cell, newCell, KNeighbors, resolve_ba |
2 | 2 | from random import random |
3 | 3 | from math import floor, sqrt, ceil |
4 | 4 | from PIL import Image, ImageDraw |
5 | -from os import startfile | |
6 | 5 | |
7 | 6 | dataset = [(Location(.5,.5,.5), 3.0), (Location(4.0,.0,.0), 2.0), (Location(4.0,5.0,5.0), 4.2), (Location(3.0,3.0,3.0), 2.5)] |
8 | 7 | NLat_result = NLateration(dataset) | ... | ... |