<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Swiing &#187; Wii</title>
	<atom:link href="http://www.glidepro.net/blog/category/wii/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.glidepro.net/blog</link>
	<description>Usual stuff with unusual interfaces - by Michael Aldridge</description>
	<lastBuildDate>Sat, 01 May 2010 06:32:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Sensors, Symbology and Character recognition</title>
		<link>http://www.glidepro.net/blog/2009/09/sensors-symbology-and-character-recognition/</link>
		<comments>http://www.glidepro.net/blog/2009/09/sensors-symbology-and-character-recognition/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 23:49:37 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[University]]></category>
		<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://www.glidepro.net/blog/?p=196</guid>
		<description><![CDATA[I&#8217;ve left uni but still keen to continue working on something(!) So I&#8217;m extending my degree&#8217;s project and about to author a paper &#8211; or at least try to. To increase the confusion that little bit further, here&#8217;s the provisional title: Identifying a remote input sensor that best yields a &#8216;more&#8217; natural/intuitive syntax or symbology [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve left uni but still keen to continue working on something(!)<span id="more-196"></span></p>
<p>So I&#8217;m extending my degree&#8217;s project and about to author a paper &#8211; or at least try to.</p>
<p>To increase the confusion that little bit further, here&#8217;s the provisional title:</p>
<blockquote><p>Identifying a remote input sensor that best yields a &#8216;more&#8217; natural/intuitive syntax or symbology while optimising character recognition</p></blockquote>
<p>Damn that needs to be shortened and/or made more concise or something&#8230;</p>
<p>My university project involved examining the input sensors on the Nintendo Wii Remote, the infra-red sensor and the accelerometer.</p>
<p>So, the gist of the paper is essentially to carry on this comparison, to find a possible link between the co-ordinate data from the infra-red sensor and the acceleration data from the accelerometer.  Of course, I may not be able to draw a comparison so I may leave this idea to persue another avenue of exploration&#8230;</p>
<p>Step one is to make an application that will simultaneously record both accelerometer and infra-red data from the Wii Remote then I can start capturing (meaningful) data&#8230;</p>
<p>Wish me luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glidepro.net/blog/2009/09/sensors-symbology-and-character-recognition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IR Dot to Dot</title>
		<link>http://www.glidepro.net/blog/2009/02/ir-dot-to-dot/</link>
		<comments>http://www.glidepro.net/blog/2009/02/ir-dot-to-dot/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 12:35:00 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Infrared]]></category>
		<category><![CDATA[Remote]]></category>
		<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://glidepro.net/swiing/index.php/2009/02/17/ir-dot-to-dot/</guid>
		<description><![CDATA[“One of the next tasks in this iteration of the gesture application is to investigate a reliable method of using the coordinate data of more than one IR blob. Not only would this method increase the sensitive area of the Wiimote, it would also make the motion much smoother (similar to my averaging method to [...]]]></description>
			<content:encoded><![CDATA[<p><!--    @page { margin: 2cm }   P { margin-bottom: 0.21cm } --></p>
<p style="margin-bottom: 0cm; font-family: georgia;font-family:georgia;"><span style="font-size:100%;">“<em>One of the next tasks in this iteration of the gesture application is to investigate a reliable method of using the coordinate data of more than one IR blob.<span id="more-131"></span> Not only would this method increase the sensitive area of the Wiimote, it would also make the motion much smoother (similar to my averaging method to smooth out the accelerometer readings).”</em></span></p>
<p style="margin-bottom: 0cm; font-style: normal; font-family: georgia;font-family:georgia;"><span style="font-size:100%;">Well, I&#8217;ve managed to do this now – as you will have seen from the video in the &#8216;intro&#8217; post of the same title.</span></p>
<p style="margin-bottom: 0cm; font-style: normal; font-family: georgia;font-family:georgia;"><span style="font-size:100%;">First, view the video below that shows the latest iteration of the application</span></p>
<p style="margin-bottom: 0cm; font-style: italic; font-family: georgia;font-family:georgia;"><span style="font-size:100%;">videohere</span></p>
<p style="margin-bottom: 0cm; font-style: normal; font-family: georgia;font-family:georgia;"><span style="font-size:100%;">For the purposes of development, I&#8217;ve decided to show the positioning of the infrared &#8216;blobs&#8217; that the Wii Remote&#8217;s camera tracks, along with their index numbers.  These index numbers are assigned by the Wii Remote itself, along with the calculations to determine the position of each indexed blob.  This in itself is actually quite interesting (believe it or not!) and is due to a limitation of Bluetooth:</span></p>
<p style="margin-bottom: 0cm; font-family: georgia;font-family:georgia;" align="left"><span style="font-size:100%;">“</span><span style="font-size:100%;"><em>&#8230;the camera is a high resolution camera and works incredibly fast (on 100 Hz). This generates a lot of data which has to be analyzed. It is way too much to send by Bluetooth to the Wii, for Bluetooth has a maximum capacity of 1 Mbit/s. Assumed that one pixels takes one byte, sending 100 images of 1024&#215;768 pixels take 630 Mbit/s, which is way too much for Bluetooth to handle.”</em></span></p>
<p style="margin-bottom: 0cm; font-family: georgia;font-family:georgia;" align="left"><span style="font-size:100%;"><span style="font-style: normal;">Smit, J.B.. (2008). Affordable Head Tracking.</span><em> University of Groningen. </em><span style="font-style: normal;">(chapter 2), p17.</span></span></p>
<p style="margin-bottom: 0cm; font-style: normal; font-family: georgia;font-family:georgia;" align="left"><span style="font-size:100%;">Consider that figure of 630 Mbit/s when you can have up to 4 Wii Remotes connected to a PC (or indeed Wii) at once – that&#8217;s an awful lot of bandwidth!</span></p>
<p style="margin-bottom: 0cm; font-style: normal; font-family: georgia;" align="left"><span style="font-size:100%;">Instead of very long explanations, I&#8217;ll reel off a list of features that the application now has, associated with infrared. (Still probably long explanations!)</span></p>
<p style="margin-bottom: 0cm; font-style: normal; font-family: georgia;" align="left"><span style="font-size:100%;">1.  Can  use 1 to 4 infrared dots to determine the position of the Wii  Remote</span></p>
<p style="margin-bottom: 0cm; font-style: normal; font-family: georgia;" align="left"><span style="font-size:100%;">2.  When  2 dots are detected (this is where my Bluetack comes out again to  cover up all but 2 LEDs) then the distance between them in pixels  (relative to the resolution of the application) is calculated.  From  this, it&#8217;s possible to track <em>backward</em> and <em>forward</em> motion and make an approximate representation for the 3D model&#8217;s  movement.  This is a significant step to adding the ability to  recognise gestures in three-dimensions</span></p>
<p style="margin-bottom: 0cm; font-style: normal; font-family: georgia;" align="left"><span style="font-size:100%;">I&#8217;ve  limited it to using only 2 dots at the moment because then it&#8217;s a  simple Pythagoras calculation to get the distance between the dots.   If the Wii Remote is detecting 4 blobs then it&#8217;s a question of  working out the greatest distance between all 4 points.  This is  potentially a lot of calculations that could slow the program down.</span></p>
<p style="margin-bottom: 0cm; font-style: normal; font-family: georgia;" align="left"><span style="font-size:100%;">Aside  from that, if the remote is really close to a cluster of LEDs at one  end of the sensor-bar then it it would appear that the remote is far  away due to the small distance between the LEDs.  Therefore, the  LEDs must be at either end of the sensor-bar.</span><span style="font-size:100%;"><br />
</span></p>
<p style="margin-bottom: 0cm; font-style: normal; font-family: georgia;" align="left"><span style="font-size:100%;">3.  If  there aren&#8217;t any IR sources detected by the Wii Remote then the 3D  model shader changes to represent it as &#8216;off-line&#8217;.  The application  stops registering movement rather than registering lots of strange  directions.  When the remote is moved out of range then the remote  freezes in it&#8217;s last position.  When the remote is moved back into  range then the movement from the last position continues.</span></p>
<p style="margin-bottom: 0cm; font-style: normal; font-family: georgia;font-family:georgia;" align="left"><span style="font-size:100%;">Next up will be the explanation of the Levenshtein algorithm!</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.glidepro.net/blog/2009/02/ir-dot-to-dot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IR Dot to Dot &#8211; intro</title>
		<link>http://www.glidepro.net/blog/2009/02/ir-dot-to-dot-intro/</link>
		<comments>http://www.glidepro.net/blog/2009/02/ir-dot-to-dot-intro/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 20:51:00 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Infrared]]></category>
		<category><![CDATA[Remote]]></category>
		<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://glidepro.net/swiing/index.php/2009/02/16/ir-dot-to-dot-intro/</guid>
		<description><![CDATA[Consider the following video &#8211; more detailed explanation and other videos on the way! (higher quality available here)]]></description>
			<content:encoded><![CDATA[<p>Consider the following video &#8211; more detailed explanation and other videos on the way!</p>
<p><object width="320" height="266" class="BLOG_video_class" id="BLOG_video-5ca1ae65d1c37137" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="movie" value="http://www.blogger.com/img/videoplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DqAAAAPEbdexZYqODP9Nt5kZfcH3hfkUVwugl0rKOpB1DecAt5TBKU4XFbny8d_nPYr5zF14w3KiIapPAgsS65XyUVld_-b5qexJz0agAWyI2EUH2UCfqowWp4dc1QrWx_KWoLsS9KZbU_W4-KrJBA_y2tUC0u0QaA6TW5ERCZFVThubjyVFzq_5XQQAzempXHJ3BkIBDwys39doXVHeNS1KEcAPvtKVYwIp9m1xAwjdtx7kp%26sigh%3DTFJFM4PysKAMuR749YLerhS8y80%26begin%3D0%26len%3D86400000%26docid%3D0&amp;nogvlm=1&amp;thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dblogger%26contentid%3D5ca1ae65d1c37137%26offsetms%3D5000%26itag%3Dw320%26sigh%3D6UxGdwFIRkQkHBiMYwxwe-dniLM&amp;messagesUrl=video.google.com%2FFlashUiStrings.xlb%3Fframe%3Dflashstrings%26hl%3Den"><param name="bgcolor" value="#FFFFFF"><embed width="320" height="266" src="http://www.blogger.com/img/videoplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DqAAAAPEbdexZYqODP9Nt5kZfcH3hfkUVwugl0rKOpB1DecAt5TBKU4XFbny8d_nPYr5zF14w3KiIapPAgsS65XyUVld_-b5qexJz0agAWyI2EUH2UCfqowWp4dc1QrWx_KWoLsS9KZbU_W4-KrJBA_y2tUC0u0QaA6TW5ERCZFVThubjyVFzq_5XQQAzempXHJ3BkIBDwys39doXVHeNS1KEcAPvtKVYwIp9m1xAwjdtx7kp%26sigh%3DTFJFM4PysKAMuR749YLerhS8y80%26begin%3D0%26len%3D86400000%26docid%3D0&amp;nogvlm=1&amp;thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dblogger%26contentid%3D5ca1ae65d1c37137%26offsetms%3D5000%26itag%3Dw320%26sigh%3D6UxGdwFIRkQkHBiMYwxwe-dniLM&amp;messagesUrl=video.google.com%2FFlashUiStrings.xlb%3Fframe%3Dflashstrings%26hl%3Den" type="application/x-shockwave-flash"></embed></object></p>
<p>(higher quality available <a href="http://glidepro.net/labs/irdemo.html">here</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glidepro.net/blog/2009/02/ir-dot-to-dot-intro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the IR Sensor Bar = Cheating?</title>
		<link>http://www.glidepro.net/blog/2009/02/using-the-ir-sensor-bar-cheating/</link>
		<comments>http://www.glidepro.net/blog/2009/02/using-the-ir-sensor-bar-cheating/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 12:03:00 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Accelerometer]]></category>
		<category><![CDATA[Infrared]]></category>
		<category><![CDATA[Remote]]></category>
		<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://glidepro.net/swiing/index.php/2009/02/08/using-the-ir-sensor-bar-cheating/</guid>
		<description><![CDATA[Well, when this project has set its sights on using the accelerometer in the Wii Remote for motion sensing then the answer is a resounding &#8216;yes!&#8217;. One of the main reasons why I&#8217;ve shied away from the use of the sensor bar is that I wanted to make a gesture recognition application with as FEW [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://1.bp.blogspot.com/_lDcYhCuzqMg/SZV-3auoWvI/AAAAAAAAADk/WXrg1Kq3kHs/s1600-h/wiimote.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 124px;" src="http://1.bp.blogspot.com/_lDcYhCuzqMg/SZV-3auoWvI/AAAAAAAAADk/WXrg1Kq3kHs/s200/wiimote.jpg" alt="" id="BLOGGER_PHOTO_ID_5302283626831436530" border="0" /></a> Well, when this project has set its sights on using the accelerometer in the Wii Remote for motion sensing then the answer is a resounding &#8216;yes!&#8217;. One of the main reasons why I&#8217;ve shied away from the use of the sensor bar is that I wanted to make a gesture recognition application with as FEW artefacts as possible – i.e. just the Wii Remote and no other hardware save for a computer with Bluetooth capability. However, the data gathered whilst employing the IR sensor-bar, the scope for my project has somewhat widened&#8230;</p>
<p>After discovering the limitations of the Wiimote&#8217;s accelerometer I decided to delve into the possibilities of the other sensor in the Wii Remote – it&#8217;s camera. For those who don&#8217;t know, that sensor bar sitting on top of the television isn&#8217;t actually sensing anything at all. It&#8217;s merely emitting a number of infra-red sources. The Wii knows where the player is pointing because the camera in the Wiimote is tracking the position of the infra-red sources. In fact, the camera in the Wiimote is capable of tracking 4 infra-red points (known as &#8216;blobs&#8217;) at 100Hz (100 times per second).</p>
<p>The Director Xtra I&#8217;m using for the purposes of my project supplies the coordinates (X and Y values between 0 and 1) of each blob in a handy array. So, thankfully, the potentially fiddly process of getting to the data has been dealt with – it&#8217;s just a question of interpreting the data to get something meaningful from it.</p>
<p><em>One blob to rule them all&#8230; </em></p>
<p>Armed with my Wiimote, el-cheapo battery powered sensor bar and a few lumps of Bluetack I set to work.</p>
<p>Firstly, my sensor bar isn&#8217;t as good as the actual Nintendo one, but then it wouldn&#8217;t be as it cost a whole $6. It has 6 infra-red LEDs, 3 at each end of the bar and arranged in such a way that they &#8216;fan out&#8217; to create a spread of infra-red – the theory being that the Wii console will appear more sensitive or reactive. The genuine Nintendo sensor-bar has a total of 10 LEDs in it making it far superior. For the purpose of the program I&#8217;m writing, I only need one (there are downfalls to this approach that I&#8217;ll explain shortly) so I covered up the rest of the LEDs with Bluetack!</p>
<p>I&#8217;ve adapted the program I wrote for the accelerometers to use the readings from the Wiimote&#8217;s camera instead.</p>
<p><object width="320" height="266" class="BLOG_video_class" id="BLOG_video-2963b1c8ac9617d6" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="movie" value="http://www.blogger.com/img/videoplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DqAAAAO3T1daHheEeH3ZcEQIwEb85W818bo_9jN71GpfQcZWOc7Zz1KVis4ZeV_R-gByfxyxQmAXLxz3i7N5Ff-4Sfma5scfXyPulYisQwqdOmA8gsEwPgozMGNG4VftHgthLJMChUgIJlH8yA9nzT_HBJHBhNdDKw2wiGDn2cK6ebAHCruA1_8GmSbVsDdNT4fuZ-lBsxax7qju-XeXD0vGXE3bqt-TtTIBSuS64y4Yvw0YW%26sigh%3DRV4-Gq5gBvGmxvFkpzrHQfWL2Lc%26begin%3D0%26len%3D86400000%26docid%3D0&amp;nogvlm=1&amp;thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dblogger%26contentid%3D2963b1c8ac9617d6%26offsetms%3D5000%26itag%3Dw320%26sigh%3DcQtaW5ukyR6eIbkzH3O3a-ihv0g&amp;messagesUrl=video.google.com%2FFlashUiStrings.xlb%3Fframe%3Dflashstrings%26hl%3Den"><param name="bgcolor" value="#FFFFFF"><embed width="320" height="266" src="http://www.blogger.com/img/videoplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DqAAAAO3T1daHheEeH3ZcEQIwEb85W818bo_9jN71GpfQcZWOc7Zz1KVis4ZeV_R-gByfxyxQmAXLxz3i7N5Ff-4Sfma5scfXyPulYisQwqdOmA8gsEwPgozMGNG4VftHgthLJMChUgIJlH8yA9nzT_HBJHBhNdDKw2wiGDn2cK6ebAHCruA1_8GmSbVsDdNT4fuZ-lBsxax7qju-XeXD0vGXE3bqt-TtTIBSuS64y4Yvw0YW%26sigh%3DRV4-Gq5gBvGmxvFkpzrHQfWL2Lc%26begin%3D0%26len%3D86400000%26docid%3D0&amp;nogvlm=1&amp;thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dblogger%26contentid%3D2963b1c8ac9617d6%26offsetms%3D5000%26itag%3Dw320%26sigh%3DcQtaW5ukyR6eIbkzH3O3a-ihv0g&amp;messagesUrl=video.google.com%2FFlashUiStrings.xlb%3Fframe%3Dflashstrings%26hl%3Den" type="application/x-shockwave-flash"></embed></object><br />
<br /><em></em><br />The 3D model of the Wiimote is pointing forwards and doesn&#8217;t rotate with the movement of the real Wiimote. Obviously there will be a certain amount of rotation when the real-life Wiimote is moved, however one has to remember that the Wiimote&#8217;s camera must be pointed in the direction of the infra-red. This is so the application can recognise the movement. If the application relied on the accelerometer for movement as well, there would have to be some consideration taken for the occasions that the Wiimote&#8217;s camera would be out of view of the infra-red (i.e. when pointed straight up or down).</p>
<p>This is where the downfall of using one infra-red LED for positioning becomes apparent. LEDs in general do not have a very wide emitting angle. It&#8217;s very unlikely that you would see any light – or in this case, detect any infra-red – if looking at the LED from the side. Once the Wiimote&#8217;s camera has moved out of effective viewing range of the LED then the readings either become unreliable or non-existent (in this case the Wiimote returns a value of -1).</p>
<p><em>Accelerometer &amp; IR side by side&#8230; </em></p>
<p>This version of the application incorporates a slightly different method of movement recognition. The versions of the application that rely on accelerometer data as a means of control use – for want of a better term – a state logic. The Wiimote has to be swung to a certain position for it to register as a different movement. For example, if the user swings the Wiimote to the right, the application will register that the Wiimote is in the &#8216;right&#8217; position. Now, if the user swings the Wiimote to the left, the application won&#8217;t register any leftwards motion until the accelerometer is reading that the Wiimote is in the &#8216;left&#8217; position. It is better to think of the application as recognising a series of pre-set positions that the Wiimote can be held in rather than detecting the direction of the motions themselves.</p>
<p>The version of the application relying on IR dot positioning works differently. There are no pre-set positions that the user can hold the Wiimote. This time, the application senses the direction of the motion. For example, the Wiimote is motionless in the user&#8217;s hand – the 3D model on the screen is also stationary. The user moves the Wiimote up – as soon as this happens, the application moves the 3D model of the Wiimote up the screen and registers this as an upward movement.</p>
<p>This method is much more effective and natural-feeling than the previous applications using the accelerometer data. Whenever the Wiimote is stationary this registers as an &#8216;idle&#8217; state – unlike the accelerometer application where &#8216;idle&#8217; meant holding the Wiimote in a specified position.</p>
<p>The method also makes the &#8216;game&#8217; I created seem a bit easier and less frantic. When the game demanded an &#8216;up-down&#8217; motion, the accelerometer-based version would see the player having to swing the Wiimote far enough to get it into the correct position. It&#8217;s confusing for the game-player who is probably wondering why it took so long for their motions to be recognised. Now just the slightest movement in the correct direction would register as a movement in a certain direction – I suppose some may argue that this takes the challenge out of the game, but it opens the door for more complex gestures that the player would not have had the time (or patience) to make.</p>
<p>Another advantage to this method of sensing is that it&#8217;s easier to perceive the motion one&#8217;s making when gesturing at a 2D surface such as a television or computer monitor&#8230;</p>
<p>As an example scenario; one of the gestures the application may recognise is a 5 pointed star. You are given a whiteboard pen. There are two whiteboards in the room. One is mounted on the wall and the other is mounted on the ceiling. You are told that you have to look in front of you while drawing, so no neck tilting! First you draw the star on the whiteboard mounted on the wall &#8211; you can see the board and the shape you&#8217;re drawing so it&#8217;s really easy. Now, when it comes to draw the star on the ceiling whiteboard it&#8217;s not as easy because you can&#8217;t really see what you&#8217;re doing and the star looks distorted.</p>
<p>OK, that may be quite a long way of trying to explain the benefits of the IR dot method, however it nicely highlights its benefits. In programming terms, it makes the process of designing gestures easier and enables more complex methods of determining gestures to be integrated into the application – such as the Levenshtien Distance algorithm.</p>
<p><em>Next steps&#8230;</em></p>
<p>One of the next tasks in this iteration of the gesture application is to investigate a reliable method of using the coordinate data of more than one IR blob. Not only would this method increase the sensitive area of the Wiimote, it would also make the motion much smoother (similar to my averaging method to smooth out the accelerometer readings).</p>
<p>Returning to the accelerometer-based version of the application. I may try to alter the code to sense change in direction rather than finite states. The accelerometer data was too &#8216;jittery&#8217; the last time I tried it, however, that was before I started using averaged data over time rather than real-time values. It might be possible! However, bear in mind that the problems highlighted in my whiteboard scenario earlier will still be an issue.</p>
<p>Once the aspect of getting the user&#8217;s input has been dealt with, the various methods of checking for valid gestures will be the next priority. In terms of my project proposal, the investigation into forms of gesture alphabets shall begin. This will represent another iteration in the application, where we move away from the gaming aspect and more toward the place that gesture recognition has in the everyday computing world&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glidepro.net/blog/2009/02/using-the-ir-sensor-bar-cheating/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8230;and now for the annoying bit &#8211; Accelerometers</title>
		<link>http://www.glidepro.net/blog/2009/02/and-now-for-the-annoying-bit-accelerometers/</link>
		<comments>http://www.glidepro.net/blog/2009/02/and-now-for-the-annoying-bit-accelerometers/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 09:29:00 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Accelerometer]]></category>
		<category><![CDATA[Remote]]></category>
		<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://glidepro.net/swiing/index.php/2009/02/07/and-now-for-the-annoying-bit-accelerometers/</guid>
		<description><![CDATA[After hours of testing and gazing hypnotically at a spreadsheet application, one hand on the mouse, the other clutching my Wii Remote, I&#8217;ve come to the conclusion that it&#8217;s not possible to measure displacement using data from the Wii Remote&#8217;s accelerometers. I have searched through forums associated with non-gaming-exclusive applications of the Wiimote and found [...]]]></description>
			<content:encoded><![CDATA[<p>After hours of testing and gazing hypnotically at a spreadsheet application, one hand on the mouse, the other clutching my Wii Remote, I&#8217;ve come to the conclusion that it&#8217;s not possible to measure displacement using data from the Wii Remote&#8217;s accelerometers.
</p>
<p style="margin-bottom: 0cm;">I have searched through forums associated with non-gaming-exclusive applications of the Wiimote and found that the general opinion of members is that it&#8217;s not possible (<a href="http://www.wiili.org/forum/tracking-distance-and-3d-position-without-a-sensor-bar-t3763.html">http://www.wiili.org/forum/tracking-distance-and-3d-position-without-a-sensor-bar-t3763.html</a>).  Another search under general applications of accelerometers (not associated in any way with the Wiimote) revealed algorithms that take accelerometer data and several other determinable variables to calculate displacement.</p>
<p style="margin-bottom: 0cm;">Technically I &#8216;should&#8217; be able to swipe the Wiimote 1 metre to the right and collect the data output from the accelerometers. Then I could integrate these readings to retrieve the velocity at a given time, and therefore the displacement (or distance).  The final result should have some resemblance to 1 metre.</p>
<p style="margin-bottom: 0cm;">I performed the same gesture a number of times, however the displacement calculations returned wildly different results.  A slight deviation in the results could be acceptable however when moving the Wiimote over the distance of 30 centimetres I returned results between 4 and 40 centimetres.</p>
<p style="margin-bottom: 0cm;">At this point, it should be noted that the Wiimote doesn&#8217;t actually output values that can be interpreted as acceleration.  The values it returns are actually measured in g&#8217;s (g-force) which is the amount of acceleration in relation to the Earth&#8217;s gravity.  1g is roughly equivalent of 9.8m/s/s or 9.8ms<sup>-2 </sup>so the data from the Wiimote can be converted to real acceleration data. (<a href="http://en.wikipedia.org/wiki/G-force">http://en.wikipedia.org/wiki/G-force</a>)</p>
<p style="margin-bottom: 0cm;">In the experiments I conducted using the Wiimote, the accelerometer data was captured at anything from 100 times per second to as little as 10 times per second.  Therefore, 9.8ms<sup>-2</sup> has to be divided by the number of samples per second.</p>
<p style="margin-bottom: 0cm;">All the calculations are perfectly sound on paper, however the source of the data – the accelerometer – isn&#8217;t reliable enough to produce consistent, predictable results.</p>
<p style="margin-bottom: 0cm; font-style: italic;">So, why not?</p>
<p style="margin-bottom: 0cm;">Well, first, I had a look at the specification of the Wiimote&#8217;s accelerometer – an Analog Devices ADXL330 (<a href="http://www.analog.com/en/mems-and-sensors/imems-accelerometers/adxl330/products/product.html">http://www.analog.com/en/mems-and-sensors/imems-accelerometers/adxl330/products/product.html</a>).  The g-force readings of the accelerometer are accurate to +/-3g.  If the Wiimote is shaken hard or swung sufficiently fast then readings outside +/-3g can easily be produced.  Any readings outside the specification of accelerometer should be disregarded, however, in some cases, this would mean completely disregarding an entire set of data!</p>
<p style="margin-bottom: 0cm;">Next, I found that the Wiimote can be held at a certain orientation and provided the user has a steady enough hand, they can move the Wiimote through the air without altering the output of any of the axis on the accelerometers.   </p>
<p style="margin-bottom: 0cm;">Before writing off the Wiimote&#8217;s capabilities to measure displacement using its accelerometer data, it should be noted that a programmer and car-enthusiast (<a href="http://forums.vwvortex.com/zerothread?id=3362586">http://forums.vwvortex.com/zerothread?id=3362586</a>) successfully strapped his Wiimote to his car and managed to measure his 0-60mph time, and therefore distance traveled.  It should be noted that perhaps periods of smooth acceleration can be accurately recorded with the Wiimote.  This is because the g-force readings from the accelerometer would be constantly increasing (or decreasing).  If one was to plot the readings on a graph of acceleration against time, they would see a smooth line.  If one was to plot the readings of a rapid hand gesture on a similar graph, the line would resemble more that of a &#8216;heart-rate monitor&#8217;.  It&#8217;s obvious that the former readings would be more accurate.</p>
<p style="margin-bottom: 0cm;">The problems I have experienced don&#8217;t appear to just be the preserve of programmers using the Wiimote for non Nintendo Wii software.   </p>
<p style="margin-bottom: 0cm;">It also appears that more observant gamers have noticed the shortcomings of the Wiimote as well.  The &#8216;real-life&#8217; movement that was promised by Nintendo with the release of the Wii console doesn&#8217;t match the now-apparent limitations of the system.   </p>
<p style="margin-bottom: 0cm;">(<a href="http://www.gamasutra.com/view/feature/1494/wheres_the_wiimote_using_kalman_.php">http://www.gamasutra.com/view/feature/1494/wheres_the_wiimote_using_kalman_.php</a>)</p>
<p style="margin-bottom: 0cm;">Using the Tennis game in Wii Sports as an example, more specifically the way the player serves the ball to the opponent, one can see that there are many ways of playing the game.  The method of serving in Wii Sports Tennis is to hold the Wiimote down by your side, raise it up quickly and bring it down again.  A player who may have played tennis before or at least knows what a tennis serve looks like may try to serve the ball using a real-life serving technique.  From personal experience, I&#8217;ve seen adults try to serve by throwing a non-existent ball into the air, and then try to hit it using the Wiimote.  Annoyingly for them, using a real-life technique in Wii Sports Tennis doesn&#8217;t actually work.  The serve must be carried out using the rather childlike method described above.   </p>
<p style="margin-bottom: 0cm;">Other gestures like those required in the bowling game in Wii Sports appear to be more realistic in terms of the motion the player makes with the Wiimote.  However, this is purely due to the fact that the real-life bowling action is within the capabilities of the Wiimote&#8217;s accelerometers.  Compare this to where the action had to be altered by the game&#8217;s developers for the tennis game to a gesture that the Wiimote can understand.</p>
<p style="margin-bottom: 0cm;">In terms of the gaming aspect of the Wiimote&#8217;s technical ability, it seems suitable to simulate some types of motion that occur on very definite axis lines – i.e. in straight lines rather than a diagonal swing across all axes.  For other, more complex gestures, there is a certain amount of difference between the motion that the game&#8217;s developers tell the player to make (on-screen instructions) and the action motion that the game picks up (the code running the game).  For example, a game may tell the player to perform an elaborate swishing gesture with the character&#8217;s &#8216;sword&#8217;, but in fact, the game&#8217;s code doesn&#8217;t care how elegant or &#8216;swishy&#8217; the gesture is.  It will only concern itself with a very small portion of the movement to produce a distinct gesture.</p>
<p style="margin-bottom: 0cm;">Possibly the most irritating aspect of the Wiimote for consumers is that it isn&#8217;t the all-singing all-dancing control device that Nintendo promised.  All the people who go and buy the various sword fighting games out there (<a href="http://uk.wii.ign.com/objects/821/821973.html">Red Steel</a> etc) and games from the Star Wars franchise must have a sour taste in their mouths when they realise that the Wiimote isn&#8217;t quite the sword or Lightsaber they first thought.  This is due, once more, to the Wiimote&#8217;s inability to sense it&#8217;s position in space – it&#8217;s not possible using accelerometers.</p>
<p style="margin-bottom: 0cm;">  Nintendo are shortly to release a device called <a href="http://www.nintendo.com/whatsnew/detail/eMMuRj_N6vntHPDycCJAKWhEO9zBvyPH">Wii Motion Plus</a> that bolts onto the Wii<br />
mote (where the Nunchuck is usually connected) that contains a gyroscope.  This device will enable game developers much more scope when programming the physical aspect of their games. </p>
<p style="margin-bottom: 0cm;"><span style="font-style: italic;">&#8220;Nintendo&#8217;s upcoming Wii MotionPlus accessory for the revolutionary Wii        Remote controller again redefines game control, by more quickly and        accurately reflecting motions in a 3-D space.&#8221; </span></p>
<p style="margin-bottom: 0cm;">Hopefully, this will see less use of the IR Sensor Bar to detect distance from the TV and more use of the Wiimote on its own.</p>
<p style="margin-bottom: 0cm;">While the purpose of this article wasn&#8217;t to moan able the shortcomings and downfalls of the Wiimote, I feel that some of the text is necessary due to the fact that I myself came to the Wiimote thinking that so much more was possible!  However, it&#8217;s not all bad – there are ways around most of the problems I&#8217;m encountering thus far.</p>
<p style="margin-bottom: 0cm;">Now, for the purpose of this investigation, I shall suspend the research into calculating displacement with the Wiimote.  The main reason for this is that it doesn&#8217;t appear to be possible to obtain accurate readings from the types of gestures I wish to record and recognise.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glidepro.net/blog/2009/02/and-now-for-the-annoying-bit-accelerometers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Wii Gesture Project &#8211; &quot;Wii Swing To Music&quot;</title>
		<link>http://www.glidepro.net/blog/2009/02/wii-gesture-project-wii-swing-to-music/</link>
		<comments>http://www.glidepro.net/blog/2009/02/wii-gesture-project-wii-swing-to-music/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 06:06:00 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Director MX]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[Remote]]></category>
		<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://glidepro.net/swiing/index.php/2009/02/02/wii-gesture-project-wii-swing-to-music/</guid>
		<description><![CDATA[OK, this is a pretty big step up in the versions, so I&#8217;m going to stop giving releases a version number or we&#8217;ll be up in the hundreds before too long I shouldn&#8217;t wonder&#8230; What would have been version 5 was the application&#8217;s ability to recognise simple gestures. Whenever a gesture was recognised, the application [...]]]></description>
			<content:encoded><![CDATA[<p>OK, this is a pretty big step up in the versions, so I&#8217;m going to stop giving releases a version number or we&#8217;ll be up in the hundreds before too long I shouldn&#8217;t wonder&#8230;</p>
<p>What would have been version 5 was the application&#8217;s ability to recognise simple gestures.  Whenever a gesture was recognised, the application played a lightsaber sound (yeh, I know, too tempting right?)</p>
<p>Now (for technically version 6) the application has morphed into a simple game &#8211; just for the purposes of demostration &#8211; where the player has to make the correct gesture displayed on the screen within a certain amount of time.  All this is happening in time to a piece of music, so the general idea is that the player should wave the Wii Remote in the correct directions in time with the music&#8230;</p>
<p>&#8230;and it &#8216;kind of&#8217; works!</p>
<p>Anyway, take a look at the video below.  There isn&#8217;t any audio present at the moment due to some syncing problems I had with the screen recorder, so at some point my trusty camera will come out again and I&#8217;ll have to film myself playing it&#8230;!  For the time being, picture it being played to Lady Gaga&#8217;s &#8216;Just Dance&#8217;.</p>
<p><object width="320" height="266" class="BLOG_video_class" id="BLOG_video-fb0d90f6517f783f" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="movie" value="http://www.blogger.com/img/videoplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DqAAAADjB7cieHmVEItu-JNF4-KKVWsosDiUvyt1Ahh8EevTBdiBqwtU7Mmn7WMJGJ1qytWOAWKuMWcU6m8mZ5Ylv-y8NrodiHvRdRCVHNMcJ1-GIyACzAO_vBjokeX5FDey6l_x0Amb4MSlGHhKfXohVOecMtl_cT5cRId6N3CKpxbqbptbXXolaSYh-kxmzvZwNnKps55x6ScO1p5NRS_f-l4uWn_JxBLR3RBjw4w5hjeaT%26sigh%3D1FE8tTgXvPYCpI-xPmeeAJSum4M%26begin%3D0%26len%3D86400000%26docid%3D0&amp;nogvlm=1&amp;thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dblogger%26contentid%3Dfb0d90f6517f783f%26offsetms%3D5000%26itag%3Dw320%26sigh%3DRdQP0oJ5ICXbnRhFNDxb3jjr9Tc&amp;messagesUrl=video.google.com%2FFlashUiStrings.xlb%3Fframe%3Dflashstrings%26hl%3Den"><param name="bgcolor" value="#FFFFFF"><embed width="320" height="266" src="http://www.blogger.com/img/videoplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DqAAAADjB7cieHmVEItu-JNF4-KKVWsosDiUvyt1Ahh8EevTBdiBqwtU7Mmn7WMJGJ1qytWOAWKuMWcU6m8mZ5Ylv-y8NrodiHvRdRCVHNMcJ1-GIyACzAO_vBjokeX5FDey6l_x0Amb4MSlGHhKfXohVOecMtl_cT5cRId6N3CKpxbqbptbXXolaSYh-kxmzvZwNnKps55x6ScO1p5NRS_f-l4uWn_JxBLR3RBjw4w5hjeaT%26sigh%3D1FE8tTgXvPYCpI-xPmeeAJSum4M%26begin%3D0%26len%3D86400000%26docid%3D0&amp;nogvlm=1&amp;thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dblogger%26contentid%3Dfb0d90f6517f783f%26offsetms%3D5000%26itag%3Dw320%26sigh%3DRdQP0oJ5ICXbnRhFNDxb3jjr9Tc&amp;messagesUrl=video.google.com%2FFlashUiStrings.xlb%3Fframe%3Dflashstrings%26hl%3Den" type="application/x-shockwave-flash"></embed></object></p>
<p>Higher quality video available <a href="http://glidepro.net/labs/wiimusic.html">here&#8230;</a></p>
<p>That&#8217;s all for the moment&#8230;. Over n out&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glidepro.net/blog/2009/02/wii-gesture-project-wii-swing-to-music/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wii Gesture Project &#8211; version 4</title>
		<link>http://www.glidepro.net/blog/2009/01/wii-gesture-project-version-4/</link>
		<comments>http://www.glidepro.net/blog/2009/01/wii-gesture-project-version-4/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 12:53:00 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Accelerometer]]></category>
		<category><![CDATA[Remote]]></category>
		<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://glidepro.net/swiing/index.php/2009/01/29/wii-gesture-project-version-4/</guid>
		<description><![CDATA[(higher quality video available for viewing here!) &#8220;What you&#8217;ll probably notice is that the movement is quite stuttery, so even when the Wiimote is in a stationary position there may still be some jitters. This is due to the fact that the 3D model of the Wiimote takes it&#8217;s rotation properties directly from the ever-changing [...]]]></description>
			<content:encoded><![CDATA[<p><object width="320" height="266" class="BLOG_video_class" id="BLOG_video-16bd63c34dee2837" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="movie" value="http://www.blogger.com/img/videoplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DqAAAAJRKzAPfu3a7ks9WIkYJqTGc914lLU2IvZLC4yshHs-8MFsb0bCLrgdkip3krmJhrpc_EyoraHg7VnMH9w5atshKdOicWoes60w3jE6P1iDibBOBReSax99502PelwkRjKrIjadyiTGkx0Zin_iBHWB2yVL1i7j1UANCFAYYB4FA1SWR6lwajeDOKOL1r-YzeoPv3-ZRPGdwTN9xFM1VF6X2X97vWE5-uSG5y6VAA7Yf%26sigh%3DR0TneSOvCUsAKJ0J_uI6m62czik%26begin%3D0%26len%3D86400000%26docid%3D0&amp;nogvlm=1&amp;thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dblogger%26contentid%3D16bd63c34dee2837%26offsetms%3D5000%26itag%3Dw320%26sigh%3DLJbA_1PgoCkQeWgQ_ofaQtEIcY0&amp;messagesUrl=video.google.com%2FFlashUiStrings.xlb%3Fframe%3Dflashstrings%26hl%3Den"><param name="bgcolor" value="#FFFFFF"><embed width="320" height="266" src="http://www.blogger.com/img/videoplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DqAAAAJRKzAPfu3a7ks9WIkYJqTGc914lLU2IvZLC4yshHs-8MFsb0bCLrgdkip3krmJhrpc_EyoraHg7VnMH9w5atshKdOicWoes60w3jE6P1iDibBOBReSax99502PelwkRjKrIjadyiTGkx0Zin_iBHWB2yVL1i7j1UANCFAYYB4FA1SWR6lwajeDOKOL1r-YzeoPv3-ZRPGdwTN9xFM1VF6X2X97vWE5-uSG5y6VAA7Yf%26sigh%3DR0TneSOvCUsAKJ0J_uI6m62czik%26begin%3D0%26len%3D86400000%26docid%3D0&amp;nogvlm=1&amp;thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dblogger%26contentid%3D16bd63c34dee2837%26offsetms%3D5000%26itag%3Dw320%26sigh%3DLJbA_1PgoCkQeWgQ_ofaQtEIcY0&amp;messagesUrl=video.google.com%2FFlashUiStrings.xlb%3Fframe%3Dflashstrings%26hl%3Den" type="application/x-shockwave-flash"></embed></object></p>
<p>(higher quality video available for viewing <a href="http://glidepro.net/labs/wiimotescreenrecording4.html">here!</a>)</p>
</p>
<p><em>&#8220;What you&#8217;ll probably notice is that the movement is quite stuttery, so even when the Wiimote is in a stationary position there may still be some jitters. This is due to the fact that the 3D model of the Wiimote takes it&#8217;s rotation properties directly from the ever-changing data of the real Wiimote&#8217;s accelerometers.&#8221;</em></p>
</p>
<p>This is fixed!  If you compare the movement of the Wii Remote in this video to the other 3 I&#8217;ve recorded so far, you&#8217;ll notice that the motion much smoother.  It&#8217;s difficult to tell from the video, but now it&#8217;s easier to select the direction you want to point the Wii Remote.  Before, if the Wii Remote was held on the cusp of a different direction, for example between &#8216;left&#8217; and &#8216;idle&#8217;, the chances were that there would be lots of &#8216;left&#8217; directions generated as the accelerometers in the Wii Remote flit between &#8216;left&#8217; and &#8216;idle&#8217; positions.</p>
</p>
<p>The smooth movement is gained by sampling the last 15 accelerometer values for each axis (x, y and z) and calculating an average of each.  This average is used in place of the raw accelerometer readings.  This method irons out the little &#8216;in-between&#8217; vibrations from the accelerometer.  </p>
</p>
<p>The slight (and the benefits of averaging 99.9% outweigh this) problem is that there is a slight delay between moving the Wii Remote and the program reacting.  This is because the latest movement is being averaged alongside the last 14 movements could be much lower or higher &#8211; so the numbers have to effectively &#8216;catch up&#8217;.  In fact, as the application is running at 30 frames per second, the movement is up to half a second behind.  The delay can be reduced by taking fewer samples for the average.</p>
</p>
<p>&#8230;the work continues.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glidepro.net/blog/2009/01/wii-gesture-project-version-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Movement purely on accelerometers!</title>
		<link>http://www.glidepro.net/blog/2009/01/movement-purely-on-accelerometers/</link>
		<comments>http://www.glidepro.net/blog/2009/01/movement-purely-on-accelerometers/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 20:26:00 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Accelerometer]]></category>
		<category><![CDATA[Director MX]]></category>
		<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://glidepro.net/swiing/index.php/2009/01/23/movement-purely-on-accelerometers/</guid>
		<description><![CDATA[Finally back on track after months of mucking about&#8230;! Today, I altered my Wiimote program in Director to make a 3D object move around based on the data gathered from the Wii Remote&#8217;s accelerometers. The control is actually pretty accurate. So far, you have to hold the remote in a fairly &#8216;wooden&#8217; fashion. By this [...]]]></description>
			<content:encoded><![CDATA[<p>Finally back on track after months of mucking about&#8230;!</p>
<p>Today, I altered my Wiimote program in Director to make a 3D object move around based on the data gathered from the Wii Remote&#8217;s accelerometers.  The control is actually pretty accurate.  So far, you have to hold the remote in a fairly &#8216;wooden&#8217; fashion.  By this I mean that you can&#8217;t swish the remote left or right as one might if playing a real Wii game (Wii Sports Tennis comes to mind here).</p>
<p>So, after some faffing with the Lingo in Director I have the following degree of control over my 3D ball&#8230;</p>
<p>note: the &#8216;deadzone&#8217; for movement is attained when you hold the remote straight up in the air.</p>
<p>Move left: swing the remote to the left<br />Move right: swing the remote to the right<br />Move down: pitch the remote forwards (the end of the remote is moved in an arc away from your body)<br />Move up: pitch the remote backwards (the end of the remote is moved towards your body, the amount of movement is limited for this action)</p>
<p>At the moment, the movement of the ball isn&#8217;t directly related to the accelerometer data in terms of the actual numbers&#8230; So if the accelerometer hints that the Wii Remote is being swung to the left then the ball is moved left by a finite amount.</p>
<p>That&#8217;s all for the moment, however everything is well on the way to more exciting things!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glidepro.net/blog/2009/01/movement-purely-on-accelerometers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How the axes work on the Wii Remote</title>
		<link>http://www.glidepro.net/blog/2008/10/how-the-axes-work-on-the-wii-remote/</link>
		<comments>http://www.glidepro.net/blog/2008/10/how-the-axes-work-on-the-wii-remote/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 16:40:00 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://glidepro.net/swiing/index.php/2008/10/27/how-the-axes-work-on-the-wii-remote/</guid>
		<description><![CDATA[If you move the Wii Remote along each of these axes then the values from the accelerometer along each axis will vary. So moving the remote rapidly from side to side will cause change in the &#8216;x&#8217; axis. The sensitivity of the accelerometer in the remote (and indeed the Wii Nunchuck &#8211; they&#8217;re the same [...]]]></description>
			<content:encoded><![CDATA[<p><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_lDcYhCuzqMg/SQXvNWpl9RI/AAAAAAAAADI/sqLdA7tBZnk/s1600-h/Wii_Remote_Image.png"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 400px; height: 304px;" src="http://2.bp.blogspot.com/_lDcYhCuzqMg/SQXvNWpl9RI/AAAAAAAAADI/sqLdA7tBZnk/s400/Wii_Remote_Image.png" alt="" id="BLOGGER_PHOTO_ID_5261874752349664530" border="0" /></a>If you move the Wii Remote along each of these axes then the values from the accelerometer along each axis will vary. </p>
<p>So moving the remote rapidly from side to side will cause change in the &#8216;x&#8217; axis. </p>
<p>The sensitivity of the accelerometer in the remote (and indeed the Wii Nunchuck &#8211; they&#8217;re the same spec) generally means that it&#8217;s very difficult move along one axis at a time.</p>
<p>Now it&#8217;s time to work out how to get this information recorded in Director!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glidepro.net/blog/2008/10/how-the-axes-work-on-the-wii-remote/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project Idea #1</title>
		<link>http://www.glidepro.net/blog/2008/08/project-idea-1/</link>
		<comments>http://www.glidepro.net/blog/2008/08/project-idea-1/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 00:02:00 +0000</pubDate>
		<dc:creator>michael</dc:creator>
				<category><![CDATA[Rez]]></category>
		<category><![CDATA[Wii]]></category>

		<guid isPermaLink="false">http://glidepro.net/swiing/index.php/2008/08/15/project-idea-1/</guid>
		<description><![CDATA[It&#8217;s been a while again, but here&#8217;s a semi-decent idea for a project! So, point by point below&#8230; 1. &#8216;Rez in Flash&#8217;2. &#8230;but in a faux-3D world.3. The player flies into the screen.4. Exclusively uses a Nintendo Wii Remote as a means of control.5. Move the player left and right by altering the &#8216;roll&#8217; of [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while again, but here&#8217;s a semi-decent idea for a project!  So, point by point below&#8230;</p>
<p>1.  &#8216;Rez in Flash&#8217;<br />2.  &#8230;but in a faux-3D world.<br />3.  The player flies into the screen.<br />4.  Exclusively uses a Nintendo Wii Remote as a means of control.<br />5.  Move the player left and right by altering the &#8216;roll&#8217; of the Wii Remote.<br />6.  Aim using the Wii Remote functioning in the same way as a mouse.<br />7.  Use of gestures &#8211; Tracing different shapes using the Wii Remote to unlock areas and proceed through the game.</p>
<p>That&#8217;s all folks &#8211; hope it&#8217;s easy to make!</p>
<p>MA</p>
]]></content:encoded>
			<wfw:commentRss>http://www.glidepro.net/blog/2008/08/project-idea-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
