{"id":180,"date":"2024-03-23T02:20:06","date_gmt":"2024-03-23T02:20:06","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/?p=180"},"modified":"2024-03-23T03:14:26","modified_gmt":"2024-03-23T03:14:26","slug":"kaitlyns-status-report-for-3-23-24","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/2024\/03\/23\/kaitlyns-status-report-for-3-23-24\/","title":{"rendered":"Kaitlyn&#8217;s Status Report for 3\/23\/24"},"content":{"rendered":"<p><strong>Work Done<\/strong><\/p>\n<p>This week I finalized the lane detection in SUMO+TraCI.<\/p>\n<p>I spent a whole day trying to debug why the function to collect the waiting time for a car did not work and realized it was ultimately due to a type error. There was no documentation on the error and the error did not indicate what was wrong, so I looked on forums and StackOverflow for guidance. Since SUMO is not a very widely used software, I did not find anything helpful to my error and had to just randomly try debugging and looking at the source code.<\/p>\n<p>This is the error I was receiving for reference:<\/p>\n<pre>traci.exceptions.FatalTraCIError: Received answer 189,18,0 for command 173,18,0.<\/pre>\n<p>Also the software kept bugging out when I was placing the lane areas, so it required a lot of manual adjusting. It didn&#8217;t tell me what was wrong, but I guessed that it was due to a weird overlap error, so I had to move the lanes a bunch even though sometimes it worked and sometimes it didn&#8217;t.<\/p>\n<p>This is a picture of the simulation running with lane area detectors that simulate what the cameras we have would detect. Since Ankita predicts about 50m detection on each side of the intersection, I set the lane area to be about 50 meters. The output shown on the left in the terminal is the average wait time of all the lane areas.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-182\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-content\/uploads\/sites\/301\/2024\/03\/Screenshot-518-e1711158043881.png\" alt=\"\" width=\"1862\" height=\"1084\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-content\/uploads\/sites\/301\/2024\/03\/Screenshot-518-e1711158043881.png 1862w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-content\/uploads\/sites\/301\/2024\/03\/Screenshot-518-e1711158043881-300x175.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-content\/uploads\/sites\/301\/2024\/03\/Screenshot-518-e1711158043881-768x447.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-content\/uploads\/sites\/301\/2024\/03\/Screenshot-518-e1711158043881-1024x596.png 1024w\" sizes=\"(max-width: 1862px) 100vw, 1862px\" \/><\/p>\n<p>I am also finishing up the code to spawn in the cars based on the Traffic API data. The code is written, however I need to calibrate and map real life coordinates to the simulation coordinates and define the regions that represent the areas we plan on gathering API data from. I also plan on discussing with Ankita more about how I should implement the code to spawn in cars based on the camera data this week.<\/p>\n<p><strong>Schedule<\/strong><\/p>\n<p>I should be on track to finish the simulation spawning and an unoptimized machine learning model by the time we demo for the Interim Demo. I am posting this on Friday due to being busy all of Saturday, but I plan to finish the simulation spawning on Sunday\/Monday to remain on track to have the basic ML model implemented next week.<\/p>\n<p>I updated the schedule with the shifted tasks.<\/p>\n<p><strong>Tasks This Week<\/strong><\/p>\n<ul>\n<li>Finish API to simulation calibrations<\/li>\n<li>Make a basic ML model implementing simulation &#8211; will optimize hyperparameters in upcoming weeks<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Work Done This week I finalized the lane detection in SUMO+TraCI. I spent a whole day trying to debug why the function to collect the waiting time for a car did not work and realized it was ultimately due to a type error. There was&nbsp;<a class=\"read-more\" href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/2024\/03\/23\/kaitlyns-status-report-for-3-23-24\/\">&hellip;<\/a><\/p>\n","protected":false},"author":879,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[4],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-json\/wp\/v2\/posts\/180"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-json\/wp\/v2\/users\/879"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-json\/wp\/v2\/comments?post=180"}],"version-history":[{"count":7,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-json\/wp\/v2\/posts\/180\/revisions"}],"predecessor-version":[{"id":188,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-json\/wp\/v2\/posts\/180\/revisions\/188"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-json\/wp\/v2\/media?parent=180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-json\/wp\/v2\/categories?post=180"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s24-teamd8\/wp-json\/wp\/v2\/tags?post=180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}