respect beacon altitude
This commit is contained in:
parent
66f56f2b71
commit
d07361112f
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class RangeLocator:
|
||||||
bssid=beacon.bssid,
|
bssid=beacon.bssid,
|
||||||
x=int(beacon.geometry.x * 100),
|
x=int(beacon.geometry.x * 100),
|
||||||
y=int(beacon.geometry.y * 100),
|
y=int(beacon.geometry.y * 100),
|
||||||
z=int(router.altitude_for_point(beacon.space_id, beacon.geometry) * 100),
|
z=int((router.altitude_for_point(beacon.space_id, beacon.geometry)+beacon.altitude) * 100),
|
||||||
)
|
)
|
||||||
|
|
||||||
locator = cls(beacons=beacons)
|
locator = cls(beacons=beacons)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue