Commit graph

426 commits

Author SHA1 Message Date
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
Laura Klünder
0b6362c8ab start implementing RangeLocator 2023-11-10 20:11:50 +01:00
Gwendolyn
1ae1274c2c unwrap geometries were necessary to comply with the new shapely api 2023-11-09 18:58:31 +01:00
Laura Klünder
9618d7304f fix more bugs caused by updates, especially using unwrap_geom 2023-07-24 11:51:46 +02:00
Laura Klünder
1837c49ab8 hotfixes for processupdates 2023-07-24 11:51:46 +02:00
Laura Klünder
fb4da7c768 satisfy linter and type checker in many places 2022-04-03 20:19:41 +02:00
Laura Klünder
9d21f8c933 migrate to django's native JSONField 2022-04-03 19:40:12 +02:00
Laura Klünder
cde394e16e avoid numpy don't use lists as indices warning 2022-04-03 18:28:53 +02:00
Laura Klünder
4e15cc1b74 fix linter warnings 2022-04-03 16:42:17 +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
a319da872c invalid data? we'll tell you off! 2019-12-28 20:02:55 +01:00
Laura Klünder
7ebc6a8605 only set position in locate() if location is not None 2019-12-28 19:48:06 +01:00
Laura Klünder
4fcca5bb08 fix typos 2019-12-28 19:47:42 +01:00
Laura Klünder
3988fff5e6 quick explanation howto use the locate endpoint 2019-12-28 18:29:26 +01:00
Laura Klünder
9b7092d057 fix error 500 in positioning api 2019-12-28 17:47:20 +01:00
Laura Klünder
6262601c54 set position while locating 2019-12-28 17:28:54 +01:00
Laura Klünder
5e96d98693 provide score when llocating people 2019-12-28 17:18:32 +01:00
Laura Klünder
1ecdc89a68 dynamic location as a starting point 2019-12-27 23:27:50 +01:00
Laura Klünder
cca263c605 routing to dynamic locations! 2019-12-27 22:11:51 +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
ca9d40c7f5 fix bug with nearby locations 2019-12-26 13:28:20 +01:00
Laura Klünder
62de1e4ceb when showing nearby locations show all location within 5 meters, but at least 20 2019-12-26 12:48:06 +01:00
Laura Klünder
b19c001ad1 fix report_issue_url in route 2019-12-25 01:34:12 +01:00
Laura Klünder
27b35a384d show nearby locations 2019-12-25 00:40:19 +01:00
Laura Klünder
52c02a4101 issue submission forms 2019-12-24 17:29:00 +01:00