Commit graph

78 commits

Author SHA1 Message Date
Laura Klünder
17166eaa89 fix locate_by_beacon_position some more 2024-12-28 21:07:03 +01:00
Laura Klünder
7cc0973800 fix 500 in locate 2024-12-28 20:59:29 +01:00
Laura Klünder
cfed6d9ed7 wifi_bssids → addresses 2024-12-28 15:21:53 +01:00
Laura Klünder
ca6252583c beacon_type support 2024-12-28 14:59:09 +01:00
Laura Klünder
88d9051f1c better location? lets see it fail! 2024-12-27 22:59:23 +01:00
Laura Klünder
a74efc3706 filter out peer_ids with no distance in locate_range 2024-12-27 20:20:54 +01:00
Laura Klünder
8c8b4c69e7 add explicit float 2024-12-27 17:02:44 +01:00
Laura Klünder
cfc3467336 1.3m above ground is where we assume phones to be 2024-12-27 16:07:15 +01:00
Laura Klünder
e8224a2db1 comment out some stuff 2024-12-27 16:05:39 +01:00
Laura Klünder
27f585ff51 fix locate_range level getting 2024-12-27 16:03:36 +01:00
Laura Klünder
3eb1ebbe77 fix locator least square matching 2024-12-27 14:43:21 +01:00
Laura Klünder
2063b715e7 fix fixxfix 2024-12-27 02:15:10 +01:00
Laura Klünder
7c7b73f488 store multiple wifi bssids per beacon 2024-12-26 22:17:27 +01:00
Jenny Paxian
ebfc683f7c
Fixes some issues with the location button being invisible (#207)
* Fakemobileclient should return a dict of wifi.data, instead of data, since we have bluetooth beacons too

* Use dict instead of list for beacon measurement in fakemobileclient and editor script

* Use distance directly

* BeaconMeasurementDataSchema add default

* Route from current location

* Do not try to set Score if no location found
2024-12-23 22:13:32 +01:00
Jenny Paxian
82b13e16a0
Use dict in fakemobileclient for data, add default to BeaconMeasurementDataSchema (#206)
* Fakemobileclient should return a dict of wifi.data, instead of data, since we have bluetooth beacons too

* Use dict instead of list for beacon measurement in fakemobileclient and editor script

* Use distance directly

* BeaconMeasurementDataSchema add default
2024-12-23 18:01:03 +01:00
Laura Klünder
8feac6bf43 use shcmea for beaconmeasurement data and fix some related things 2024-12-23 16:26:15 +01:00
Laura Klünder
71131cc5c5 store all processupdates result files in mapupdate-based directory 2024-09-17 01:43:38 +02:00
Laura Klünder
dc6df1fb7b fix convert_scans not working for some reason 2024-08-28 14:56:59 +02:00
Laura Klünder
3ad6631916 add ibeacon todo in locator 2024-03-31 19:38:47 +02:00
Laura Klünder
fe9b448fde use convert_wifi_scan 2024-03-31 19:38:23 +02:00
Laura Klünder
76b8858923 Locator now can deal with ibeacons in theory 2024-03-31 19:36:02 +02:00
Laura Klünder
20fbcc9139 wifimeasurement → beaconmeasurement… and editor scancollector implementation 2024-03-31 16:23:15 +02:00
Laura Klünder
31c7dad72f add ibeacon scan code to c3nav.js and endpoint 2024-03-31 15:26:44 +02:00
Laura Klünder
372db50224 add bluetooth and UWB parameters to RangingBeacon model 2024-03-10 13:45:20 +01:00
Laura Klünder
2b0df524cb import scipy.linalg.norm lazily 2024-02-07 20:05:15 +01:00
Laura Klünder
d7f175f7ef add options and postpone imports to massively reduce memory usage 2024-02-07 18:17:13 +01:00
Laura Klünder
4227288e6d fix not calling .rssi 2023-12-27 22:26:57 +01:00
Laura Klünder
2f6570f718 Correct variable naming in locator module 2023-12-27 22:18:34 +01:00
Laura Klünder
3637b3cdd5 fix the thing with the lambda and stuff in locator 2023-12-27 21:54:46 +01:00
Laura Klünder
2bcbdb6f8b fix locator build issue number 203847234786139876 2023-12-27 21:47:27 +01:00
Laura Klünder
9b3e6727fb fix keyerror distance 2023-12-27 21:36:39 +01:00
Laura Klünder
3cebd01c28 add missing create_peers=True 2023-12-27 21:32:00 +01:00
Gwendolyn
ccf676e5c7 fix locator data conversion issue 2023-12-27 17:44:20 +01:00
Gwendolyn
e15d178102 wifi measurements have no x and y properties directly, get them from geometry 2023-12-27 13:28:02 +01:00
Laura Klünder
ef83e73a36 make linter happy 2023-12-11 19:02:19 +01:00
Laura Klünder
295334a4a3 fix router and locator .load() 2023-12-07 22:15:50 +01:00
Laura Klünder
372936fcad an experiment. lets don't use threading locks, hope it helps with performance 2023-12-07 17:28:13 +01:00
Jenny Danzmayr
0083d1103b fixed process_updates and Locator.rebuild 2023-12-07 06:43:50 +01:00
Laura Klünder
37507e65ab what if the last commit produced running code? who knows, but now it runs 2023-12-07 02:27:12 +01:00
Laura Klünder
34af60782c merge RangeLocator into Locator and modernize code 2023-12-07 02:21:46 +01:00
Laura Klünder
2ad9f4a099 use pathlib in more places, thereby fixing some bugs 2023-11-11 12:06:46 +01:00
Laura Klünder
fb4da7c768 satisfy linter and type checker in many places 2022-04-03 20:19:41 +02:00
Laura Klünder
03437a3a40 update dependencies and upgrade code for django where needed/possible 2022-04-03 16:34:11 +02:00
Laura Klünder
5e96d98693 provide score when llocating people 2019-12-28 17:18:32 +01:00
Laura Klünder
58a50adba1 hotfix to deal with stations that are still being put up 2019-12-26 18:13:58 +01:00
Laura Klünder
7f93ad58ca add helpful comment 2019-12-26 18:02:31 +01:00
Laura Klünder
14c4311f8f fix locating by changing one byte 2018-12-26 15:13:10 +01:00
Laura Klünder
6b852a9b03 use power of too to approximate wifi levels linearly 2018-12-24 23:04:19 +01:00
Laura Klünder
e03a026613 wifi locator: fix penalty 2018-12-24 19:14:53 +01:00
Laura Klünder
3944ea5765 overhaul wifi location code 2018-12-24 18:25:26 +01:00