{"id":3573,"date":"2019-10-27T22:35:37","date_gmt":"2019-10-27T21:35:37","guid":{"rendered":"http:\/\/dronesonen.usn.no\/?p=3573"},"modified":"2019-12-05T08:22:15","modified_gmt":"2019-12-05T07:22:15","slug":"haptix-week-42","status":"publish","type":"post","link":"https:\/\/dronesonen.usn.no\/?p=3573","title":{"rendered":"Haptix Week 42"},"content":{"rendered":"\n<p><strong>Petter<\/strong><\/p>\n\n\n\n<p>We\u2019ve got a working solvable rubix cube.<\/p>\n\n\n\n<p><a href=\"https:\/\/streamable.com\/iqkpi\">https:\/\/streamable.com\/iqkpi<\/a><\/p>\n\n\n\n<p>Right now the colliders causing the movement are located inside the cube, I&#8217;m planning on adding a better way of triggering the actions soon, but this will allow us to test the system.<\/p>\n\n\n\n<p><strong>Daniel<\/strong><\/p>\n\n\n\n<p>For this week I am working on connecting the Leap Motion device with Unity and an Arduino. I have managed to establish some sort of connection. Where I have also built some visualization tool with the Arduino. That through a layout with LED diodes, 5 for each hand. In this case, I\u2019ve used blue LED diodes for the left hand and red ones for the right.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"647\" height=\"861\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/ee12b4134dae91bb1cdfc65f4eee693c.png\" alt=\"\" class=\"wp-image-3574\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/ee12b4134dae91bb1cdfc65f4eee693c.png 647w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/ee12b4134dae91bb1cdfc65f4eee693c-225x300.png 225w\" sizes=\"auto, (max-width: 647px) 100vw, 647px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"648\" height=\"861\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/05de4d98da34c3d5643bf2643e6aed06.png\" alt=\"\" class=\"wp-image-3575\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/05de4d98da34c3d5643bf2643e6aed06.png 648w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/05de4d98da34c3d5643bf2643e6aed06-226x300.png 226w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><\/figure><\/div>\n\n\n\n<p>The images above displays how Unity and the Arduino responds when a hand is visible or not (for the Leap Motion). It\u2019s real simple right now. With that all the LED diodes for the respective hand lights up once the hand is visible (see the hand in the Unity game window on screen). But, I am working on making the Unity script work in a way that it sends out information for all the fingers when it touches something (almost completed). E.g. if the left hand\u2019s index finger touches something, then the second to last blue LED diode lights up.<\/p>\n\n\n\n<p>It should then be possible to replace the LED diodes with the vibrating motors. Since the different fingers will already have been defined in the Arduino program.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"353\" height=\"382\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/6da1e31fc40e74df9c3ae307e598130c.png\" alt=\"\" class=\"wp-image-3576\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/6da1e31fc40e74df9c3ae307e598130c.png 353w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/6da1e31fc40e74df9c3ae307e598130c-277x300.png 277w\" sizes=\"auto, (max-width: 353px) 100vw, 353px\" \/><\/figure><\/div>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"475\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/11\/BREADBORD-1024x475.png\" alt=\"\" class=\"wp-image-3799\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/11\/BREADBORD-1024x475.png 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/11\/BREADBORD-300x139.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/11\/BREADBORD-768x356.png 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/11\/BREADBORD.png 1440w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Over the next week I will continue the contribution to both the Unity script(s) and Arduino program. For example, by looking at collision detection in regards to managing the different fingers in Unity with the Leap Motion. Which will include looking at bi-directional communication between the Arduino and the Unity application. Something which will also include looking into security. But not only that, I will also look at transforming the Arduino program into a master\/slave setup. I have already managed to get a hang of 2 other Arduino\u2019s, so I will try to connect these to the program.<\/p>\n\n\n\n<p><strong>Tom Eirik<\/strong><\/p>\n\n\n\n<p>Been working on design schematics for the circuits, and setting up the pin layout for the input out.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"212\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/5bbca838eab9a25bd0452e9d9df35256-1024x212.png\" alt=\"\" class=\"wp-image-3577\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/5bbca838eab9a25bd0452e9d9df35256-1024x212.png 1024w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/5bbca838eab9a25bd0452e9d9df35256-300x62.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/5bbca838eab9a25bd0452e9d9df35256-768x159.png 768w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/5bbca838eab9a25bd0452e9d9df35256.png 1108w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"849\" height=\"710\" src=\"http:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/3695d673001509b509cb79f84256f234.png\" alt=\"\" class=\"wp-image-3578\" srcset=\"https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/3695d673001509b509cb79f84256f234.png 849w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/3695d673001509b509cb79f84256f234-300x251.png 300w, https:\/\/dronesonen.usn.no\/wp-content\/uploads\/2019\/10\/3695d673001509b509cb79f84256f234-768x642.png 768w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/><\/figure><\/div>\n\n\n\n<p>Left Right Pin<\/p>\n\n\n\n<p>Thumb 11 21 3<\/p>\n\n\n\n<p>Index 12 22 5<\/p>\n\n\n\n<p>MIddle 13 23 6<\/p>\n\n\n\n<p>ring 14 24 9<\/p>\n\n\n\n<p>pinky 15 25 11<\/p>\n\n\n\n<p>Examples of work which has been done this past week. Note that these are just rough sketches to get the ideas across, and progress the workflow.<\/p>\n\n\n\n<p><strong>Herman<\/strong><\/p>\n\n\n\n<p>Week 42 has gone to planing what componants that is going to controll the communication. For the wireless connection we are going to use micro controllers with a BLE integration, which has been ordered. In the meantime I have started to open for wired connection for the communication and will integrate the system with the interface when the micro controllers arrive<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Petter We\u2019ve got a working solvable rubix cube. https:\/\/streamable.com\/iqkpi Right now the colliders causing the movement are located inside the cube, I&#8217;m planning on adding a better way of triggering the actions soon, but this will allow us to test the system. Daniel For this week I am working on connecting the Leap Motion device [&hellip;]<\/p>\n","protected":false},"author":72,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59,1],"tags":[],"class_list":["post-3573","post","type-post","status-publish","format-standard","hentry","category-haptix","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/3573","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\/72"}],"replies":[{"embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3573"}],"version-history":[{"count":3,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/3573\/revisions"}],"predecessor-version":[{"id":3800,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=\/wp\/v2\/posts\/3573\/revisions\/3800"}],"wp:attachment":[{"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dronesonen.usn.no\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}