{"id":6083,"date":"2022-10-24T10:43:45","date_gmt":"2022-10-24T09:43:45","guid":{"rendered":"https:\/\/dronesonen.usn.no\/?p=6083"},"modified":"2022-11-29T08:17:42","modified_gmt":"2022-11-29T07:17:42","slug":"group-2-week-9","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=6083","title":{"rendered":"Group 2  &#8211; Week 9"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Mechanical Engineering<\/h2>\n\n\n\n<p>During week 9, I have continued to work on the design of the robotic arm, and started to create \/ design the base which the arm will be attached to. <\/p>\n\n\n\n<p>Since it can be expected some vibrations from the servomotors, I have done a little research on different designs that hopefully will in some degree prevent the vibrations from affecting the accuracy of the arm to much, in terms of moving the chess pieces from one place to another. I found out from other people (google search), who have had to deal with the same problem, have had a positive experience using cycloidal gears. <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"500\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/image-10.png\" alt=\"\" class=\"wp-image-6085\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/image-10.png 643w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/10\/image-10-300x233.png 300w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/figure>\n\n\n\n<p>The principle for how a cycloidal disc \/ gear works, is that the main gear is driven around several pins, so that the main gear rotates around its own axis of symmetry. The design I am aiming for is much simpler, and consisting of only two gears run by one steppermotor, which will make the arm turn. <\/p>\n\n\n\n<p>I have finished the chess board, but it turned out that the board was too small and I have to make the board again. I have updated the measurements, and only have to cut out the pieces before I engrave the plate with the tiles. <\/p>\n\n\n\n<p>On Wednesday I got the arms \/ disk for the servomotors, and have been working on updating all the measurements for the screw holes and distances between the different parts. I will make a small model in plywood before I start to print all the different parts, just to make sure that the arm is working properly, and to detect any errors or mistakes I have made in the design before I print all the parts. <\/p>\n\n\n\n<p>Workhours this week: 15,5 hours. <\/p>\n\n\n\n<p>Liv Marte Olsen &#8211; Mechanical engineering.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p>Programmering av prototypen:<\/p>\n\n\n\n<p>Testet prototype armen ved \u00e5 se om alle motorene kan fungere samtidig. Den ene  servo motoren ser ut til \u00e5 g\u00e5 i 360 grader og b\u00f8r byttes. Pr\u00f8vd \u00e5 f\u00e5 plukke funksjonene til \u00e5 fungere men det m\u00e5 en del testing til for \u00e5 f\u00e5 det til. Fikk ikke det nederste leddet til \u00e5 fungere, men mistenker at jeg m\u00e5 bruke forskjellige grader siden det er 2 servomotorer som peker mot hverandre og i tillegg til at jeg m\u00e5 finne ut hvilke grader begge motorene er stilt til n\u00e5r de st\u00e5r parallelt. (5 timer) (5 timer)<\/p>\n\n\n\n<p>Forel\u00f8pig kode for arm:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"823\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/image-65.png\" alt=\"\" class=\"wp-image-7191\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/image-65.png 400w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/image-65-146x300.png 146w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/figure>\n\n\n\n<p>Kevin Johansen &#8211; Computer engineer<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Jeg har unders\u00f8kt flere sjakk algoritmer, pr\u00f8ver \u00e5 implementere forskjellige vanskelighetsgrader og eventuelt starts metode. Siden armen ikke er ferdig og vi ikke trenger to personer p\u00e5 armen forel\u00f8pig, s\u00e5 har vi fordelt oppgaven mellom oss, s\u00e5 jeg skal se og v\u00e6re med p\u00e5 litt av hvert, som camera detection, ogs\u00e5 har jeg sjekket ut en metode p\u00e5 finne plassering av det som blir detected av camera detection, det vil da komme i en X og Y format, og derfra skal jeg lage et program som inneholder alle 64 firkantene p\u00e5 sjakkbrett med X-Y koordinater, for \u00e5 logge bevegelsene som skjer, alts\u00e5 gi koordinater til algoritmen.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"402\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/Skjermbildetttt-1024x402.png\" alt=\"\" class=\"wp-image-6292\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/Skjermbildetttt-1024x402.png 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/Skjermbildetttt-300x118.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/Skjermbildetttt-768x301.png 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/Skjermbildetttt-1536x603.png 1536w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/Skjermbildetttt.png 1886w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Dette vil v\u00e6re veldig n\u00f8dvendig n\u00e5r det kommer til \u00e5 fortelle algoritmen og armen hva som har blitt gjort, med dette s\u00e5 vil alt kunne logg-f\u00f8res og kan hver &#8220;bevegelse&#8221; kan bli sendt som et bildet der den leser av posisjon ogs\u00e5 sender koordinaten i form av f.eks h2h3 der &#8220;h&#8221; er posisjon 8 p\u00e5 X aksen og 2 er 2, og 3 er 3, ser p\u00e5 dette tilfelle vi ikke f\u00e5r ut noe spesifikke koordinater fra Computer vision delen.   <\/p>\n\n\n\n<p>Hossein Sadeghi, Computer science. <\/p>\n\n\n\n<p> <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Computer Vision<\/h2>\n\n\n\n<p>I didn&#8217;t complete any work last week since I had two exams that I needed to pass in order to begin my bachelor&nbsp;project the next semester.<\/p>\n\n\n\n<p>I did visit Zoran at his workplace to pick up a&nbsp;Raspberry Pi 3B+, which I will test soon. I can&#8217;t yet continue working on the new one because Joakim still has the SD card and power supply from the Raspberry Pi 4 I previously had.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p class=\"has-tertiary-background-color has-background\"><strong>I had Covid this week, which is why I was unable to attend class.<\/strong><\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Chess pieces<\/h5>\n\n\n\n<p>I&#8217;ve decided to paint every chess piece so they stand out more to the camera. White symbols will be assigned to the black&nbsp;pieces, and black symbols to the white&nbsp;pieces. As a result, the computer vision model will be significantly more accu<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Computer Vision<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">Raspberry pi 3b+<\/h5>\n\n\n\n<p>In order to test the brand-new Raspberry Pi 3B+ that Zoran had given me, I began the week by picking up my SD card and power supply from Joakim.<\/p>\n\n\n\n<p>After installing Ubuntu on my memory card, I placed it into the Raspberry Pi. The Pi&#8217;s green LED didn&#8217;t flash and didn&#8217;t even light up. This made me a little less motivated, since I had already done a lot of debugging on the other&nbsp;device and knew what this meant. The green LED is supposed to signal the SD card, and when its being written to, so it not blinking when I inserted the SD card with the operating system on it, wasn\u2019t a good sign.<\/p>\n\n\n\n<p>I tested all the different things I attempted on the prior model from week 6 even though I had little hope for it. Unfortunately, I also had no luck getting this one to operate. I spent close to 4 hours troubleshooting.<\/p>\n\n\n\n<p><strong><em><a href=\"https:\/\/dronesonen.usn.no\/?p=5786\" data-type=\"URL\" data-id=\"https:\/\/dronesonen.usn.no\/?p=5786\">Week 6 Troubleshooting<\/a><\/em><\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h5 class=\"wp-block-heading\">Continuing the annotation process<\/h5>\n\n\n\n<p>Tuesday saw the addition of 75 more images for the dataset, which I annotated in a process that took me around 3 hours.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h5 class=\"wp-block-heading\">at school<\/h5>\n\n\n\n<p>On Wednesday, Liv Marte and I met up at the school at 8:30, and I joined her as she used the laser cutter to cut out the chessboard.<\/p>\n\n\n\n<p>After that, I went to Dag for assistance with my Raspberry Pi issue, and he had a another&nbsp;Raspberry 3B+ that we tried with my SD card and it actually worked! I finally had some success with the Pi, but when I attempted to continue the annotation process, I discovered that all 150 of the completed images was gone&#8230;<\/p>\n\n\n\n<p>All I could do was start over, which I did. Before I left for home at 13:00, I had annotated 50 images.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"335\" src=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/7-1024x335.jpg\" alt=\"\" class=\"wp-image-6794\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/7-1024x335.jpg 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/7-300x98.jpg 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/7-768x251.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2022\/11\/7.jpg 1505w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p><strong><em>Hours on the project this week: 11,5<\/em><\/strong><\/p>\n\n\n\n<p><strong><em>Marte Marheim, Computer Science<\/em><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mechanical Engineering During week 9, I have continued to work on the design of the robotic arm, and started to create \/ design the base which the arm will be attached to. Since it can be expected some vibrations from the servomotors, I have done a little research on different designs that hopefully will in [&hellip;]<\/p>\n","protected":false},"author":88,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[95,93,1],"tags":[87,89],"class_list":["post-6083","post","type-post","status-publish","format-standard","hentry","category-chess-mates","category-smart-systems-2022","category-uncategorized","tag-chess-mates","tag-smarte-systemer-2022"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/6083","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\/88"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6083"}],"version-history":[{"count":16,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/6083\/revisions"}],"predecessor-version":[{"id":7193,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/6083\/revisions\/7193"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}