Commit graph

351 commits

Author SHA1 Message Date
Laura Klünder
295334a4a3 fix router and locator .load() 2023-12-07 22:15:50 +01:00
Laura Klünder
551cb1e086 start modernizing renderdata code somewhat 2023-12-07 19:13:42 +01:00
Laura Klünder
0150851808 fix typo or it will never load from local cache 2023-12-07 18:57:57 +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
Gwendolyn
0e171166e8 fix routing error 2023-12-07 16:02:35 +01:00
Jenny Danzmayr
0083d1103b fixed process_updates and Locator.rebuild 2023-12-07 06:43:50 +01:00
Laura Klünder
d0b26cb67b lets move stuff to a file that actually exists 2023-12-07 02:33:37 +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
83dfdec90f RangeLocator needs current router instead of old one (which might fail) 2023-12-07 00:18:20 +01:00
Laura Klünder
4491f68dc7 move api auth from authorization header to X-API-Key header 2023-12-04 23:07:45 +01:00
Laura Klünder
0e73643bb3 nore documentation for routing and positioning API 2023-12-04 19:24:14 +01:00
Laura Klünder
182fe4eafe add todo for route options schema 2023-12-03 23:29:37 +01:00
Laura Klünder
ba4c2b7d0a rename newapi to api 2023-12-03 21:55:08 +01:00
Laura Klünder
caf23d053c goodbye django rest framework 2023-12-03 21:50:55 +01:00
Gwendolyn
67be6f1131 fix route item schema 2023-12-03 21:11:10 +01:00
Gwendolyn
1fb84414f8 convert string proxies to strings in routing descriptions 2023-12-03 21:11:10 +01:00
Laura Klünder
ed94b81ecb routing is not a write operation 2023-12-03 20:06:16 +01:00
Laura Klünder
499eb0d1eb document positinoing api v2 endpoints better 2023-12-03 19:48:13 +01:00
Laura Klünder
89da5d9d01 improve api v2 documentation for routing 2023-12-03 19:43:38 +01:00
Laura Klünder
d9d05a306f fix imports 2023-12-03 18:25:42 +01:00
Laura Klünder
ec4aa7daa1 positioning api v2: now available 2023-12-03 18:25:26 +01:00
Laura Klünder
f7f77b2823 new routing api, now available 2023-12-03 17:37:32 +01:00
Laura Klünder
5c203a7a2b editor geometries now available in new API 2023-12-03 16:37:05 +01:00
Laura Klünder
70e9e1fb9f we have been informed that it is preferably to not spam the logs with errors 2023-12-02 03:53:47 +01:00
Laura Klünder
67e5b0f8a1 more schema for positioning API 2023-12-02 00:00:23 +01:00
Laura Klünder
210d079bb7 write more schema for routing api 2023-12-01 23:49:02 +01:00
Laura Klünder
69de947995 fix locate test to not spam all the logs 2023-12-01 00:27:22 +01:00
Laura Klünder
43791583e0 new api secret system, multiple api secrets, limited scopes, etc... 2023-11-30 22:02:40 +01:00
Laura Klünder
7073c12cde add beacons-xyz api endpoints 2023-11-30 21:26:57 +01:00
Laura Klünder
ad98eecf41 more rangelocator experimenting 2023-11-27 22:09:31 +01:00
Laura Klünder
8a8b20f22e make linter happy 2023-11-26 17:55:23 +01:00
Laura Klünder
79dff87ce1 node ranging → show calculated position and diffs 2023-11-25 21:53:28 +01:00
Laura Klünder
518219a7a4 add actual distance to mesh ranging view 2023-11-25 18:55:18 +01:00
Laura Klünder
3f8e42d13e adding the missing files might be smart 2023-11-24 16:15:19 +01:00
Laura Klünder
d6b9161345 add position update API endpoint and remove old one, also some more api tweaks 2023-11-24 15:42:48 +01:00
Laura Klünder
d84226dc5c fix get_locator_beacon 2023-11-23 15:02:21 +01:00
Laura Klünder
b2aa76ba2d update django-ninja, including pydantic v2 and add provisional level api 2023-11-18 21:29:35 +01:00
Laura Klünder
359116f1d0 remove unneeded comments 2023-11-11 17:21:16 +01:00
Laura Klünder
c3a9b178f7 update range locate code with new gwen(tm) algorithm 2023-11-11 17:19:16 +01:00
Laura Klünder
4dd79c238f locate_test should filter out invalid range readings 2023-11-11 17:18:37 +01:00
Laura Klünder
db07c57c35 rangelocator: fractional ranges? 2023-11-11 16:49:12 +01:00
Laura Klünder
94af40d2f1 allow to set static factor 2023-11-11 16:34:55 +01:00
Laura Klünder
0a9bf327c3 move test part of locate_test into locate_test 2023-11-11 15:32:12 +01:00
Laura Klünder
2ee0dd4579 use numpy for speedup of RangeLocator 2023-11-11 15:22:36 +01:00
Laura Klünder
0e49ed5199 time for some ugly range location testing 2023-11-11 14:57:16 +01:00
Gwendolyn
565404598b fix import order 2023-11-11 13:30:12 +01:00
Laura Klünder
d07361112f respect beacon altitude 2023-11-11 12:30:03 +01:00
Laura Klünder
66f56f2b71 add locate_test api 2023-11-11 12:29:52 +01:00
Laura Klünder
2ad9f4a099 use pathlib in more places, thereby fixing some bugs 2023-11-11 12:06:46 +01:00