{"id":236,"date":"2025-04-19T23:25:00","date_gmt":"2025-04-19T23:25:00","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb7\/?p=236"},"modified":"2025-04-19T23:40:25","modified_gmt":"2025-04-19T23:40:25","slug":"lillys-status-report-for-4-19-2025","status":"publish","type":"post","link":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb7\/2025\/04\/19\/lillys-status-report-for-4-19-2025\/","title":{"rendered":"Lilly&#8217;s Status Report for 4\/19\/2025"},"content":{"rendered":"<p><strong>Things done this week:<\/strong><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Tweaked angle calculation code more to account for the weirdness at the 90 degree angle mark. Tried a bunch of different calculation methods again, ultimately moved to a smaller Kalman filter that I could tune properly instead of a black-boxed Arduino library filter. Tuned the filter to make the outputs less noisy while still getting to the extreme angles.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Debugged calibration commands between server and Pi. Should be finalized now.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Finished hat assembly, for real this time (made some straps with buttons to hold the components in place).<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Started video testing with Kinovea to get a more quantitative sense of how to fine-tune the filter. Got a 10 min and 30 min sample (was going for an hour but I forgot to turn automatic sleep off on my computer\u2026). Did the testing with 2 different people so far.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Worked on the final presentation slides.<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><strong>Progress?<\/strong><\/p>\n<p><span style=\"font-weight: 400\">Still in testing\/benchmarking\/tweaking mode since debugging stuff with the angle calculation took a little longer. The results from the first 2 testing sessions should be out today but I thought I\u2019d type up this status report first.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Deliverables for next week:<\/strong><\/p>\n<ol>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Set up &#8220;demo&#8221; and \u201creal use-case\u201d modes<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Finish testing over longer (1 hr) periods of time, and further tweak filters as needed.<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Finish final documents\u2026\u00a0<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><strong>Learning?<\/strong><\/p>\n<p><span style=\"font-weight: 400\">I got a lot more familiar with the Arduino IDE and Python programming to get all the coding done for this part of the project. Luckily there were a lot of relevant Arduino libraries (particularly for bluetooth control and sensor drivers) so I was able to modify much of the example code to make it work for this application, along with adding the extra things I needed. I also learned about different angle estimation methods, including complementary, Kalman filters, and just doing trig on the acceleration vectors. This involved reading a lot of forum posts about the filters, and papers comparing the methods\/explaining their disadvantages and advantages. Another thing I learned was how to use HTTP post and get requests, since I had never done that before and we needed a way to send data to and from the server. I learned this from my teammates, googling, and guess-and-checking with print statements to debug. One tool that I learned about for this project was Kinovea, which isn\u2019t actually great for automatically tracking angles but that\u2019s fine since I\u2019m just going to manually measure them using the software anyway. The docs for Kinovea and the user interface are fine so I didn\u2019t have to do much external research to figure out how to use the tool.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>No images since I haven&#8217;t processed\/analyzed my data yet :,,)<\/p>\n<p>Here is a snippet of a testing session to demonstrate the setup:\u00a0 <a href=\"https:\/\/drive.google.com\/file\/d\/1BQTXiCdb4EkZl6gPwkAzyboGbDKy8ZFB\/view?usp=sharing\">https:\/\/drive.google.com\/file\/d\/1BQTXiCdb4EkZl6gPwkAzyboGbDKy8ZFB\/view?usp=sharing<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Things done this week: Tweaked angle calculation code more to account for the weirdness at the 90 degree angle mark. Tried a bunch of different calculation methods again, ultimately moved to a smaller Kalman filter that I could tune properly instead of a black-boxed Arduino library filter. Tuned the filter to make the outputs less &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb7\/2025\/04\/19\/lillys-status-report-for-4-19-2025\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Lilly&#8217;s Status Report for 4\/19\/2025&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1075,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[8],"_links":{"self":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb7\/wp-json\/wp\/v2\/posts\/236"}],"collection":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb7\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb7\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb7\/wp-json\/wp\/v2\/users\/1075"}],"replies":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb7\/wp-json\/wp\/v2\/comments?post=236"}],"version-history":[{"count":6,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb7\/wp-json\/wp\/v2\/posts\/236\/revisions"}],"predecessor-version":[{"id":242,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb7\/wp-json\/wp\/v2\/posts\/236\/revisions\/242"}],"wp:attachment":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb7\/wp-json\/wp\/v2\/media?parent=236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb7\/wp-json\/wp\/v2\/categories?post=236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s25-teamb7\/wp-json\/wp\/v2\/tags?post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}