{"id":719,"date":"2005-02-15T01:57:00","date_gmt":"2005-02-15T10:57:00","guid":{"rendered":"http:\/\/www.cloudidentity.com\/blog\/2005\/02\/16\/making-sense-of-the-tabletpc-accelerometer-round-ii\/"},"modified":"2013-03-16T11:02:07","modified_gmt":"2013-03-16T20:02:07","slug":"making-sense-of-the-tabletpc-accelerometer-round-ii","status":"publish","type":"post","link":"https:\/\/www.cloudidentity.com\/blog\/2005\/02\/15\/making-sense-of-the-tabletpc-accelerometer-round-ii\/","title":{"rendered":"Making sense of the TabletPC Accelerometer, round II"},"content":{"rendered":"<p><P>Ahh. <A href=\"http:\/\/blogs.msdn.com\/vbertocci\/archive\/2005\/02\/13\/371928.aspx\">The Sunday&#8217;s post <\/A>about <A href=\"http:\/\/workspaces.gotdotnet.com\/wingimcana\">the little toy for playing with the accelerometer <\/A>of certain tablet pcs had a notable success. Evviva! \ud83d\ude42<BR>Few answers to common questions:<\/P><br \/>\n<UL><br \/>\n<LI>I DON&#8217;T use any Accelerometer API. I&#8217;m not aware of any public ones, and that&#8217;s the only way I&#8217;d make use of them. I instead rely on the utility that comes with the default installation. More in the readme of the toy.<\/LI><br \/>\n<LI>The green line which appears on the ball represents the movement vector that the Accelerometer would like to apply to the ball. If the green vector meets a wall cell, there&#8217;s good chance it won&#8217;t move: everything is discrete behind the scenes, so there may be effects whchc are not the expected behaviour in the continuous. The collison detection algorithm is lousy but conservative: I preferred to have the ball stuck from time to time (and that explains the use of a bumpy texture for the ground. Sneaky, am I not) rather that quantistic effects in which it teleports through walls. It may still happen, but it&#8217;s rare. I&#8217;m still waiting for my girlfriend to write for me a decent algorithm.<\/LI><br \/>\n<LI>the higher the corridor\/wall thicknesses ratio, the smoother the motion.<\/LI><br \/>\n<LI>The final message is not a schrapnel of a partially successful localization, but it is in Italian by design. Just to add a little of further challenge \ud83d\ude42<\/LI><\/UL><br \/>\n<P>And in the following a grab (made with my imate) of the tablet with the app: given the nature of the interaction, if simply didn&#8217;t seem right to take just a <EM>screen<\/EM>shot! \ud83d\ude42<\/P><br \/>\n<P align=\"center\"><IMG src=\"http:\/\/www.maseghepensu.it\/oldblogrecovery\/IMAGE_091.jpg\"><\/P><\/p>\n<div style=\"clear:both\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Ahh. The Sunday&#8217;s post about the little toy for playing with the accelerometer of certain tablet pcs had a notable success. Evviva! \ud83d\ude42Few answers to common questions: I DON&#8217;T use any Accelerometer API. I&#8217;m not aware of any public ones, and that&#8217;s the only way I&#8217;d make use of them. I instead rely&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1503,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[33],"tags":[],"class_list":["post-719","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gadgets"],"_links":{"self":[{"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/posts\/719","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/comments?post=719"}],"version-history":[{"count":1,"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/posts\/719\/revisions"}],"predecessor-version":[{"id":1879,"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/posts\/719\/revisions\/1879"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/media\/1503"}],"wp:attachment":[{"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/media?parent=719"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/categories?post=719"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudidentity.com\/blog\/wp-json\/wp\/v2\/tags?post=719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}