Commit graph

64 commits

Author SHA1 Message Date
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
Laura Klünder
3adb6b662e wifilocator: don't use variable of same name 2018-12-24 17:39:06 +01:00
Laura Klünder
c4a7b2b084 hey wifilocator, use max() not min() to get the best signal pls… 2018-12-24 17:36:42 +01:00
Laura Klünder
c033863ff6 there is still hope for wifi location 2017-12-26 16:06:28 +01:00
Laura Klünder
6d2417c522 don't look up using ssid 2017-12-26 15:58:33 +01:00
Laura Klünder
65e84b56c0 don't crash with index stuff while locating 2017-12-26 15:53:08 +01:00
Laura Klünder
dd0da6d8d8 hopefully this helps 2017-12-26 15:33:14 +01:00
Laura Klünder
d6402839ab fix error flood during locating 2017-12-26 15:28:41 +01:00
Laura Klünder
90999daa31 fix locating 2017-12-26 15:20:16 +01:00
Laura Klünder
d271062c86 try to give better results by preselecting spaces 2017-12-26 15:05:46 +01:00
Laura Klünder
ea9e5d56ef int64, just to be sure 2017-12-26 13:31:18 +01:00
Laura Klünder
b28ae3341f higher exponent 2017-12-26 13:30:54 +01:00
Laura Klünder
5d8af2ca1d more stations = more good 2017-12-26 13:23:56 +01:00
Laura Klünder
16e42d9839 fix scores calculation 2017-12-26 13:20:00 +01:00
Laura Klünder
8b2872866a counteract quadratic signal drop 2017-12-26 13:13:41 +01:00