{"id":98,"date":"2020-10-16T21:42:03","date_gmt":"2020-10-16T21:42:03","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/?p=98"},"modified":"2020-10-19T16:15:46","modified_gmt":"2020-10-19T16:15:46","slug":"team-status-update-for-10-17","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/2020\/10\/16\/team-status-update-for-10-17\/","title":{"rendered":"Team status Update for 10\/17"},"content":{"rendered":"<p><strong>Peizhi &amp; Echo:<\/strong><\/p>\n<p>We are ahead of our schedule.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-99\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-content\/uploads\/sites\/114\/2020\/10\/Screen-Shot-2020-10-16-at-5.39.22-PM-1024x137.png\" alt=\"\" width=\"840\" height=\"112\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-content\/uploads\/sites\/114\/2020\/10\/Screen-Shot-2020-10-16-at-5.39.22-PM-1024x137.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-content\/uploads\/sites\/114\/2020\/10\/Screen-Shot-2020-10-16-at-5.39.22-PM-300x40.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-content\/uploads\/sites\/114\/2020\/10\/Screen-Shot-2020-10-16-at-5.39.22-PM-768x102.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-content\/uploads\/sites\/114\/2020\/10\/Screen-Shot-2020-10-16-at-5.39.22-PM-1200x160.png 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p>This week:<\/p>\n<ul>\n<li>the robot now is able to perform &#8220;run-away-from-person-action&#8221; correctly while keeping our frame rate still at a minimum of 10 fps.<\/li>\n<li>wrote design report<\/li>\n<li>made the robot keep playing song while moving<\/li>\n<\/ul>\n<p>Next week:<\/p>\n<ul>\n<li>figure out how robot should move when obstacles are encountered<\/li>\n<li>when in idle stage (when no person is detected), the robot self rotates until person appears in view<\/li>\n<li>\u00a0how to physically mount raspberry pi, robot base, usb acceleration and all other parts together as one piece of product<\/li>\n<\/ul>\n<p><strong>Yuhan<\/strong>:<\/p>\n<p>The most significant risk in my project is how communication between Pi and web app should be\u00a0scheduled. The most straightforward approach it seems is to use weekly &#8220;schedule&#8221; command from the Open Interface in the control while loop of Pi. This way the web app only has to communicate to the Pi once(e.g. &#8220;alarms at 8am every Monday&#8221;) and iRobot will repeat the alarm routine every week. However, I am not very sure if pycreate2 supports the schedule command. I am also not sure how customized the weekly alarm routine can be and if it fits our requirement(e.g. we need the routine to include actuator commands as well as song commands).<\/p>\n<p>A contingency plan is to leave it to the web server to schedule the alarms, i.e. &#8220;alarms at 8am every Monday&#8221; = web server sends signal to Pi at 7:55am on 10\/19, then again on 10\/26, etc. I think it requires a more complicated logic that might get buggy more easily and harder to maintain. Right now I am mostly focused on frontend development and then connecting it to the database and will deal with it as it comes later on.<\/p>\n<p>My updated timeline(same as my individual status report):<\/p>\n<ul>\n<li>week 7(here):\n<ul>\n<li>web app build and deployment set up<\/li>\n<li>spike on communication between web app and Pi<\/li>\n<li>create alarm UI<\/li>\n<li>alarm schedule UI<\/li>\n<\/ul>\n<\/li>\n<li>week 8:\n<ul>\n<li>create ringtone UI<\/li>\n<li>pass alarm data from create alarm page to alarm schedule\u00a0page<\/li>\n<li>pass ringtone data form create ringtone page to create alarm page<\/li>\n<\/ul>\n<\/li>\n<li>week 9:\n<ul>\n<li>backend set up<\/li>\n<li>connect UI with backend<\/li>\n<li>connect web app with Pi<\/li>\n<\/ul>\n<\/li>\n<li>week 10(demo)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Peizhi &amp; Echo: We are ahead of our schedule. This week: the robot now is able to perform &#8220;run-away-from-person-action&#8221; correctly while keeping our frame rate still at a minimum of 10 fps. wrote design report made the robot keep playing song while moving Next week: figure out how robot should move when obstacles are encountered &hellip; <a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/2020\/10\/16\/team-status-update-for-10-17\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Team status Update for 10\/17&#8221;<\/span><\/a><\/p>\n","protected":false},"author":347,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,12],"tags":[10],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/posts\/98"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/users\/347"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":6,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":115,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/posts\/98\/revisions\/115"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f20-teamb1\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}