Commit Graph

412 Commits

Author SHA1 Message Date
mmcwilliams d17e46ebfb Moved loosely defined tests and tinkering scripts to a directory called "experiments" 2018-02-10 12:08:17 -05:00
mmcwilliams 0ede651791 Install QUnit for testing 2018-02-10 12:07:24 -05:00
mmcwilliams 65cdf44105 Hide BLE functions but don't hide footer on web 2018-02-09 12:25:22 -05:00
mmcwilliams 2c40fa4e0e Restart and update both work with restify, so put them behind POST endpoints to prevent absentminded browser requests from breaking sequences. They will need to be added to the UI in a reasonable way. 2018-02-08 16:23:10 -05:00
mmcwilliams 0cb9f79756 Fix typo in reset 2018-02-08 16:16:44 -05:00
mmcwilliams c5c1f649a3 Log reset requests as well (to differentiate intentional resets, restarts and updates in the logs) 2018-02-08 16:02:18 -05:00
mmcwilliams aa82973598 Log update and restart requests 2018-02-08 16:01:22 -05:00
mmcwilliams 9c0ca37481 End response and call next() before restarting process. 2018-02-08 15:50:21 -05:00
mmcwilliams 64343bfc0b Execute functions after response. 2018-02-08 15:46:51 -05:00
mmcwilliams 5f71e48c38 Restart, update and reset all have ble and restify endpoints 2018-02-08 15:31:48 -05:00
mmcwilliams b56afa3ba7 Add language "and clear counter" to reset confirmation dialog. 2018-02-08 11:51:43 -05:00
mmcwilliams a37c58d791 Add a reset feature to mobile app which allows the device to be reset to the default settings (direction forward, exposure 630 and delay 0). 2018-02-07 19:07:38 -05:00
mmcwilliams 42580c46b9 Sequence feature for bluetooth control does NOT need to be split (yet) into start and stop. intval.mobile.js was using the incorrect callback on the sequence characteristic and should be tested before changes are made. 2018-02-07 18:38:19 -05:00
mmcwilliams eae8e50cf8 Use INTVAL3 not INTVAL in usage descriptions. Working on submitting this to both app stores. 2018-02-07 18:23:07 -05:00
mmcwilliams e8eec95107 Create both readme files, one at the project level and another just for the mobile app. More work needed on the project one. 2018-02-07 18:22:28 -05:00
mmcwilliams 8ec1694b02 Add a "sequence stop" endpoint 2018-02-06 17:42:50 -05:00
mmcwilliams 9a698f6bd6 Hide footer menu unless inside mobile app, ignore on web. 2018-02-06 17:37:49 -05:00
mmcwilliams 4e69871d38 Pull default mobile styles. 2018-02-06 17:34:58 -05:00
mmcwilliams b5189a53eb Pull amazon links 2018-02-06 17:34:04 -05:00
mmcwilliams df578bb678 Make mobile.fnumber a global helper function fnumber() 2018-02-04 18:17:36 -05:00
mmcwilliams 85a529c705 Increment build number in package.json 2018-02-03 17:49:58 -05:00
mmcwilliams 2240a432f6 Increment build number 2018-02-03 17:49:41 -05:00
mmcwilliams f2ca374e78 Display readonly camera values for the camera exposure screen. 2018-02-03 16:52:59 -05:00
mmcwilliams 29485137ca Store iso and fstop as they are set. 2018-02-03 16:50:14 -05:00
mmcwilliams 4b72c9eeed Camera exposure logic is in place. Will take a photo with the device camera and use the exif data to determine the correct exposure for the bolex.
- Determines # of stops between fstop of phone and set fstop of bolex
- Determines # of stops between iso of phone and set iso of bolex
- Compensates for the 0.8 prism constant
2018-02-03 16:49:37 -05:00
mmcwilliams 7a392aba0e Bold title on main screen 2018-02-03 16:46:32 -05:00
mmcwilliams 3abd68f5f3 Dump exif data after taking picture 2018-02-02 15:36:50 -05:00
mmcwilliams 4760c1e491 Sync camera settings between multiple inputs and write to settings 2018-02-02 15:36:28 -05:00
mmcwilliams 286c0eec4c Pull mscript features for now 2018-02-02 13:02:15 -05:00
mmcwilliams fc4b180aa8 Fix logging in delayed state retreival for ble connections. 2018-01-17 17:20:48 -05:00
mmcwilliams b8787c0fac If exposure if over 5000ms, call back from ble service immediately and block UI until frame is done. 2018-01-17 15:58:55 -05:00
mmcwilliams 63eee43386 Simply exit process to restart. 2018-01-12 17:48:26 -05:00
mmcwilliams 66b3711118 Retry update.sh 2018-01-12 17:46:54 -05:00
mmcwilliams 64adc6cc86 Create an update script and add an update command to the main process. 2018-01-11 15:50:36 -05:00
mmcwilliams ca4282c02f Change was causing double frames. Remove for now. 2018-01-09 15:09:39 -05:00
mmcwilliams 757e3dd86d Only list top 5 wifi hotspots 2018-01-09 13:39:43 -05:00
mmcwilliams 71cfaff6c8 Install camera with exif plugin 2018-01-09 00:15:30 -05:00
mmcwilliams 62769db3bf Add a state for the mobile app to trigger the camera and set Bolex camera values. 2018-01-09 00:06:17 -05:00
mmcwilliams e55154e46e Install "camera with exif" for capturing exif data with the mobile camera. This will eventually allow the user to take a photograph with their mobile camera and the Exposure time, ISO and f-stop can be used to establish an exposure value, that can be used to automatically set an exposure time for the Bolex to match the mobile camera's exposure setting. 2018-01-09 00:03:20 -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 b114ef8b0e Hide spinner after 5 seconds, show message if not connected. 2018-01-08 20:14:08 -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 30e8636ea8 FUCK! The problem is that the script must run as root. Was looking in the wrong dir. 2018-01-06 10:55:52 -05:00
mmcw-dev 74af6218e0 Put db in config file (WHY IS THIS NOT WORKING) 2018-01-06 10:54:00 -05:00
mmcw-dev 0d251b212e Add path module to db to better format url? Why is database no longer writing?
Move ip above list of wifi.

List package.version in app server creation.
2018-01-05 17:31:00 -05:00
mmcwilliams 6c28e729e1 Only add padding to top of app if in mobile version 2018-01-04 16:32:59 -05:00
mmcw-dev 34eefbd067 Hide and show IP address based on availability 2018-01-04 16:25:22 -05:00
mmcw-dev df1c39604a Referenced the filtered array, not the first element, like a jackass. 2018-01-04 16:14:12 -05:00