{"id":1274,"date":"2020-09-15T22:15:46","date_gmt":"2020-09-16T02:15:46","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/48-339\/f2020\/?p=1274"},"modified":"2020-09-15T22:15:46","modified_gmt":"2020-09-16T02:15:46","slug":"class-5-15-sep-state-changes","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/48-339\/f2020\/?p=1274","title":{"rendered":"Class 5, 15 Sep &#8211; State changes"},"content":{"rendered":"<h2><strong>Class Admin<\/strong><\/h2>\n<p>who needs access to A10? We can only do it Tue night during class hours.<\/p>\n<p>bookstore has not shipped yet. we will get tracking #\u2019s when they do.<\/p>\n<p>This is in the kit: <a name=\"https:\/\/amzn.to\/3mrEaFa\"><\/a><a href=\"https:\/\/amzn.to\/3mrEaFa\">ELEGOO UNO Project Super Starter Kit with Tutorial and UNO R3 Compatible with Arduino IDE<\/a><\/p>\n<p>trying to deal with lost class time: an assignment for next tue, then a crit on the 24th that includes the assignment?<\/p>\n<h2><strong>Review Assignments<\/strong><\/h2>\n<p>what went right?<\/p>\n<p>what went wrong?<\/p>\n<p>The \u201cthing like a pot\u201d is a rotary <a name=\"https:\/\/www.youtube.com\/watch?v=V1txmR8GXzE\"><\/a><a href=\"https:\/\/www.youtube.com\/watch?v=V1txmR8GXzE\">encoder<\/a><\/p>\n<h2><strong>Finite vs. abstract state machines<\/strong><\/h2>\n<p><a name=\"https:\/\/en.wikipedia.org\/wiki\/Finite-state_machine\"><\/a><a href=\"https:\/\/en.wikipedia.org\/wiki\/Finite-state_machine\">finite<\/a>: what we\u2019re doing in class, fixed states and paths<\/p>\n<p><a name=\"https:\/\/en.wikipedia.org\/wiki\/Abstract_state_machine\"><\/a><a href=\"https:\/\/en.wikipedia.org\/wiki\/Abstract_state_machine\">abstract<\/a>: can modify itself to adapt to changes in data.<\/p>\n<h2><strong>What\u2019s a state machine in nature with interaction?<\/strong><\/h2>\n<p>Reactive state machines:<\/p>\n<p><a name=\"https:\/\/www.youtube.com\/watch?v=dczVk_zWgd4\"><\/a><a href=\"https:\/\/www.youtube.com\/watch?v=dczVk_zWgd4\">Hourglass<\/a> timer &#8211; set time, start, stop, reset<\/p>\n<p>Arcade game &#8211; attract \/ play \/ reward<\/p>\n<p>gambling devices slot machines<\/p>\n<p><a name=\"https:\/\/en.wikipedia.org\/wiki\/Murphy_bed\"><\/a><a href=\"https:\/\/en.wikipedia.org\/wiki\/Murphy_bed\">Murphy bed<\/a> attached to lights<\/p>\n<p>Interactive state machines:<\/p>\n<p>content predictors on Amazon\/Netflix\/eBay, \u201cif you like\u2026\u201d<\/p>\n<p>advertising predictors, \u201cif you like xxx we want you to buy yyy\u201d<\/p>\n<p>microwave that can adjust cooking time based on humidity (I have one of these!)<\/p>\n<p>traffic lights with IR detectors for EMS vehicles<\/p>\n<p><a name=\"https:\/\/robots.ieee.org\/robots\/invia\/\"><\/a><a href=\"https:\/\/robots.ieee.org\/robots\/invia\/\">Picker robots<\/a><\/p>\n<p>Music instrument as state machine:<\/p>\n<p>https:\/\/www.humaninstruments.co.uk\/instruments<\/p>\n<p>What if state machines were smart(er)? What are interesting problems for them to solve?<\/p>\n<p>What are predictive states machines? console gaming turned in to physical gaming<\/p>\n<p>auto-aiming \/ <a name=\"https:\/\/www.youtube.com\/watch?v=RxBa5bQfTGc&amp;t=221s\"><\/a><a href=\"https:\/\/www.youtube.com\/watch?v=RxBa5bQfTGc&amp;t=221s\">target tracking<\/a><\/p>\n<p>catch a frisbee (dogs know calculus)<\/p>\n<p>Can made predictions based on history\/sensors? Your car notices you\u2019re a sloppy driver (exhausted) and limits your speed. Duolingo detects you\u2019re having vocab problems and changes your exercises (this is an ASM, arguably).<\/p>\n<h2><strong>Visual changes in state<\/strong><\/h2>\n<ul>\n<li>Doppler shift in nature<\/li>\n<li>lives \/ health in a video game<\/li>\n<li>traffic slowdowns in Waze<\/li>\n<li>intensity of light =&gt; time of day<\/li>\n<\/ul>\n<h2><strong>Mini-assignment for Thursday<\/strong><\/h2>\n<p>post some interesting state machines to Looking Outward<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Class Admin who needs access to A10? We can only do it Tue night during class hours. bookstore has not shipped yet. we will get tracking #\u2019s when they do. This is in the kit: ELEGOO UNO Project Super Starter Kit with Tutorial and UNO R3 Compatible with Arduino IDE trying to deal with lost &hellip; <a href=\"https:\/\/courses.ideate.cmu.edu\/48-339\/f2020\/?p=1274\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Class 5, 15 Sep &#8211; State changes&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/48-339\/f2020\/index.php?rest_route=\/wp\/v2\/posts\/1274"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/48-339\/f2020\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/48-339\/f2020\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/48-339\/f2020\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/48-339\/f2020\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1274"}],"version-history":[{"count":1,"href":"https:\/\/courses.ideate.cmu.edu\/48-339\/f2020\/index.php?rest_route=\/wp\/v2\/posts\/1274\/revisions"}],"predecessor-version":[{"id":1275,"href":"https:\/\/courses.ideate.cmu.edu\/48-339\/f2020\/index.php?rest_route=\/wp\/v2\/posts\/1274\/revisions\/1275"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/48-339\/f2020\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/48-339\/f2020\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/48-339\/f2020\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}