Commit Graph

82 Commits

Author SHA1 Message Date
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
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
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
3dbdcfbd35
Merge branch 'superscript-v1' into event-listener 2021-10-10 19:52:47 -07:00
Arthur Lu
dea5f3a374 implemented event delay with dummy listener,
event delay listener in data.py unimplemented
2021-10-10 06:15:22 +00:00
Arthur Lu
da913e639b added opotion to pull config from database,
major code refactor
2021-09-23 07:10:01 +00:00
Arthur Lu
a64c2c71ca
Merge branch 'databse-config' into superscript-v1 2021-09-22 20:28:55 -07:00
Arthur Lu
9163244e2c added debug option to usage description,
set generic error code to 1
2021-09-21 23:36:13 +00:00
Arthur Lu
74bcc116a2 added databse config getter/setter to data.py,
fixed args for data.py functions
2021-09-21 05:14:54 +00:00
Arthur Lu
bd51efc6c2 added debug option,
improved memory usage slightly,
changed errorlog.txt to errorlog.log,
updated .gitignore
2021-09-21 04:43:32 +00:00
Arthur Lu
fb4e5da1d4 added event and time delay options
(event delay unimplemented)
2021-08-27 23:39:48 +00:00
Arthur Lu
18c26a00b6 reorganized imports in superscript 2021-08-22 05:35:04 +00:00
Arthur Lu
ca399cf350 fixed verbose/profile output options 2021-08-19 20:58:35 +00:00
Arthur Lu
3e8d876f80
Merge pull request #11 from titanscouting/daemonize-superscript
Merge changes in daemonize-superscript to refactor-superscript
2021-08-18 17:36:55 -07:00
Arthur Lu
ea07d7c709 added profile option to superscript 2021-08-19 00:34:42 +00:00
Arthur Lu
342dae3022 unified main_lin, main_win functions 2021-08-18 22:35:42 +00:00
Arthur Lu
e9258c831d changed websocket bind address to 0.0.0.0 2021-08-18 05:58:21 +00:00