Commit Graph
100 Commits
Author SHA1 Message Date
Arthur Lu e04245952a merged data and pull functions into Client class,
removed pull.py dep.py,
modified existing code to work with new Client class
2022-03-29 05:48:39 +00:00
Arthur Lu 2ebaddb92c updated usage 2022-03-29 04:44:59 +00:00
Arthur Lu 8b09e155dc updated changelog 2022-03-29 04:42:26 +00:00
Arthur Lu 5ca474d158 finished removing socket functionality 2022-03-29 04:39:52 +00:00
Arthur Lu e7a8a259fc finished removing daemon functionality 2022-03-29 04:35:01 +00:00
Arthur Lu 5553e3dddf fixed CLI options,
implemented better config attr search member,
fixed imports
2022-03-29 04:28:09 +00:00
Arthur Lu 0212e6b2ca pylint now uses tab indent 2022-03-29 04:15:47 +00:00
Arthur Lu 14f8901803 removed unnecessary imports 2022-03-28 23:22:42 +00:00
Arthur Lu a5f9e55cf4 fixed build scripts 2022-03-28 23:15:13 +00:00
Arthur Lu 34f0b3f10c removed: daemonization,
socket messaging

added: CLI option to specify config file

Not working, requires data.py changes in competition branch
2022-03-28 22:42:04 +00:00
Arthur Lu 6b070c7b08 fixed merge changes 2022-03-15 05:31:51 +00:00
Arthur Lu 9279311664 Merge branch 'master' into superscript-v1 2022-03-15 05:27:11 +00:00
Arthur Lu 4836f48a34 pyinstaller onedir workaround for requests issue,
moved spec file to build folder


Former-commit-id: 4427eba5c993222cd2ebfdfc76a4685e25e18b0c
2022-02-24 02:56:08 +00:00
Arthur Lu 9a1a45f1c9 removed cert verification for requests library
Former-commit-id: 4914b98a21478a10be7d2f737dd6d5669b4c5681
2022-02-20 23:38:18 +00:00
Arthur Lu d7ed695ad1 fixed build script,
added binutils to docker container for build requirements,
added required scipy modules to superscript.spec


Former-commit-id: 60a6fc1106dc90514bd1270138ab9166efa29290
2022-02-20 23:16:02 +00:00
Arthur Lu 21d92e65b2 add binary paths to devcontainer.json
Former-commit-id: a323f3161d6ea326b0215d5ed5ebbadae0f38597
2022-02-20 22:53:11 +00:00
Arthur Lu 0cace3cec3 improved exit code reporting
Former-commit-id: f36f45bc6a2773b8a821d0e046ce1b47fc4ced0f
2022-02-19 23:29:58 +00:00
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 LuandGitHub 9c152fb109 Merge pull request #23 from titanscouting/improve-devdocker
switch docker image to python:slim

Former-commit-id: 28b440725d338dd830ac9d3e0905eba54b05811f
2022-02-08 20:17:38 -08: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
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
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
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 LuandGitHub 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 LuandGitHub 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 LuandGitHub 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 LuandGitHub 44e9711b2d Merge branch 'superscript-v1' into event-listener
Former-commit-id: 3dbdcfbd35
2021-10-10 19:52:47 -07:00
Arthur LuandGitHub 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 LuandGitHub 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 LuandGitHub 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 LuandGitHub 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
Arthur LuandGitHub d56411253c fixed badge url 2021-08-26 18:20:11 -07:00
Arthur LuandGitHub c415225afe Update release badge 2021-08-26 18:11:25 -07:00
Arthur Lu 2444963af9 changed asset upload name
removed create criteria, must be publish


Former-commit-id: 73b5c393a0
2021-08-26 23:19:53 +00:00
Arthur Lu 8000a7314d add release asset automaticallt
Former-commit-id: 42ca74b4ab
2021-08-26 23:14:09 +00:00
Arthur Lu 3e212e4502 fixed typo
Former-commit-id: fc63d5d7e1
2021-08-26 22:57:15 +00:00
Arthur Lu 66e00987c4 fixed path
Former-commit-id: 1106a0ffb1
2021-08-26 22:53:21 +00:00
Arthur Lu 2f90e7d11a added prerequisite and build steps
Former-commit-id: 65a1720657
2021-08-26 22:48:48 +00:00
Arthur LuandGitHub f0ef4fea5d Merge pull request #12 from titanscouting/superscript-v1
Merge current changes to build-superscript

Former-commit-id: 6b4de40c49
2021-08-26 15:45:24 -07:00
Arthur Lu 9be9008ae1 fixed and properly named build action
Former-commit-id: 694733700a
2021-08-26 22:26:29 +00:00
Arthur Lu 097fd2836b reorganized imports in superscript
Former-commit-id: 18c26a00b6
2021-08-22 05:35:04 +00:00
Arthur Lu 052788afb9 fixed verbose/profile output options
Former-commit-id: ca399cf350
2021-08-19 20:58:35 +00:00
Arthur LuandGitHub e4eb824f51 Merge pull request #11 from titanscouting/daemonize-superscript
Merge changes in daemonize-superscript to refactor-superscript

Former-commit-id: 3e8d876f80
2021-08-18 17:36:55 -07:00
Arthur Lu 11d3db4b44 added profile option to superscript
Former-commit-id: ea07d7c709
2021-08-19 00:34:42 +00:00
Arthur Lu 76f78047b3 unified main_lin, main_win functions
Former-commit-id: 342dae3022
2021-08-18 22:35:42 +00:00
Arthur Lu 20f2040a1a changed websocket bind address to 0.0.0.0
Former-commit-id: e9258c831d
2021-08-18 05:58:21 +00:00
Arthur Lu ffead9e240 fixed daemon no start issue
Former-commit-id: efc353dafb
2021-08-18 05:13:25 +00:00
Arthur Lu 0287b5c0e2 temporary workaround for missing ssl cert
Former-commit-id: 739a2f36f8
2021-08-18 03:26:47 +00:00
Arthur Lu b6a1dfedb9 not working
Former-commit-id: e82177d17b
2021-08-18 03:04:01 +00:00
Arthur Lu cafb773d8b replaced profile to verbose option
Former-commit-id: 055c296c00
2021-08-18 00:43:00 +00:00
Arthur Lu 871b313d95 fixed linux only import in windows exec
Former-commit-id: 61ae377e97
2021-08-17 14:17:40 -07:00
Arthur Lu bcbb653696 daemonized, socketed superscript
improved runtime
removed superscript-socket.py


Former-commit-id: 6fa29f767d
2021-08-17 21:02:08 +00:00