{"id":301,"date":"2024-11-16T22:11:16","date_gmt":"2024-11-16T22:11:16","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/?p=301"},"modified":"2024-11-16T22:11:16","modified_gmt":"2024-11-16T22:11:16","slug":"shannons-status-report-11-16-24","status":"publish","type":"post","link":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/2024\/11\/16\/shannons-status-report-11-16-24\/","title":{"rendered":"Shannon&#8217;s Status Report 11\/16\/24"},"content":{"rendered":"<p><span style=\"font-weight: 400\">This week, I worked on WebSockets with Jeffrey during our Tuesday and Thursday meet-up. Initially, I spent some time helping Jeffrey set up his virtual environment, ensuring that he had access to our GitHub repository, and that ultimately he was able to run our WebApp on his computer so that he could test the DSI display showing correct information based on the WebApp inputs. Jeffrey later ran into some git commit issues that I also worked with him to resolve (he had accidentally committed the virtual environment folder to our GitHub repository, resulting in more than 1 million lines of code being committed and causing him to be unable to git pull due to the sheer volume of content). Unfortunately, as of right now, we are still running into some issues trying to use socket.IO to have the WebApp communicate with the RPi and display. Previously, we were able to communicate with just the RPi itself, however, when trying to draw up the DSI display using Tkinter, Jeffrey ran into issues with trying to communicate between the WebApp and the RPi. While WebApp to RPi communication could work, it did not work the other way around and he is still working to resolve this issue. As such, although I was hoping to be able to test the WebApp display based on the RPi-sent information, since this communication from the RPi to the WebApp is still buggy, I was unable to do so. Hopefully Jeffrey is able to resolve this issue in the next week, and I will be able to more thoroughly test the code I have written.\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">I have also worked on improving the latency of the TTS feature. Previously, there was an issue where upon a large file upload, the TTS would take a long time to process the information before speaking. As such, I have changed the TTS interface to include an option for the user to choose how many words they want in a \u201cpart\u201d. If a user inputs 50 words, when they click \u201cStart Reading!\u201d, the input .txt file is processed, the text is split into 50 word parts, and the first 50-word part will be read. After reading, the website will display \u201cPart 1 read successfully\u201d and a new button will appear, saying \u201cContinue?\u201d. If the user clicks on it, the next 50-word part will be read. Once all parts have been read, a message reading \u201cFinished reading input text, upload new .txt file to read new input.\u201d will appear, and the \u201cContinue?\u201d button will disappear.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">User can upload a .txt file, default word count is set to 50 (latency of ~2s,)<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-304\" style=\"font-size: 1rem\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-4.21.59-PM-1024x382.png\" alt=\"\" width=\"525\" height=\"196\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-4.21.59-PM-1024x382.png 1024w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-4.21.59-PM-300x112.png 300w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-4.21.59-PM-768x287.png 768w\" sizes=\"(max-width: 525px) 100vw, 525px\" \/><br \/>\n<\/span><\/p>\n<p>Reading a 50-word text with the maximum word limit set to 25 words (should read in two parts).<\/p>\n<p><span style=\"font-weight: 400\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-306\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-5.06.52-PM-1024x373.png\" alt=\"\" width=\"525\" height=\"191\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-5.06.52-PM-1024x373.png 1024w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-5.06.52-PM-300x109.png 300w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-5.06.52-PM-768x280.png 768w\" sizes=\"(max-width: 525px) 100vw, 525px\" \/><\/span><\/p>\n<p>After the first part\/25-word chunk is read successfully, continue button appears:<\/p>\n<p><span style=\"font-weight: 400\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-302\" style=\"font-size: 1rem\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-4.20.33-PM-1024x456.png\" alt=\"\" width=\"525\" height=\"234\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-4.20.33-PM-1024x456.png 1024w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-4.20.33-PM-300x134.png 300w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-4.20.33-PM-768x342.png 768w\" sizes=\"(max-width: 525px) 100vw, 525px\" \/><\/p>\n<p>After second part is read successfully, continue button disappears and the finished message appears.<br \/>\n<img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-large wp-image-303\" style=\"font-size: 1rem\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-4.20.54-PM-1024x428.png\" alt=\"\" width=\"525\" height=\"219\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-4.20.54-PM-1024x428.png 1024w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-4.20.54-PM-300x125.png 300w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-content\/uploads\/sites\/329\/2024\/11\/Screenshot-2024-11-16-at-4.20.54-PM-768x321.png 768w\" sizes=\"(max-width: 525px) 100vw, 525px\" \/><\/span><\/p>\n<p><span style=\"font-weight: 400\">Lastly, this week I also worked on a slight UI improvement for the website. When a user ends a study session, there is now star confetti! (Similar to Canvas submissions).<\/span><\/p>\n<p><span style=\"font-weight: 400\">According to the Gantt chart, I am on target and have finished all individual components that I am responsible for. All other tasks that I am involved in are collaborative with either Jeffrey (WebSockets \u2013 RPi receiving and sending info) or Mahlet (TTS on Robot) being in charge.\u00a0 Although slightly behind on what I initially planned for the interim demo (Study Session not fully working), everything else I had planned to talk about is working.<\/span><\/p>\n<p><span style=\"font-weight: 400\">In the next week, I\u2019ll be working on:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Helping Jeffrey finish up the Study Session feature<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Helping Jeffrey to start RPS Game feature<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Implementing TTS feature on the Robot with Mahlet<\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This week, I worked on WebSockets with Jeffrey during our Tuesday and Thursday meet-up. Initially, I spent some time helping Jeffrey set up his virtual environment, ensuring that he had access to our GitHub repository, and that ultimately he was able to run our WebApp on his computer so that he could test the DSI &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/2024\/11\/16\/shannons-status-report-11-16-24\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Shannon&#8217;s Status Report 11\/16\/24&#8221;<\/span><\/a><\/p>\n","protected":false},"author":969,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[8,14,9,13],"_links":{"self":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-json\/wp\/v2\/posts\/301"}],"collection":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-json\/wp\/v2\/users\/969"}],"replies":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-json\/wp\/v2\/comments?post=301"}],"version-history":[{"count":1,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-json\/wp\/v2\/posts\/301\/revisions"}],"predecessor-version":[{"id":307,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-json\/wp\/v2\/posts\/301\/revisions\/307"}],"wp:attachment":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-json\/wp\/v2\/media?parent=301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-json\/wp\/v2\/categories?post=301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f24-teamc2\/wp-json\/wp\/v2\/tags?post=301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}