Commit Graph

168 Commits

Author SHA1 Message Date
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
14ed3cc507 Merge pull request #19 from titanscouting/modularize
Reflect modularization changes into v1

Former-commit-id: b0a0632b99
2021-11-05 16:22:04 -07: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
49ee02d6fa Merge pull request #18 from titanscouting/daemon-fix
Fix messaging in daemon

Former-commit-id: 6a4d13a33f
2021-10-16 16:42:47 -07: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
Arthur Lu
6f28e507a1 fixed errorlog path
Signed-off-by: Arthur Lu <learthurgo@gmail.com>

Former-commit-id: 0895eb3d74
2021-10-12 21:42:09 +00:00
Arthur Lu
1e6bc1926a fixed minor push_pit bug
Former-commit-id: 9603ca2be9
2021-10-11 02:59:49 +00:00
Arthur Lu
d89f997117 fixed sample config.json
Former-commit-id: 24e666a23b
2021-10-11 02:56:24 +00:00
Arthur Lu
31423d04d8 Merge pull request #17 from titanscouting/event-listener
Pull changes from event-listener to superscript-v1

Former-commit-id: 82b62924f6
2021-10-10 19:52:53 -07:00
Arthur Lu
44e9711b2d Merge branch 'superscript-v1' into event-listener
Former-commit-id: 3dbdcfbd35
2021-10-10 19:52:47 -07:00
Arthur Lu
f24d5163d7 Merge pull request #16 from titanscouting/database-config
Pull changes from database-config into superscript-v1

Former-commit-id: 790eb4aa03
2021-10-10 19:49:19 -07:00
Arthur Lu
06630b0dd4 Merge pull request #15 from titanscouting/automate-build
Update superscript-v1 with automate-build

Former-commit-id: 0fb586f13d
2021-10-10 19:47:48 -07:00
Arthur Lu
32ae4fd636 implemented event delay with dummy listener,
event delay listener in data.py unimplemented


Former-commit-id: dea5f3a374
2021-10-10 06:15:22 +00:00
Arthur Lu
96ebb82085 added opotion to pull config from database,
major code refactor


Former-commit-id: da913e639b
2021-09-23 07:10:01 +00:00
Arthur Lu
09b8cca884 Merge pull request #13 from titanscouting/superscript-v1
Pull recent changes from superscript-v1 to database-config

Former-commit-id: e18ddcec9d
2021-09-22 20:29:02 -07:00
Arthur Lu
fb1033e92c Merge branch 'databse-config' into superscript-v1
Former-commit-id: a64c2c71ca
2021-09-22 20:28:55 -07:00
Arthur Lu
16882a0a75 added debug option to usage description,
set generic error code to 1


Former-commit-id: 9163244e2c
2021-09-21 23:36:13 +00:00
Arthur Lu
2b8ecc5bee added databse config getter/setter to data.py,
fixed args for data.py functions


Former-commit-id: 74bcc116a2
2021-09-21 05:14:54 +00:00
Arthur Lu
8112effbce added debug option,
improved memory usage slightly,
changed errorlog.txt to errorlog.log,
updated .gitignore


Former-commit-id: bd51efc6c2
2021-09-21 04:43:32 +00:00
Arthur Lu
56d3a0adcd added event and time delay options
(event delay unimplemented)


Former-commit-id: fb4e5da1d4
2021-08-27 23:39:48 +00:00