{"id":116,"date":"2024-03-16T23:18:24","date_gmt":"2024-03-16T23:18:24","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/?p=116"},"modified":"2024-03-17T03:58:17","modified_gmt":"2024-03-17T03:58:17","slug":"garys-progress-report-for-16-mar-2024","status":"publish","type":"post","link":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/2024\/03\/16\/garys-progress-report-for-16-mar-2024\/","title":{"rendered":"Gary&#8217;s Progress Report for 16 Mar 2024"},"content":{"rendered":"<h2>Progress<\/h2>\n<p>This week, I mainly focused on improving and refactoring our existing firmware code. The core of this was additional improvements to the serial handler: as it&#8217;s the only communication channel with the GPS, I want to make sure that channel is as simple reliable as possible. I had several frustrations with the implementation of the channels implementation we previously used for the UART communication&#8230; the most severe of these was the fact that it provided no way of &#8220;pending&#8221; (triggering) the UART interrupt handler while writing a buffer, which is necessary in order to actually get the chip&#8217;s UART to transmit from the buffer. To solve this, I worked with Carson to totally re-implement the ring buffer-based channels that are used to communicate between the UART handler and the GPS task. The new implementation provides a clean asynchronous interface to the channel which allows me to move more of my lower-level boilerplate logic out of the main code.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-126\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/wp-content\/uploads\/sites\/283\/2024\/03\/firefox_h9Dg43HiER-300x154.png\" alt=\"\" width=\"300\" height=\"154\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/wp-content\/uploads\/sites\/283\/2024\/03\/firefox_h9Dg43HiER-300x154.png 300w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/wp-content\/uploads\/sites\/283\/2024\/03\/firefox_h9Dg43HiER.png 579w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<h2>Pacing<\/h2>\n<p>I&#8217;m a little behind now, since I was planning to start on the mapping this week. However, with the overall codebase improvements I made this week I think that task should go smoother now.<\/p>\n<h2>Planning<\/h2>\n<p>Next week I plan to finally take my first stab at the map interface, and also to work on improving the firmware&#8217;s date\/time handling.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Progress This week, I mainly focused on improving and refactoring our existing firmware code. The core of this was additional improvements to the serial handler: as it&#8217;s the only communication channel with the GPS, I want to make sure that channel is as simple reliable as possible. I had several frustrations with the implementation of &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/2024\/03\/16\/garys-progress-report-for-16-mar-2024\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Gary&#8217;s Progress Report for 16 Mar 2024&#8221;<\/span><\/a><\/p>\n","protected":false},"author":898,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[6],"_links":{"self":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/wp-json\/wp\/v2\/posts\/116"}],"collection":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/wp-json\/wp\/v2\/users\/898"}],"replies":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/wp-json\/wp\/v2\/comments?post=116"}],"version-history":[{"count":9,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/wp-json\/wp\/v2\/posts\/116\/revisions"}],"predecessor-version":[{"id":132,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/wp-json\/wp\/v2\/posts\/116\/revisions\/132"}],"wp:attachment":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/wp-json\/wp\/v2\/media?parent=116"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/wp-json\/wp\/v2\/categories?post=116"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamb8\/wp-json\/wp\/v2\/tags?post=116"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}