mmcwilliams
|
26655ea0a7
|
re-write progress, changing platforms
|
2019-10-16 10:58:46 -04:00 |
mmcwilliams
|
f953a79080
|
Backup intval module, in case this whole thing goes awry.
|
2019-10-11 17:57:07 -04:00 |
mmcwilliams
|
70ca24c62f
|
Intval default should be 530, not 630 as it is right now.
|
2019-10-11 17:56:10 -04:00 |
mmcw-dev
|
2ad2aa57ab
|
Gpio must be constructed with new
|
2019-02-23 20:52:47 -05:00 |
mmcwilliams
|
ca4282c02f
|
Change was causing double frames. Remove for now.
|
2018-01-09 15:09:39 -05:00 |
mmcwilliams
|
a9414c6212
|
Prevent motor from stopping before 100ms. Took out the logging in watchMicro, due to the fact that the problem with backwards frames was likely a bad connection.
|
2018-01-08 22:08:41 -05:00 |
mmcwilliams
|
fb54403891
|
Pause before setting direction of frame.
|
2018-01-08 20:06:02 -05:00 |
mmcwilliams
|
b01a9e4483
|
Potential fix, which prevents priming from happening after a determined interval
|
2018-01-08 19:29:14 -05:00 |
mmcwilliams
|
01f17830f8
|
Restore logging for microswitch state
|
2018-01-07 18:05:24 -05:00 |
mmcw-dev
|
bb41526516
|
Intval.reset() instead of intval._setState()
|
2017-12-22 15:28:47 -05:00 |
mmcw-dev
|
0b48dc87b4
|
use the microdelay to prevent multiple frames
|
2017-12-20 22:30:48 -05:00 |
mmcw-dev
|
a7bcb0a87b
|
Combine sequence and intval functionality
|
2017-12-20 22:10:36 -05:00 |
mmcw-dev
|
b1085cb77c
|
Need to declare pins even during state restore failure.
|
2017-12-20 21:41:41 -05:00 |
mmcw-dev
|
64440f7c1c
|
Set state if invalid. Hopefully it overwrites?
|
2017-12-20 21:39:17 -05:00 |
mmcw-dev
|
ec156fc8b6
|
Log output of removing state directory
|
2017-12-20 21:34:00 -05:00 |
mmcw-dev
|
b605f875bc
|
Declare intval object variables before init function
|
2017-12-20 21:32:07 -05:00 |
mmcw-dev
|
66ac78fee0
|
If state is malformed, quit and restart app
|
2017-12-20 21:03:57 -05:00 |
mmcwilliams
|
a71deca9e3
|
INTBAL??????
|
2017-11-23 09:52:49 -05:00 |
mmcwilliams
|
6ce6af3abe
|
Log whether or not frame is part of a sequence.
|
2017-11-23 09:46:18 -05:00 |
mmcwilliams
|
cd3f79a3a0
|
Use an integer to track direction, boolean is not an sqlite3 datatype.
|
2017-11-23 09:29:44 -05:00 |
mmcwilliams
|
e558b0387d
|
State.frame.current, not state.current.
|
2017-11-23 09:23:05 -05:00 |
mmcwilliams
|
320d3fe02f
|
Spell exposure right, ya dingus.
|
2017-11-23 09:21:56 -05:00 |
mmcwilliams
|
73a65d9021
|
Add sqlite3 and table logging functionality. Track all frames all the time.
|
2017-11-23 09:19:43 -05:00 |
mmcw-dev
|
c827f64510
|
Update intval module documentation
|
2017-11-22 09:58:57 -05:00 |
mmcw-dev
|
8eccf05a68
|
storage.getItem, not getItem, you scrub.
|
2017-10-23 20:31:24 -04:00 |
mmcw-dev
|
7ac642ee30
|
Accidentally commented out gpio from intval module
|
2017-10-23 13:32:45 -04:00 |
mmcw-dev
|
b307567a51
|
Persist device state with node-persist. This allows multiple controllers to share state, and for device to maintain settings between shutdowns.
|
2017-10-23 12:58:37 -04:00 |
mmcw-dev
|
c508c6e693
|
Caught nagging bug, will calculate timing if default time is set.
|
2017-10-23 00:30:08 -04:00 |
mmcw-dev
|
a9e13ac2a6
|
Restore device state in app, set counter in webapp,
|
2017-10-22 19:59:38 -04:00 |
mmcw-dev
|
d7ca2ebe46
|
All features added to /frame endpoint, can set direction independent of the state and can set the exposure as well.
|
2017-10-21 20:12:39 -04:00 |
mmcw-dev
|
da3908c2e5
|
Add logic to prevent frames shorter than 250ms. Might work for now. Seemingly only happening with web requests?
|
2017-10-21 19:31:52 -04:00 |
mmcw-dev
|
c2f372c7fe
|
Actually pass the required information into the callback function
|
2017-10-21 12:23:37 -04:00 |
mmcw-dev
|
0b245a00c4
|
Log after frame is complete
|
2017-10-21 12:21:15 -04:00 |
mmcw-dev
|
0848d5bfc0
|
Add logging to webapp and callback to frame function in intval
|
2017-10-21 12:08:12 -04:00 |
mmcw-dev
|
41360405c3
|
Lol. Was a little overzealous with a replace all. _state.release.time should never have been changed to exposure.
|
2017-10-21 11:54:45 -04:00 |
mmcw-dev
|
e2ee307824
|
Add logging back because release no longer works
|
2017-10-21 11:52:41 -04:00 |
mmcw-dev
|
186b8324d1
|
Manage state from the webapp. Build all features there before mobile.
|
2017-10-21 11:46:06 -04:00 |
mmcw-dev
|
df106e6e90
|
Remove some logging, clean up others
|
2017-10-20 21:10:01 -04:00 |
mmcw-dev
|
638530d2b2
|
Try a 400ms backwards open variable
|
2017-10-20 21:07:43 -04:00 |
mmcw-dev
|
b22712053c
|
Remove excessive logging
|
2017-10-20 21:05:00 -04:00 |
mmcw-dev
|
f4d7d3c593
|
Wow. Just wow.
|
2017-10-20 21:03:47 -04:00 |
mmcw-dev
|
5079adf04f
|
Paused logging
|
2017-10-20 21:01:58 -04:00 |
mmcw-dev
|
cc6311a01a
|
Add logging to backwards from forwards logic
|
2017-10-20 20:58:55 -04:00 |
mmcw-dev
|
e09f1adbcd
|
Ok backwards frames are apparently doing fine. This commit uses a better organized object structure for release variables.
|
2017-10-20 20:54:35 -04:00 |
mmcw-dev
|
190732de13
|
Whoops, referenced "dir" not "val"
|
2017-10-20 20:45:21 -04:00 |
mmcw-dev
|
f74fa2798e
|
Reduce "closed" time by 50ms. Is still too long when frame fires. Logging might be the culprit
|
2017-10-20 20:42:11 -04:00 |
mmcw-dev
|
6882c37cf0
|
Using a "closed" variable. That's the ticket.
|
2017-10-20 20:39:07 -04:00 |
mmcw-dev
|
9ceb17c03b
|
Forget pad, just use open
|
2017-10-20 20:36:27 -04:00 |
mmcw-dev
|
4908ccabca
|
Use a padding value, instead of subtracting the open variable from the desired exposure.
|
2017-10-20 20:35:00 -04:00 |
mmcw-dev
|
c95af1693f
|
Reduce open state variable by 50 ms, from 300 to 250
|
2017-10-20 20:31:28 -04:00 |