add bluetooth and UWB parameters to RangingBeacon model
This commit is contained in:
parent
0fd789173a
commit
372db50224
5 changed files with 41 additions and 13 deletions
|
@ -70,7 +70,7 @@ class Locator:
|
|||
|
||||
def _rebuild(self, router):
|
||||
for beacon in RangingBeacon.objects.all():
|
||||
peer_id = self.get_peer_id(beacon.bssid, create=True)
|
||||
peer_id = self.get_peer_id(beacon.wifi_bssid, create=True)
|
||||
self.peers[peer_id].xyz = (
|
||||
int(beacon.geometry.x * 100),
|
||||
int(beacon.geometry.y * 100),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue