{"id":172,"date":"2014-03-04T23:33:12","date_gmt":"2014-03-04T23:33:12","guid":{"rendered":"http:\/\/blogs.discovery.wisc.edu\/projects\/?p=172"},"modified":"2014-03-05T22:56:58","modified_gmt":"2014-03-05T22:56:58","slug":"continuing-stylus-integration-key-mapping","status":"publish","type":"post","link":"https:\/\/blogs.discovery.wisc.edu\/projects\/2014\/03\/04\/continuing-stylus-integration-key-mapping\/","title":{"rendered":"Continuing stylus integration &amp; key mapping"},"content":{"rendered":"<p>For this week I would like to focus on a couple of things. The first being getting the rotation fixed with the stylus. I found some c++ code for converting a rotational matrix into a quaternion. A sample of the code can be found here: http:\/\/www.euclideanspace.com\/maths\/geometry\/rotations\/conversions\/matrixToQuaternion\/ . This should solve the problem as to why the cursor is being display slightly to the right of the stylus.<\/p>\n<p>After this is complete, I would like to start mapping the keys from the stylus into the world builder application. This is done in a similar fashion as to how the stylus was integrated. After that, I would like to make this application self reliant meaning it would no longer need to use skeletal viewer to function.<\/p>\n<p>A Video of the stylus tracking is to come in 40 minutes once Vimeo converts my clip. The output is showing the position of the stylus relative to the Zspace screen.<\/p>\n<p><iframe loading=\"lazy\" src=\"\/\/player.vimeo.com\/video\/88203581\" width=\"272\" height=\"480\" frameborder=\"0\" title=\"Zspace integration, WID 2014 Kevin Mitchell\" webkitallowfullscreen mozallowfullscreen allowfullscreen><\/iframe><\/p>\n<p>Also, just found a neat little link on vrpn integration. This could be helpful.<br \/>\nhttps:\/\/support.zspace.com\/entries\/23780202-How-to-Setup-zSpace-VRPN<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For this week I would like to focus on a couple of things. The first being getting the rotation fixed with the stylus. I found some c++ code for converting a rotational matrix into a quaternion. A sample of the &hellip; <a href=\"https:\/\/blogs.discovery.wisc.edu\/projects\/2014\/03\/04\/continuing-stylus-integration-key-mapping\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":24,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/172"}],"collection":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/comments?post=172"}],"version-history":[{"count":6,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/172\/revisions"}],"predecessor-version":[{"id":185,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/posts\/172\/revisions\/185"}],"wp:attachment":[{"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/media?parent=172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/categories?post=172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/projects\/wp-json\/wp\/v2\/tags?post=172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}