{"id":6006,"date":"2022-10-24T08:57:55","date_gmt":"2022-10-24T07:57:55","guid":{"rendered":"https:\/\/dronesonen.usn.no\/?p=6006"},"modified":"2022-11-29T08:14:18","modified_gmt":"2022-11-29T07:14:18","slug":"week-8-sort-it-storing-items-and-exams","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=6006","title":{"rendered":"Week: 8 Sort.it- Storing items and exams"},"content":{"rendered":"\n<p>These few weeks has been a lot of struggle since some group members were having exam. Therefore we could not all meet up and keep up the same pace. Therefore we have been mostly working for our self. Some of us have been meeting up when we could since there is always some issues that needs to be discussed before we could implement the code. Therefore those of us who could meet up did. The code we implemented this week was an array that we could store all the items inside. We decided to have pointers inside the array that pointed to items. Furthermore we agreed on creating the array on the heap even though it is not advisable cause it could lead to memory leak if we forget to delete it afterwards. In our case it should not be a big problem since we don&#8217;t have huge project. We did agree that items were the only thing we were going to save on the heap. Here is a small caption. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"336\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/image-9-1024x336.png\" alt=\"\" class=\"wp-image-6076\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/image-9-1024x336.png 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/image-9-300x99.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/image-9-768x252.png 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/image-9.png 1032w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Item class<\/h2>\n\n\n\n<p>This week we continued working on item class and make it a bit better. We added some new methods like setItem(), getItem(), removeItem. Again we had to discuss some issues related to our future problems if we were going to implement the code like we have done. Some of the discussions were related to the idea of object oriented solution to item class and itemController class. For now we are going to let it stay the way it is cause we yet have some investigations to do before further changes. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Mechanical engineers<\/h2>\n\n\n\n<p>The mechanical engineers this week were busy with continuation exams. This limited our work on the project. We were however able to do some 3D designing on SolidWorks. We worked with the frame and how this could be integrated in the system. Correct placing of the parts is important so the parts dont crash together. The frame is going to be a plate with plywood at the bottom of the system. It will make it easier to attach the 3D modelled parts and it will also be alot more stable since there are moving parts in both X,Y and Z direction. <br><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Ole Markus &amp; Kim<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Designing new gripper<\/h2>\n\n\n\n<p>Im trying to make a more complicated gripper than the first one i made. This with more mechanics in it. Hope this can be 3D printed and maby cutted in some plexiglass for design. Modulated in SW. See picture below.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"445\" height=\"486\" data-id=\"6251\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ny.klo_.2-2.jpg\" alt=\"\" class=\"wp-image-6251\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ny.klo_.2-2.jpg 445w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ny.klo_.2-2-275x300.jpg 275w\" sizes=\"auto, (max-width: 445px) 100vw, 445px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"428\" height=\"486\" data-id=\"6253\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ny.klo_.1-1.jpg\" alt=\"\" class=\"wp-image-6253\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ny.klo_.1-1.jpg 428w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ny.klo_.1-1-264x300.jpg 264w\" sizes=\"auto, (max-width: 428px) 100vw, 428px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"352\" height=\"547\" data-id=\"6252\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ny-klo.jpg2_.jpg\" alt=\"\" class=\"wp-image-6252\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ny-klo.jpg2_.jpg 352w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/ny-klo.jpg2_-193x300.jpg 193w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/figure>\n<figcaption class=\"blocks-gallery-caption\">Full assembly of the gripper in solidworks<br><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"843\" height=\"592\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/Exploded_view_NY-1.jpg\" alt=\"\" class=\"wp-image-6964\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/Exploded_view_NY-1.jpg 843w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/Exploded_view_NY-1-300x211.jpg 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/Exploded_view_NY-1-768x539.jpg 768w\" sizes=\"auto, (max-width: 843px) 100vw, 843px\" \/><figcaption>Exploded view of the Gripper. Part numbers and ballon conected for better overall location of parts.<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"966\" height=\"648\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/2D_Fully_assembled_gripper-1.jpg\" alt=\"\" class=\"wp-image-6965\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/2D_Fully_assembled_gripper-1.jpg 966w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/2D_Fully_assembled_gripper-1-300x201.jpg 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/2D_Fully_assembled_gripper-1-768x515.jpg 768w\" sizes=\"auto, (max-width: 966px) 100vw, 966px\" \/><figcaption>Fully assembled 2D drawing in SW. <\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Kim<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Electronic<\/h2>\n\n\n\n<p>This week we are working on other subjects.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>These few weeks has been a lot of struggle since some group members were having exam. Therefore we could not all meet up and keep up the same pace. Therefore we have been mostly working for our self. Some of us have been meeting up when we could since there is always some issues that [&hellip;]<\/p>\n","protected":false},"author":89,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[93,94,1],"tags":[],"class_list":["post-6006","post","type-post","status-publish","format-standard","hentry","category-smart-systems-2022","category-sort-it","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/6006","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\/89"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6006"}],"version-history":[{"count":21,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/6006\/revisions"}],"predecessor-version":[{"id":7228,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/6006\/revisions\/7228"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}