{"id":9756,"date":"2024-11-11T11:25:10","date_gmt":"2024-11-11T10:25:10","guid":{"rendered":"https:\/\/dronesonen.usn.no\/?p=9756"},"modified":"2024-11-25T15:34:52","modified_gmt":"2024-11-25T14:34:52","slug":"week-10-update","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=9756","title":{"rendered":"smart parking Week 12 Update"},"content":{"rendered":"\n<p>Shanel:<\/p>\n\n\n\n<p>This week, I finally saw my parts in action on the real-life prototype. With all the parts for the vertical design printed and working, I can now start planning out the horizontal layout. It&#8217;s exciting to see things coming together!<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-14.png\" alt=\"\" class=\"wp-image-9759\" width=\"271\" height=\"395\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-14.png 271w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-14-206x300.png 206w\" sizes=\"auto, (max-width: 271px) 100vw, 271px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"226\" height=\"450\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-15.png\" alt=\"\" class=\"wp-image-9760\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-15.png 226w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-15-151x300.png 151w\" sizes=\"auto, (max-width: 226px) 100vw, 226px\" \/><\/figure>\n\n\n\n<p>Now that I have the vertical parts for movement ready, I am gonna work further on to work on the horizontal parts and design.<\/p>\n\n\n\n<p><strong>Azi:<\/strong><\/p>\n\n\n\n<p><strong>Making the Elevator Simulation<\/strong><\/p>\n\n\n\n<p>This week, I had to take the elevator system code we already had and turn it into a proper simulation. Because all of the physical elevator isn\u2019t ready yet, and we still needed to show something for proof of concept, and test the system. So, instead of the hardware, I got everything working virtually to demonstrate how the system would actually run.<\/p>\n\n\n\n<p><strong>What I Did<\/strong><\/p>\n\n\n\n<p>I started by tweaking the original code, which was made for the real elevator setup. I adapted it so the platform movements could run virtually instead. That means I programmed the horizontal and vertical movements to work in a simulated way, but it still follows the same logic the real elevator will use.<\/p>\n\n\n\n<p>Next, I hooked up the database to the simulation. Now, when a car gets parked, it marks the spot as \u201coccupied,\u201d and when it\u2019s retrieved, the spot goes back to \u201cavailable.\u201d Everything updates in real-time, so it looks and works just like the real thing.<\/p>\n\n\n\n<p><strong>How It All Works<\/strong><\/p>\n\n\n\n<p>The whole setup ties together the movements, the database, and the interface. When you park a car in the simulation, you\u2019ll see the platform move, the parking spot status update, and the system issue a receipt. When you retrieve a car, it does the same in reverse\u2014moves the platform, updates the spot, and resets everything.<\/p>\n\n\n\n<p><strong>Demonstration<\/strong><\/p>\n\n\n\n<p>To explain all this, I made a two videos:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>One shows how a car gets parked. The platform moves, the database updates, and the spot turns red in the interface to show it\u2019s taken.<\/li>\n\n\n\n<li>The other one shows the retrieval process\u2014getting the car back, the spot turning green, and the platform resetting.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"475\" height=\"301\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-50.png\" alt=\"\" class=\"wp-image-9984\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-50.png 475w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-50-300x190.png 300w\" sizes=\"auto, (max-width: 475px) 100vw, 475px\" \/><figcaption class=\"wp-element-caption\">Parking Overview in Console on System Startup<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/Park.mp4\"><\/video><figcaption class=\"wp-element-caption\">Parking Demonstration<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-48.png\" alt=\"\" class=\"wp-image-9981\" width=\"420\" height=\"656\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-48.png 428w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-48-192x300.png 192w\" sizes=\"auto, (max-width: 420px) 100vw, 420px\" \/><figcaption class=\"wp-element-caption\">Console Log Update After Parking<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-video\"><video controls src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/Retrieve.mp4\"><\/video><figcaption class=\"wp-element-caption\">Retrieving Demonstration<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"440\" height=\"669\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-49.png\" alt=\"\" class=\"wp-image-9983\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-49.png 440w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-49-197x300.png 197w\" sizes=\"auto, (max-width: 440px) 100vw, 440px\" \/><figcaption class=\"wp-element-caption\">Console Log Update After Retrieving<\/figcaption><\/figure>\n\n\n\n<p><strong>What We Have Now<\/strong><\/p>\n\n\n\n<p>The simulation works perfectly and shows exactly how the real elevator system will run. Even though the physical setup isn\u2019t ready yet, this simulation is a solid stand-in and makes it easy to see how the system handles parking and retrieval from start to finish.<\/p>\n\n\n\n<p>Milani:<br><\/p>\n\n\n\n<p>I restarted the Python project called &#8220;Screen&#8221; using Flask. The initial implementation was done with VMware, but I noticed that the mouse pointer was still visible, which interfered with the functionality since I wanted it to be entirely touch-based. As a result, I decided to start from scratch to ensure a better touch experience.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Created the main structure for the Flask application without using VMware.<\/li>\n\n\n\n<li>Defined routes for the main menu and start screen.<\/li>\n\n\n\n<li>Developed basic CSS styling for a responsive and touch-optimized design.<\/li>\n<\/ul>\n\n\n\n<p><strong>Challenges:<\/strong><br>The main challenge was discarding the first attempt and starting over to achieve full touch functionality, but it was necessary to ensure optimal user interaction.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Benjamin:<\/p>\n\n\n\n<p>This week has mostly gone in to fixing small errors and details on the website. I added a little header, just because it looks a bit more professional. Some of the buttons were bugging out a little, and by this i mean redirecting you slightly wrong when you press it. The functionality was there, but it just wasnt a good user experiance. So figuring out the issue there took up quite a bit of my time. Some of the border settings were messing with the button functionality, but all fixed now! <\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Meron:<\/p>\n\n\n\n<p><strong>Workshop and Design Progress: Elevator Base and Building Design<\/strong><\/p>\n\n\n\n<p>This week, I made significant progress both in the workshop and in the design phase of the smart parking project. In the workshop, I focused on key tasks related to the elevator system. I started by precisely measuring and drilling holes in the metal plate that will serve as the foundation for the elevator. For durability, I chose a strong metallic material capable of handling heavy weight during operation.<\/p>\n\n\n\n<p>Additionally, I worked on assembling the elevator profiles (metal rods) and connecting the entire lift system. Using a sawing machine, I cut a plate for the elevator platform, opting for wood to make it lighter and reduce the strain on the motor during lifting operations.<\/p>\n\n\n\n<p>After completing the assembly, I could see the entire elevator system prototype functioning as a cohesive unit. This was a crucial milestone, providing a clearer understanding of how the components interact. Additionally, I have been working on monitoring and connecting the entire system to ensure all parts operate seamlessly together.<\/p>\n\n\n\n<p>In addition to the workshop tasks, I continued working on the building design using SolidWorks. This involved refining the overall structure to integrate seamlessly with the smart parking system. The design process has been instrumental in ensuring that all components align both structurally and functionally.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-122.png\" alt=\"\" class=\"wp-image-10282\" width=\"248\" height=\"330\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-122.png 373w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-122-225x300.png 225w\" sizes=\"auto, (max-width: 248px) 100vw, 248px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-123.png\" alt=\"\" class=\"wp-image-10284\" width=\"298\" height=\"320\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-123.png 368w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2024\/11\/image-123-279x300.png 279w\" sizes=\"auto, (max-width: 298px) 100vw, 298px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Shanel: This week, I finally saw my parts in action on the real-life prototype. With all the parts for the vertical design printed and working, I can now start planning out the horizontal layout. It&#8217;s exciting to see things coming together! Now that I have the vertical parts for movement ready, I am gonna work [&hellip;]<\/p>\n","protected":false},"author":104,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-9756","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/9756","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/users\/104"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9756"}],"version-history":[{"count":9,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/9756\/revisions"}],"predecessor-version":[{"id":10396,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/9756\/revisions\/10396"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9756"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9756"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}