Commit Graph

292 Commits

Author SHA1 Message Date
mmcw-dev 30f32983b9 Add labels to direction UI 2017-10-21 22:13:38 -04:00
mmcw-dev ccdae964ee Style the buttons and inputs to fill width of screen. 2017-10-21 22:01:46 -04:00
mmcw-dev 96bd6050d3 Clean up styles, add labels to existing fields and meta tags for mobile views. 2017-10-21 21:54:17 -04:00
mmcw-dev d396fd2713 Style buttons and input 2017-10-21 21:44:07 -04:00
mmcw-dev 417388eaed Add first buttons 2017-10-21 21:22:02 -04:00
mmcw-dev 83fea51433 Start UI, add jquery and a switch for web and mobile methods 2017-10-21 21:07:45 -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 9302cf1b21 Force example frame before evaluating query and body of post for parameters 2017-10-21 12:10:16 -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 19e6511559 Update tests to use latest api 2017-10-21 11:49:29 -04:00
mmcw-dev 06bdb8b763 Need to initialize intval in server code. 2017-10-21 11:47:55 -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 58f8d09775 Try catch the connection 2017-10-20 21:45:17 -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 3266a4ca14 Test backwards timed frames. 2017-10-20 20:55:09 -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 4e1a3783f0 Test backwards frames 2017-10-20 20:43:54 -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
mmcw-dev 32e94fadb0 That was the wrong variable as well 2017-10-20 20:29:14 -04:00
mmcw-dev 58267bf71c Set pause flag before frame is actually paused. To prevent stop events when motor slows. 2017-10-20 20:27:43 -04:00
mmcw-dev ca8f6b2be9 Logging when frames restart. I am still screwing up. 2017-10-20 20:25:45 -04:00
mmcw-dev 243f45c836 Harden the logic which allows exposures at arbitrary exposure times. A "pause" variable has been added to the frame state that tracks when the frame is intentionally paused, preventing the premature pausing of a single frame. 2017-10-20 20:19:29 -04:00
mmcw-dev ef77ecce83 Log microswitch watch function because frames are being stopped prematurely 2017-10-20 20:10:38 -04:00
mmcw-dev 4d16ab8921 Confarnit! Caught the same error in another place, was referencing a variable to an undefined variable. 2017-10-20 20:08:43 -04:00
mmcw-dev 6f73790f5a Was using undefined variable. Silly me. 2017-10-20 20:05:51 -04:00
mmcw-dev 736a0c858b Log variables when pausing frames. 2017-10-20 19:58:16 -04:00
mmcw-dev d511ecdfbe If statements were eating the frame continuance step. This has been altered by using 0 as the default value for arbitrary exposure frames. 2017-10-20 19:53:57 -04:00
mmcw-dev 43213cc6ce Match exposure time to intval2 logic. Try a 5 second exposure time. 2017-10-20 19:44:58 -04:00
mmcw-dev 16f8675339 OK backwards microswitch logic is not sound. Please revisit. 2017-10-20 19:38:26 -04:00
mmcw-dev 7e989eeadf Add beginnings of the arbitrary exposure time logic. Test with /tests/index.js file 2017-10-20 19:36:23 -04:00
mmcwilliams 429441137e Remove voltage step-up chips and add a voltage regulator for regulating 5v from a 12v source 2017-10-20 13:59:19 -04:00
mmcwilliams 7d9377e7ea Start fleshing out API for web/mobile 2017-10-20 13:58:01 -04:00
mmcw-dev 2a08c64878 Stop immediately 2017-10-19 22:13:34 -04:00
mmcw-dev b7dd9e4fa1 Was not actually calling intval._stop(). How embarassing? 2017-10-19 22:03:13 -04:00
mmcw-dev 0b47713c58 Stop resetting frame.start to 0 2017-10-19 21:59:38 -04:00