Commit Graph

120 Commits

Author SHA1 Message Date
petrucci4prez c7814c39a7 no busy wait in blinkenlights 2017-06-17 14:44:29 -04:00
petrucci4prez 2fef89ff7b add lock to blinkenlight 2017-06-17 14:26:29 -04:00
petrucci4prez 1ea3761089 integrate keypad with locked states 2017-06-17 01:43:14 -04:00
petrucci4prez db9238f1df add TODO 2017-06-17 01:28:57 -04:00
petrucci4prez b5deeaf18e add locked and lockedCountdown states 2017-06-17 01:28:44 -04:00
petrucci4prez 96d1cb866b should restart the timer if BS is pressed but buffer is non-zero 2017-06-13 03:07:53 -04:00
petrucci4prez d5d2ce6abc states should not control the keypad buffer 2017-06-13 03:06:34 -04:00
petrucci4prez 39bcda0404 this is private 2017-06-13 02:51:08 -04:00
petrucci4prez bdd9874946 makes more sense to have this as debug 2017-06-13 02:49:36 -04:00
petrucci4prez f936233244 move sensor event logging features out of sensor module 2017-06-13 02:48:56 -04:00
petrucci4prez 96d31adff7 chdir to package before logger starts 2017-06-11 20:14:58 -04:00
petrucci4prez c38c319a16 force python 3 2017-06-11 20:06:47 -04:00
petrucci4prez ba4882011f order matters here 2017-06-11 20:05:33 -04:00
petrucci4prez 624574df3d add lock to soundlib volume utility 2017-06-11 19:34:24 -04:00
petrucci4prez 4cf3328339 add doc to soundLib 2017-06-11 19:22:03 -04:00
petrucci4prez ef00f2e540 replace blink flag with event 2017-06-11 18:45:23 -04:00
petrucci4prez 839ac618ad fix typo 2017-06-11 18:30:06 -04:00
petrucci4prez e13e871577 rearrange stream start sequence 2017-06-11 18:29:55 -04:00
petrucci4prez 7e8b302e7c never needed these 2017-06-11 18:06:43 -04:00
petrucci4prez 2738cc3e0e do not need to hash states anymore 2017-06-11 17:44:42 -04:00
petrucci4prez 9bc01b4b71 makes more sense to sigterm handler outside state machine context 2017-06-11 04:28:53 -04:00
petrucci4prez 29f0383f0c add docs to state machine 2017-06-11 04:27:03 -04:00
petrucci4prez df5eea8b71 this arg is not necessary 2017-06-11 03:10:55 -04:00
petrucci4prez b39db8d87e move all start and stop ops in statemachine to a thread manager 2017-06-11 03:07:04 -04:00
petrucci4prez 32e717fca3 would help if I actually start the timer 2017-06-10 22:07:47 -04:00
petrucci4prez 083d3a8295 consolidate pertinent functions in statemachine module 2017-06-10 02:48:50 -04:00
petrucci4prez 532b0d8ecd fix play error 2017-06-10 02:48:30 -04:00
petrucci4prez fbce318200 make function names match 2017-06-10 02:32:17 -04:00
petrucci4prez 580b5650a5 use regular timer here as well 2017-06-10 02:30:28 -04:00
petrucci4prez 950db417f3 use regular timer here 2017-06-10 02:25:22 -04:00
petrucci4prez 7bae6680c8 fix typo 2017-06-10 02:15:16 -04:00
petrucci4prez 24fb39cc27 do not need this 2017-06-10 02:10:49 -04:00
petrucci4prez e04de10c82 avoid calling this twice 2017-06-10 02:04:28 -04:00
petrucci4prez d6ec717856 make iterators make some sense 2017-06-10 01:56:42 -04:00
petrucci4prez e74ada030c this was not supposed to be there 2017-06-10 01:52:26 -04:00
petrucci4prez 5f39139b7c explicitly stop statemachine threads 2017-06-10 01:52:06 -04:00
petrucci4prez 24fbb4b707 make statemachine a contextmanager class 2017-06-10 01:35:46 -04:00
petrucci4prez 6b489fe3ab fix sound for State class 2017-06-10 01:18:36 -04:00
petrucci4prez eab05e05c4 remove transition table 2017-06-10 01:13:51 -04:00
petrucci4prez b35aa83b5b remove unnecessary logging 2017-06-09 03:39:33 -04:00
petrucci4prez 95d78767fc fix permissions on pipe 2017-06-09 03:39:19 -04:00
petrucci4prez 35bce93259 put signal partials in statemach attributes 2017-06-08 02:33:05 -04:00
petrucci4prez b294a12264 clean up states in statemachine 2017-06-08 02:15:50 -04:00
petrucci4prez 960389d043 validate signal lookup 2017-06-08 01:43:14 -04:00
petrucci4prez 076541390c Revert "make State.next() raise keyerror when necessary"
This reverts commit 979dc97707.

it is actually necessary to provde fallthru here so we do not need to make a massive transition table
2017-06-08 01:22:43 -04:00
petrucci4prez ec4bac1b15 fix signals for these two functions 2017-06-08 01:22:40 -04:00
petrucci4prez 979dc97707 make State.next() raise keyerror when necessary 2017-06-08 01:09:55 -04:00
petrucci4prez e7eeb8d29e rearrange statemachine 2017-06-08 01:02:31 -04:00
petrucci4prez f073381d80 make logger arguments mandatory for aux module 2017-06-08 01:02:13 -04:00
petrucci4prez 766b5f6c81 separate start and init sequences in statemachine 2017-06-07 01:42:58 -04:00