{"id":162,"date":"2024-03-23T23:06:06","date_gmt":"2024-03-24T03:06:06","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/?p=162"},"modified":"2024-03-23T23:30:39","modified_gmt":"2024-03-24T03:30:39","slug":"debrinas-status-report-for-march-23-2024","status":"publish","type":"post","link":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/2024\/03\/23\/debrinas-status-report-for-march-23-2024\/","title":{"rendered":"Debrina\u2019s Status Report for March 23, 2024"},"content":{"rendered":"<p><span style=\"font-weight: 400\">This week I am on schedule, but there are some issues we faced in integration this week that may slow down progress in the coming week. This week our team focused on integration to begin testing the full system \u2013 from object detection to physics calculation and trajectory projection. Our testing helped us classify some bugs in our implementation caused by certain cases. These bugs led to some unexpected interruptions and sequences in our backend system. Hence, this week I helped to work on the physics model to add more functionality and to improve some existing implementations to account for edge cases.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">In the physics model, I implemented a method to classify the wall that a trajectory line collides with. Furthermore, I fixed some bugs related to division by zero, which would occur whenever a trajectory line was vertical. This case would happen if a user points the cue stick directly upwards or downwards. Next, I tried to fix some bugs related to the wall reflection algorithm since I noticed that it only worked as we expected on specific orientations of the pool cue. I began implementing a few more features to this algorithm so that it would account for walls that are not purely horizontal or vertical. I also modified the return value of this function to return a new trajectory (after the wall collision) instead of a point. This is crucial as this new trajectory is required for the next iteration of our physics calculations. With this new implementation, there are still a few bugs that cause the function to encounter errors when a collision occurs with the top or bottom walls. I will be consulting my teammates to address these errors during our team meeting tomorrow (Sunday, March 24th).\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">The edge cases that we discovered during our preliminary testing led me to realize that we could introduce more standardizations for our backend model. I added a few more objects and specifications to the API that Tjun Jet had designed in prior weeks. In particular, I added a new object called \u2018TrajectoryLine\u2019, which will allow us to explicitly differentiate between the starting point and the end point of a trajectory. This is helpful to use in some components of our physics model where the direction of the trajectory is crucial.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">In the coming week, I will work on modifying parts of our backend that need to be updated to meet the new standardizations. I will continue to help work on the physics model implementation and conduct testing on trajectory outputs to ensure that we have covered all possible cases of orientations of the cue stick and locations of the pool balls. With regards to our project\u2019s object detection model, I hope to improve the ball detections by using different color masks to better filter out noise that may be caused by different lighting conditions.<\/span><\/p>\n<figure id=\"attachment_163\" aria-describedby=\"caption-attachment-163\" style=\"width: 661px\" class=\"wp-caption alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-163\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/wp-content\/uploads\/sites\/284\/2024\/03\/sample-wall-bounce.png\" alt=\"\" width=\"661\" height=\"395\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/wp-content\/uploads\/sites\/284\/2024\/03\/sample-wall-bounce.png 661w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/wp-content\/uploads\/sites\/284\/2024\/03\/sample-wall-bounce-300x179.png 300w\" sizes=\"(max-width: 661px) 100vw, 661px\" \/><figcaption id=\"caption-attachment-163\" class=\"wp-caption-text\">Image from our one of our test cases. Trajectory of cue ball as it reflects with the left wall. The cue stick is represented as two red points on the canvas.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This week I am on schedule, but there are some issues we faced in integration this week that may slow down progress in the coming week. This week our team focused on integration to begin testing the full system \u2013 from object detection to physics calculation and trajectory projection. Our testing helped us classify some &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/2024\/03\/23\/debrinas-status-report-for-march-23-2024\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Debrina\u2019s Status Report for March 23, 2024&#8221;<\/span><\/a><\/p>\n","protected":false},"author":832,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[5],"_links":{"self":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/wp-json\/wp\/v2\/posts\/162"}],"collection":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/wp-json\/wp\/v2\/users\/832"}],"replies":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/wp-json\/wp\/v2\/comments?post=162"}],"version-history":[{"count":2,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/wp-json\/wp\/v2\/posts\/162\/revisions"}],"predecessor-version":[{"id":172,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/wp-json\/wp\/v2\/posts\/162\/revisions\/172"}],"wp:attachment":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/wp-json\/wp\/v2\/media?parent=162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/wp-json\/wp\/v2\/categories?post=162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamc0\/wp-json\/wp\/v2\/tags?post=162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}