Commit Graph

167 Commits

Author SHA1 Message Date
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
Arthur Lu
0fb586f13d
Merge pull request #15 from titanscouting/automate-build
Update superscript-v1 with automate-build
2021-10-10 19:47:48 -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
e18ddcec9d
Merge pull request #13 from titanscouting/superscript-v1
Pull recent changes from superscript-v1 to database-config
2021-09-22 20:29:02 -07: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
73b5c393a0 changed asset upload name
removed create criteria, must be publish
2021-08-26 23:19:53 +00:00