{"id":4078,"date":"2020-09-14T19:00:47","date_gmt":"2020-09-14T18:00:47","guid":{"rendered":"http:\/\/dronesonen.usn.no\/?p=4078"},"modified":"2020-09-22T12:01:21","modified_gmt":"2020-09-22T11:01:21","slug":"second-sprint-puck-buddies","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=4078","title":{"rendered":"Second sprint &#8211; Puck Buddies"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Nicholas;<\/h2>\n\n\n\n<p>As we started the project, we had a lot of setup to do to ensure a good workflow. We ended up using GitHub as our repository as it\u2019s easy to use and helps us document the work we do. Here is a link to the project git repository if anyone is interested in seeing the files used. Please note that there are some test files there currently.&nbsp;&nbsp;<a href=\"https:\/\/github.com\/NichoPellic\/hockey_passing_machine\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/github.com\/NichoPellic\/hockey_passing_machine<\/a>&nbsp;<\/p>\n\n\n\n<p>As for other tools I personally decided to use Visual Studio Code as my code editor. The main reason for this is that it\u2019s a very lightweight code editor that at the same time supports a lot of features you normally would except from an IDE. Another reason is that by extensions you can make Code work for any programming language and as our code base will be a mix of several languages this is a big plus. Also, Git is built into the application which means less programs\/terminals needs to be used in order push and pull coding changes.&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-10-1024x683.png\" alt=\"\" class=\"wp-image-4120\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-10.png 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-10-300x200.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-10-768x512.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption> <em>Figure&nbsp;1 (Nicholas):&nbsp;Visual Studio Code is a very versatile code editor<\/em>&nbsp; <\/figcaption><\/figure>\n\n\n\n<p>After all was setup if and we had some brainstorming we started to&nbsp;look into&nbsp;different code to create a proof of concept. We started off by creating a basic system hierarchy model to split the system into workable parts.&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"320\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-9.png\" alt=\"\" class=\"wp-image-4119\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-9.png 606w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-9-300x158.png 300w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><figcaption> <em>Figure&nbsp;3 (Nicholas):&nbsp;Inital&nbsp;system&nbsp;hierarchy<\/em>&nbsp; <\/figcaption><\/figure>\n\n\n\n<p>As for the software, Anders and I sat down and&nbsp;created this basic data flow diagram used to highlight how the data flows between the different components.&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"605\" height=\"642\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-11.png\" alt=\"\" class=\"wp-image-4121\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-11.png 605w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-11-283x300.png 283w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><figcaption> <em>Figure&nbsp;2 (Nicholas):&nbsp;General dataflow of the system<\/em>&nbsp; <\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Anders;<\/h2>\n\n\n\n<p>Following Nicholas I also choose to use Microsoft VisualStudio Code for all my programming this semester, as he so neatly explained above it can be used seamlessly between different languages and have GitHub functionality integrated by the use of extensions.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"512\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/GitHubVSCode-1024x512.png\" alt=\"\" class=\"wp-image-4115\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/GitHubVSCode-1024x512.png 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/GitHubVSCode-300x150.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/GitHubVSCode-768x384.png 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/GitHubVSCode.png 2024w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The past weeks Nicholas and I have started making modules for controlling servos and steppers and started to merge them as they came out as we wanted.<\/p>\n\n\n\n<ul class=\"wp-block-gallery columns-3 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"496\" height=\"1024\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119484007_1585433268294589_7336445073421425562_n-496x1024.jpg\" alt=\"\" data-id=\"4124\" class=\"wp-image-4124\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119484007_1585433268294589_7336445073421425562_n-496x1024.jpg 496w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119484007_1585433268294589_7336445073421425562_n-145x300.jpg 145w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119484007_1585433268294589_7336445073421425562_n-768x1586.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119484007_1585433268294589_7336445073421425562_n.jpg 1952w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"496\" height=\"1024\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119466531_903245970081608_3973983758371590348_n-496x1024.jpg\" alt=\"\" data-id=\"4125\" data-link=\"http:\/\/dronesonen.usn.no\/?attachment_id=4125\" class=\"wp-image-4125\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119466531_903245970081608_3973983758371590348_n-496x1024.jpg 496w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119466531_903245970081608_3973983758371590348_n-145x300.jpg 145w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119466531_903245970081608_3973983758371590348_n-768x1586.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119466531_903245970081608_3973983758371590348_n.jpg 1952w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/figure><\/li><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"496\" height=\"1024\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119529198_355169278863543_7316590537972660236_n-496x1024.jpg\" alt=\"\" data-id=\"4126\" data-link=\"http:\/\/dronesonen.usn.no\/?attachment_id=4126\" class=\"wp-image-4126\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119529198_355169278863543_7316590537972660236_n-496x1024.jpg 496w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119529198_355169278863543_7316590537972660236_n-145x300.jpg 145w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119529198_355169278863543_7316590537972660236_n-768x1586.jpg 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/119529198_355169278863543_7316590537972660236_n.jpg 1952w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/figure><\/li><\/ul>\n\n\n\n<p>Other that that we have looked at a solution for image recognition using YOLO3 witch is a open source image recognition software, so far we have looked into using a RaspberryPI to do the image recognition computing but we might converge on a NVIDIA Jetson based on performance.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Halvard;<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/magasin-assemb-711x1024.png\" alt=\"\" class=\"wp-image-4081\" width=\"297\" height=\"427\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/magasin-assemb-711x1024.png 711w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/magasin-assemb-208x300.png 208w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/magasin-assemb-768x1106.png 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/magasin-assemb.png 1013w\" sizes=\"auto, (max-width: 297px) 100vw, 297px\" \/><figcaption>3D model puck feeder<\/figcaption><\/figure><\/div>\n\n\n\n<p>We started in CAD to get a rough overview of the product we where going to design. We looked at all the mechanisms that we needed to produce for the product to function as intended. Then we started to model them in&nbsp;Solidworks, our first model was just a proof of concept with mounts for the engines, ESC, magazine-feeder (img bellow) and magazine-mount.&nbsp;<\/p>\n\n\n\n<p> After this we produced some 2D-drawings of the bottom plate so we could cut them out with the laser-cutter. We choose to produce the&nbsp;bottom plate&nbsp;from plywood&nbsp;in the start to get a physical model to understand the workings of our proposed solution.&nbsp;&nbsp; <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/bunnplate-konsept-1024x971.png\" alt=\"\" class=\"wp-image-4079\" width=\"298\" height=\"282\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/bunnplate-konsept-1024x971.png 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/bunnplate-konsept-300x285.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/bunnplate-konsept-768x728.png 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/bunnplate-konsept.png 1555w\" sizes=\"auto, (max-width: 298px) 100vw, 298px\" \/><figcaption>2D model of plywood base for testing<\/figcaption><\/figure><\/div>\n\n\n\n<p>We then started to look at the forces that will act upon the product in use as well as the effects of gravity. We found out that we needed to find ways to manage all the forces the product will be subjected to&nbsp;during&nbsp;use. To do this we will need to do some more in-depth research, for example a FEM-analysis(Finite Element Method) of the model,&nbsp;which&nbsp;we will do in the upcoming weeks.&nbsp;<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/bunnplate-laser.jpg\" alt=\"\" class=\"wp-image-4080\" width=\"471\" height=\"642\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/bunnplate-laser.jpg 280w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/bunnplate-laser-220x300.jpg 220w\" sizes=\"auto, (max-width: 471px) 100vw, 471px\" \/><figcaption>Laser cut piece of plywood for testing<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Gaute;<\/h2>\n\n\n\n<p>Uke 34:<\/p>\n\n\n\n<p>20.08.20:<\/p>\n\n\n\n<p> Brief introduction to what the subject is about, and what expectations the lecturers have for us students. We formed groups and started with the thought process of what we want to create during the course.<\/p>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nOur\ngroup consists of two computer students, Anders and Nicholas, and two computer\nstudents, Halvard and Gaute.\n\n\n\n<\/p>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nWe\nsearched the web for inspiration from similar projects, but did not find\nanything that we liked. Eventually it turned out that Anders and Nicholas play\nice hockey and that&#8217;s how we came up with the idea of making an ice hockey puck\nmachine that can shoot passes out on the ice. Everyone liked the idea well and\nsaw good opportunities to get a good project.\n\n\n\n<\/p>\n\n\n\n<p>Uke 35:<\/p>\n\n\n\n<p>27.08.20: <\/p>\n\n\n\n<p>Second gathering. We sat down to discuss\nfurther on our ice hockey puck machine. We machine guys started to draw a\nlittle what thoughts we had about possible solutions for frameworks and\nphysical design. As well as discussing and gaining clarity in which conditions\nunderlie the design, which considerations must be emphasized and functional\nrequirements. Halvard and I shared the design between us so that Halvard takes\ncare of the launch module and I take care of the frame.&nbsp;\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"756\" height=\"744\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image.png\" alt=\"\" class=\"wp-image-4084\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image.png 756w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-300x295.png 300w\" sizes=\"auto, (max-width: 756px) 100vw, 756px\" \/><\/figure>\n\n\n\n<p>28.08.20:<\/p>\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nStarted by modeling a bit in Solidworks. The\nidea here is that the legs should be adjustable so that it has increased\nstability while in use and takes up less space during storage. The paws can\nalso be adjusted in height, possibly not necessary, time will tell.\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"599\" height=\"408\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-3.png\" alt=\"\" class=\"wp-image-4087\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-3.png 599w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-3-300x204.png 300w\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" \/><figcaption>D<\/figcaption><\/figure>\n\n\n\n<p>30.08.20:<\/p>\n\n\n\n<p> Worked a little further with the frame. Worked a bit to find a solution to the turn challenge. Think the solution must be to have a step motor mounted in the frame of the launch module that pulls the module around. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"496\" height=\"340\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-2.png\" alt=\"\" class=\"wp-image-4086\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-2.png 496w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-2-300x206.png 300w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/figure>\n\n\n\n<p>Uke 36:<\/p>\n\n\n\n<p>03.09.20:<\/p>\n\n\n\n<p>Third gathering. The mechanical engineering students received a brief overview of which assessment criteria our contribution to the project is measured according to. Otherwise, the day agreed to continue working on the project.<\/p>\n\n\n\n<p>What was done today was that I changed the leg structure a bit so that I could cut down on the weight. Also work on making some friction blocks that keep the swing construction in the groove of the ring.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"478\" height=\"402\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-4.png\" alt=\"\" class=\"wp-image-4088\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-4.png 478w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-4-300x252.png 300w\" sizes=\"auto, (max-width: 478px) 100vw, 478px\" \/><\/figure>\n\n\n\n<p>04.09.20:<\/p>\n\n\n\n<p>Has divided\nthe slide into six sections so that it can be 3D-printed.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-6.png\" alt=\"\" class=\"wp-image-4090\" width=\"492\" height=\"489\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-6.png 386w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-6-150x150.png 150w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-6-300x298.png 300w\" sizes=\"auto, (max-width: 492px) 100vw, 492px\" \/><\/figure>\n\n\n\n<p> Made grooves at each end of the section so that they can be mounted together. Prints a prototype of each track to test if it is feasible <\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-7.png\" alt=\"\" class=\"wp-image-4091\" width=\"483\" height=\"495\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-7.png 369w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-7-293x300.png 293w\" sizes=\"auto, (max-width: 483px) 100vw, 483px\" \/><\/figure>\n\n\n\n<p>05.09.20:<\/p>\n\n\n\n<p>Printed some prototype parts to test if the concept can work in full scale. The ring is 50% of its original size, while the parts in the middle are full scale.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"420\" height=\"414\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-8.png\" alt=\"\" class=\"wp-image-4092\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-8.png 420w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2020\/09\/image-8-300x296.png 300w\" sizes=\"auto, (max-width: 420px) 100vw, 420px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Nicholas; As we started the project, we had a lot of setup to do to ensure a good workflow. We ended up using GitHub as our repository as it\u2019s easy to use and helps us document the work we do. Here is a link to the project git repository if anyone is interested in seeing [&hellip;]<\/p>\n","protected":false},"author":77,"featured_media":4088,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[62],"tags":[63],"class_list":["post-4078","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-smartsystems2020","tag-puck-buddies"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/4078","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\/77"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4078"}],"version-history":[{"count":10,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/4078\/revisions"}],"predecessor-version":[{"id":4167,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/4078\/revisions\/4167"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/media\/4088"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}