Arthur Lu
80b63269df
readded zmq messaging
...
Former-commit-id: e38653c4dc4ffe6aada19cac2251c3ec28bfbc2b
2022-02-19 22:58:58 +00:00
Arthur Lu
56447603e1
implemented logger,
...
dropped zmq because of constant inconsistency,
daemon process now outputs to file,
deleted client.py
Former-commit-id: d3251e5f6404d0dce42da49e5d577651e718e168
2022-02-19 08:52:49 +00:00
Arthur Lu
2130182212
fixed pull APIError calls (removed endpoint arg)
...
Former-commit-id: 5090eefdbd5b13bfda285d5480e79896dd3610a5
2022-02-19 06:50:34 +00:00
Arthur Lu
b1eff19ea4
removec __all__ property from superscript
...
Former-commit-id: 67c4684b5943467cc07b8cc638dc438ad0ee3e54
2022-02-19 06:46:39 +00:00
Arthur Lu
b43836899d
moved config functions into Configuration class,
...
simplified exception class by removing error codes,
removed exec_threads from module parameters
Former-commit-id: 545ef765653970e1cdebac692eccd227effb2508
2022-02-19 06:19:13 +00:00
Arthur Lu
524a0a211d
removed gui (last commit tagged "gui"),
...
removed print statement in pit module
Former-commit-id: 4978aee142eaf9431913b44eabfc0dfb79c7b600
2022-02-09 05:36:19 +00:00
Arthur Lu
491508a400
switch docker image to python:slim,
...
move requirements.txt to .devcontainer/
Former-commit-id: 427a37e514
2022-02-04 08:38:03 +00:00
Arthur Lu
b0ffdbab9a
fixed pit processing issue due to config change
...
Former-commit-id: 15f95b778b
2022-02-04 03:28:08 +00:00
Arthur Lu
c4bb633e08
fixed pit data fetching
...
Former-commit-id: d017ec52a7
2022-02-04 03:24:47 +00:00
Dev Singh
c46e74036b
get team nums at comp
...
Former-commit-id: 028f6f775d
2022-02-04 03:16:45 +00:00
Arthur Lu
c08d3d3ae7
Merge branch 'superscript-v1' of https://github.com/titanscouting/tra-superscript into superscript-v1
...
Former-commit-id: 2b72743b27
2022-02-04 03:06:14 +00:00
Arthur Lu
6cfe4e3f33
fixed bugs in data.py to work with database,
...
fixed object field in module.py: Metric,
fixed timestamp input in superscripy.py
Former-commit-id: 1e18cddc47
2022-02-04 03:06:09 +00:00
Dev Singh
40673169b2
update validation schema
...
Former-commit-id: 982cb0aa6b
2022-02-04 02:44:48 +00:00
Arthur Lu
7d08194636
patched issue in multiprocessing,
...
moved ConfigurationError to exceptions.py,
made pull use load_config in config.py
Former-commit-id: aed03369c9
2022-01-10 20:23:14 +00:00
Dev Singh
db4b020851
allow overriding competition in config
...
Former-commit-id: 40252dd74c
2022-01-10 15:40:58 +00:00
Dev Singh
18d4438f7f
fix typo
...
Former-commit-id: e16295da2b
2022-01-10 15:35:06 +00:00
Dev Singh
74542c1d8f
add validation schema for persistent keys
...
Former-commit-id: ceaf3f2891
2022-01-10 09:21:46 -06:00
Dev Singh
b4c9ef22b6
pull some data from API, fix some datatype compats
...
Former-commit-id: 03ec0dd8fd
2022-01-09 22:19:50 -06:00
Arthur Lu
af74a69579
removed commented out code
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: 3669712bec
2021-11-24 02:27:03 +00:00
Arthur Lu
ac66545226
changed Module interface to 3 functions
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: 356b71be62
2021-11-23 22:23:59 +00:00
Arthur Lu
4b5db1aba8
moved config parsing functions to config.py
...
Former-commit-id: a251fef024
2021-11-06 01:50:55 +00:00
Arthur Lu
b9610b7b46
improved and streamlined config error handling
...
Former-commit-id: 99efefd302
2021-11-06 00:04:11 +00:00
Arthur Lu
c90a35ff51
added empty modules for future additions
...
Former-commit-id: d234302cdc
2021-11-05 23:17:42 +00:00
Arthur Lu
60e88a5987
formalized module interface
...
Former-commit-id: 108284a94b
2021-11-02 05:37:27 +00:00
Arthur Lu
9c2946718f
removed testing notebook,
...
anticipated removal of pandas requirement,
added pandas and matplotlib to pyinstaller exclusion,
removed unessasary option in build scripts
Former-commit-id: 0fd24d42e1
2021-10-30 03:51:03 +00:00
Arthur Lu
bd0c0d99f9
module replaces processing
...
Former-commit-id: d798bfe7d2
2021-10-30 03:11:10 +00:00
Arthur Lu
9ddf61621e
fixed debug logging
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: bd87111e08
2021-10-28 21:12:28 +00:00
Arthur Lu
0af93238be
implemented dynamic module loading/running,
...
fixed minor issue in metric module
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: 7be48af85e
2021-10-28 20:40:56 +00:00
Arthur Lu
6c8e738420
added Metric, Pit modules (theoretically working)
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: 3ac4e96d2d
2021-10-28 20:13:57 +00:00
Arthur Lu
0eccc32096
changed Match module to use current data bindings
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: afab67f8ef
2021-10-22 01:40:56 +00:00
Arthur Lu
f8f8543ea2
changed sample json
...
Former-commit-id: 8966900341
2021-10-21 22:33:26 +00:00
Arthur Lu
a1fb295a1a
minor fix
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: 7f0d3fc753
2021-10-21 21:58:02 +00:00
Arthur Lu
4ded02b34f
added sample initializaition loop
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: d16fe61a79
2021-10-21 21:56:44 +00:00
Arthur Lu
88282aa18b
modified config validation for Match module
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: de81a03e3d
2021-10-21 21:51:14 +00:00
Arthur Lu
66bf3a3a3e
removed autovivification (likely not required)
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: f40939d69d
2021-10-21 21:29:44 +00:00
Arthur Lu
375b550153
finished rough outline for Match module
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: d5ebb0348b
2021-10-21 21:27:35 +00:00
Arthur Lu
79dd2c3479
minor fix
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: 72a14bfac9
2021-10-21 20:56:06 +00:00
Arthur Lu
d2ced284ea
added working load_data for Match module
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: 8e8c19c5fd
2021-10-21 20:42:47 +00:00
Arthur Lu
07965cba4b
added working validate_config for Match module
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: b9e2de2dc6
2021-10-21 20:28:29 +00:00
Arthur Lu
36081e1239
removed keys
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: 4a1d7f0db1
2021-10-21 20:05:07 +00:00
Arthur Lu
08f5ba987a
removed websockets from requirements.txr,
...
fixed return code of daemon,
removed websockets from hidden imports of superscript.spec
Former-commit-id: 828e45844e
2021-10-16 20:28:57 +00:00
Arthur Lu
dafd66447f
moved sample zmq SUB client to test/
...
Former-commit-id: ab13e10271
2021-10-16 20:21:12 +00:00
Arthur Lu
6bcb3cbff4
verification of zmq solution working remotely
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: 41fb81cfac
2021-10-15 06:20:05 +00:00
Arthur Lu
6cd092da37
solution using zmq PUB/SUB,
...
working locally
Former-commit-id: c0c46a1b9d
2021-10-15 06:12:50 +00:00
Arthur Lu
8540642bef
works locally again
...
Former-commit-id: 7b05707e3b
2021-10-14 23:30:15 +00:00
Arthur Lu
5d0fbc06c6
possible fix: UDP broadcast,
...
not connecing from outside LAN
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: 531c8f80f3
2021-10-14 22:52:15 +00:00
Arthur Lu
a4a13c7cb5
set return value for profile option
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: e15f87b2e5
2021-10-14 19:45:28 +00:00
Arthur Lu
26d9d962c0
added close_all when exiting due to error
...
Former-commit-id: 9b614af85c
2021-10-13 22:32:42 +00:00
Arthur Lu
e20a212bd9
changes to stop() error reporting
...
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: bd77927421
2021-10-13 19:11:27 +00:00
Arthur Lu
1151541976
fixed key error in loop delay logic,
...
improved error logging to include stack trace
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
Former-commit-id: 3f32104c72
2021-10-12 22:16:34 +00:00