Commit Graph

177 Commits

Author SHA1 Message Date
Arthur Lu
2b72743b27 Merge branch 'superscript-v1' of https://github.com/titanscouting/tra-superscript into superscript-v1 2022-02-04 03:06:14 +00:00
Arthur Lu
1e18cddc47 fixed bugs in data.py to work with database,
fixed object field in module.py: Metric,
fixed timestamp input in superscripy.py
2022-02-04 03:06:09 +00:00
Dev Singh
982cb0aa6b update validation schema 2022-02-04 02:44:48 +00:00
Arthur Lu
aed03369c9 patched issue in multiprocessing,
moved ConfigurationError to exceptions.py,
made pull use load_config in config.py
2022-01-10 20:23:14 +00:00
Dev Singh
2f83604e14 use tab size 4 2022-01-10 20:02:58 +00:00
Dev Singh
40252dd74c allow overriding competition in config 2022-01-10 15:40:58 +00:00
Dev Singh
e16295da2b fix typo 2022-01-10 15:35:06 +00:00
Dev Singh
1c3fc9a872 set tab config 2022-01-10 09:23:43 -06:00
Dev Singh
ceaf3f2891 add validation schema for persistent keys 2022-01-10 09:21:46 -06:00
Dev Singh
03ec0dd8fd pull some data from API, fix some datatype compats 2022-01-09 22:19:50 -06:00
Arthur Lu
3669712bec removed commented out code
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-11-24 02:27:03 +00:00
Arthur Lu
356b71be62 changed Module interface to 3 functions
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-11-23 22:23:59 +00:00
Arthur Lu
a251fef024 moved config parsing functions to config.py 2021-11-06 01:50:55 +00:00
Arthur Lu
99efefd302 improved and streamlined config error handling 2021-11-06 00:04:11 +00:00
Arthur Lu
b0a0632b99
Merge pull request #19 from titanscouting/modularize
Reflect modularization changes into v1
2021-11-05 16:22:04 -07:00
Arthur Lu
d234302cdc added empty modules for future additions 2021-11-05 23:17:42 +00:00
Arthur Lu
108284a94b formalized module interface 2021-11-02 05:37:27 +00:00
Arthur Lu
0fd24d42e1 removed testing notebook,
anticipated removal of pandas requirement,
added pandas and matplotlib to pyinstaller exclusion,
removed unessasary option in build scripts
2021-10-30 03:51:03 +00:00
Arthur Lu
d798bfe7d2 module replaces processing 2021-10-30 03:11:10 +00:00
Arthur Lu
bd87111e08 fixed debug logging
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-28 21:12:28 +00:00
Arthur Lu
7be48af85e implemented dynamic module loading/running,
fixed minor issue in metric module

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-28 20:40:56 +00:00
Arthur Lu
3ac4e96d2d added Metric, Pit modules (theoretically working)
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-28 20:13:57 +00:00
Arthur Lu
afab67f8ef changed Match module to use current data bindings
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-22 01:40:56 +00:00
Arthur Lu
8966900341 changed sample json 2021-10-21 22:33:26 +00:00
Arthur Lu
7f0d3fc753 minor fix
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-21 21:58:02 +00:00
Arthur Lu
d16fe61a79 added sample initializaition loop
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-21 21:56:44 +00:00
Arthur Lu
de81a03e3d modified config validation for Match module
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-21 21:51:14 +00:00
Arthur Lu
f40939d69d removed autovivification (likely not required)
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-21 21:29:44 +00:00
Arthur Lu
d5ebb0348b finished rough outline for Match module
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-21 21:27:35 +00:00
Arthur Lu
72a14bfac9 minor fix
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-21 20:56:06 +00:00
Arthur Lu
8e8c19c5fd added working load_data for Match module
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-21 20:42:47 +00:00
Arthur Lu
b9e2de2dc6 added working validate_config for Match module
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-21 20:28:29 +00:00
Arthur Lu
4a1d7f0db1 removed keys
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-21 20:05:07 +00:00
Arthur Lu
6a4d13a33f
Merge pull request #18 from titanscouting/daemon-fix
Fix messaging in daemon
2021-10-16 16:42:47 -07:00
Arthur Lu
828e45844e removed websockets from requirements.txr,
fixed return code of daemon,
removed websockets from hidden imports of superscript.spec
2021-10-16 20:28:57 +00:00
Arthur Lu
ab13e10271 moved sample zmq SUB client to test/ 2021-10-16 20:21:12 +00:00
Arthur Lu
41fb81cfac verification of zmq solution working remotely
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-15 06:20:05 +00:00
Arthur Lu
c0c46a1b9d solution using zmq PUB/SUB,
working locally
2021-10-15 06:12:50 +00:00
Arthur Lu
7b05707e3b works locally again 2021-10-14 23:30:15 +00:00
Arthur Lu
531c8f80f3 possible fix: UDP broadcast,
not connecing from outside LAN

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-14 22:52:15 +00:00
Arthur Lu
e15f87b2e5 set return value for profile option
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-14 19:45:28 +00:00
Arthur Lu
9b614af85c added close_all when exiting due to error 2021-10-13 22:32:42 +00:00
Arthur Lu
bd77927421 changes to stop() error reporting
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-13 19:11:27 +00:00
Arthur Lu
3f32104c72 fixed key error in loop delay logic,
improved error logging to include stack trace

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-12 22:16:34 +00:00
Arthur Lu
0895eb3d74 fixed errorlog path
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2021-10-12 21:42:09 +00:00
Arthur Lu
9603ca2be9 fixed minor push_pit bug 2021-10-11 02:59:49 +00:00
Arthur Lu
24e666a23b fixed sample config.json 2021-10-11 02:56:24 +00:00
Arthur Lu
82b62924f6
Merge pull request #17 from titanscouting/event-listener
Pull changes from event-listener to superscript-v1
2021-10-10 19:52:53 -07:00
Arthur Lu
3dbdcfbd35
Merge branch 'superscript-v1' into event-listener 2021-10-10 19:52:47 -07:00
Arthur Lu
790eb4aa03
Merge pull request #16 from titanscouting/database-config
Pull changes from database-config into superscript-v1
2021-10-10 19:49:19 -07:00