Commit Graph

75 Commits

Author SHA1 Message Date
Matt McWilliams c32b3fed92 Can find corners of frames within scanned page and perform some calculations about height and width.
Still need to find rotation info, then rotate and crop to frames for video stitching.
2021-12-19 21:12:12 -05:00
Matt McWilliams 950e3df594 direct ax output from stderr to stdin 2021-12-08 18:48:25 -05:00
Matt McWilliams 015e2fe226 Fix log.sh, stipple.sh and seq.sh 2021-12-08 17:27:00 -05:00
Matt McWilliams 55a7d83854 Update stipple settings. 2021-12-08 00:18:56 -05:00
Matt McWilliams 0e601ebb9a Create a sqlite database and log all frames drawn to it. For keeping track of pen usage and creating a dataset from which to predict drawing times for future frames 2021-12-08 00:18:45 -05:00
Matt McWilliams f541a2d2db Add a number of common bash functions to use across scripts. Including log, which is under development. 2021-12-07 23:11:13 -05:00
Matt McWilliams ea86049947 Create a table for storing drawn svgs 2021-12-07 23:10:41 -05:00
Matt McWilliams f0feeec3b9 This is the ax script being run on bot when controlling the plotter 2021-12-07 23:10:26 -05:00
Matt McWilliams c39e22b197 sim work 2021-12-02 01:04:23 -05:00
Matt McWilliams 5dc7eefe43 Add a script for simulating the math 2021-11-30 10:20:28 -05:00
Matt McWilliams 96b4a47397 SIngle stipple feature 2021-11-30 10:20:06 -05:00
Matt McWilliams 84228c8559 Work: add shellcheck config (not working rn). Re-organize stipple script to be more flexible 2021-11-30 00:43:43 -05:00
Matt McWilliams fb3c35e7d1 Fullpath is not a command 2021-11-29 11:43:08 -05:00
Matt McWilliams 3e53245396 Normalize paths of dirs 2021-11-29 11:41:57 -05:00
Matt McWilliams 5c9e4dd8e5 This works on desktop 2021-11-29 11:38:24 -05:00
Matt McWilliams da7d78cd0a Initial loop is failing? 2021-11-29 11:35:13 -05:00
Matt McWilliams 8e53f5aac5 Find starting frame name? 2021-11-29 11:32:31 -05:00
Matt McWilliams a9456c569e Add better console work to scripts 2021-11-29 11:30:51 -05:00
Matt McWilliams a3b0bfe950 script to optimize all svg files with svgsort 2021-11-28 22:25:40 -05:00
Matt McWilliams fe1418561c If arg 2 ($2) is 0, behave normally 2021-11-28 22:18:09 -05:00
Matt McWilliams cffc6dedfb Add a stop frame 2021-11-28 22:00:10 -05:00
Matt McWilliams d37efd4619 Update stipple settings 2021-11-28 21:59:21 -05:00
Matt McWilliams 8f92cc1787 Run on dedicated hardware 2021-11-26 22:01:07 -05:00
Matt McWilliams 911d6e2108 Add a script for common functions 2021-09-16 11:05:07 -04:00
Matt McWilliams bd72e29c05 Add comments to all scripts. 2021-09-16 10:42:59 -04:00
Matt McWilliams 054a892cea Separate out continue behavior into askContinue function.
Add a step which asks if user wants to start with non-first frame
2021-09-16 09:51:42 -04:00
Matt McWilliams 1e59d667c8 Move yet again 2021-09-16 01:59:38 -04:00
Matt McWilliams 89f1e7fa74 Mark the top left corner of the frame 2021-09-16 01:55:17 -04:00
Matt McWilliams 073cf31397 Position after adjustment with test using Micron 03 pen 2021-09-16 01:54:15 -04:00
Matt McWilliams 97262273b7 Add a test script 2021-09-16 01:32:47 -04:00
Matt McWilliams 3bb7cf3d42 Last tweak before tests 2021-09-16 01:30:46 -04:00
Matt McWilliams 06996709ce Found the new position 2021-09-16 01:26:50 -04:00
Matt McWilliams c723623f43 Comment typo 2021-09-16 01:22:39 -04:00
Matt McWilliams 82c127ec5d Bail if no command 2021-09-16 01:21:27 -04:00
Matt McWilliams 6ca0fe9cc0 Merge remote-tracking branch 'origin/main' into main 2021-09-16 01:19:38 -04:00
Matt McWilliams 14315a80b3 Add a zig zag motion to dodge the pegs on the peg bar 2021-09-16 01:19:32 -04:00
Matt McWilliams e6382f1747 Run stipple without display 2021-09-10 00:37:08 -04:00
Matt McWilliams 5640c42662 rename image_seq to seq 2021-09-10 00:36:46 -04:00
Matt McWilliams a08078fee0 Add invert option to stipple 2021-09-08 20:53:52 -04:00
Matt McWilliams d6a3c4ac00 Add an invert option to the image_seq script 2021-09-08 20:53:32 -04:00
Matt McWilliams a436c97fe6 Exit draw if dir not provided 2021-09-08 20:53:03 -04:00
Matt McWilliams 4a0f65876b rename loop to "draw" which better describes the action 2021-09-08 00:49:24 -04:00
Matt McWilliams 88c6a31f03 Merge remote-tracking branch 'origin/main' 2021-08-12 00:52:42 -04:00
Matt McWilliams b4b8fd37cb Stipple script allows for different modes and renders a video 2021-08-12 00:52:37 -04:00
Matt McWilliams bad6af13f6 guide_frame svg for most frames 2021-08-11 19:39:27 -04:00
Matt McWilliams 711ad36b02 Optimize svg file after creating it using stipple_gen. Todo: render generated png files into a preview video 2021-08-10 19:36:54 -04:00
Matt McWilliams 7ef75b47ba make this script slightly smarter. Stop incrementing variable once match is hit. 2021-08-10 19:24:54 -04:00
Matt McWilliams adc8b899ed Allow second argument to define frame to start on 2021-08-10 19:01:45 -04:00
Matt McWilliams 6349010c51 `ax svg` not `ax number` 2021-08-10 18:55:13 -04:00
Matt McWilliams 4a81ed1ae5 Move y first on position.sh set 2021-08-10 18:48:02 -04:00