Author Topic: Head Tracking for Wheelchair control  (Read 6003 times)

Offline etheist

  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
on: January 12, 2010, 02:42:51 PM
I am currently working on a project to allow quadriplegics with limited head motion to control a powered wheelchair. Imagine my joy when I saw a wiimote could be used for head tracking! Johnny's program is awesome, but the only part I really need is the ir tracking. Could anyone help me by pointing out which parts of the program are the bare minimum for tracking? Not really familiar with C#. Any help would be amazing, and it's for a good cause!  :D
Thanks so much.



Offline jmitchell

  • *
  • Posts: 78
  • Karma: +5/-0
    • View Profile
    • penteractive.us
Reply #1 on: January 12, 2010, 05:48:07 PM
What if you could use the accelerometers in the wiimote in conjunction with a program like Wiimote Presenter? The program allows for the programming of the motion of the wiimote and the source code is available. Perhaps creating a hat that can hold the wiimote and the head motions trigger the movement of the wheelchair. There are a host of other things that could be programmed with such an application. The creator granted me permission to distribute Wiimote Presenter as a packaged program.

Get it from - http://penteractive.us/wp-content/uploads/2009/07/wiimotepresenter_setup.exe

Note that you will need to make sure that .Net Framework 3.5 is installed before the application will work correctly.

Best of luck with your project!

Wiimote Whiteboard Expert and seller - http://penteractive.us


Offline boonjin

  • *
  • Posts: 929
  • Karma: +28/-0
  • Smoothboard Developer
    • View Profile
    • Smoothboard
Reply #2 on: January 12, 2010, 08:54:49 PM
I am currently working on a project to allow quadriplegics with limited head motion to control a powered wheelchair. Imagine my joy when I saw a wiimote could be used for head tracking! Johnny's program is awesome, but the only part I really need is the ir tracking. Could anyone help me by pointing out which parts of the program are the bare minimum for tracking? Not really familiar with C#. Any help would be amazing, and it's for a good cause!  :D
Thanks so much.

Hi,

There are several ways to control the motion of the wheelchair. Head Tracking on the usual sense may not be suitable here as head tracking normally uses as stationary capture device such as video cameraa or the Wiimote to capture the head position in a fixed 3-dimensional volume. However, the wheelchair user may be moving around in a large area and even outdoors.

For the case of allowing quadriplegics to control the wheelchair, using the head orientation may be suitable. As the Wiimote is quite bulky, attaching it directly to the quadriplegic user may not be viable. If needed, you may have to rip apart and rewire the Wiimote to utilize the accelerometers to be fixed on the user. Alternatively, you can use a nunchuk that is connected to a Wiimote. As the form-factor of the nunchuk is more compact, it would be easier to attach it to the user after removing the nunchuk's casing.

To get started, I would suggest using GlovePIE as it readily gives the orientations of the Wiimote. For C#, I would suggest to directly use Brian Peek's WiimoteLib Test/Demo application to start. This is because the demo application provides most of the input received by the Wiimote especially regarding the orientation of the Wiimote which you would require.

A non-obstrusive solution can be done by fixing the Wiimote to the wheelchair and facing the Wiimote to the user. On the user's head (on a hat, sticked on or on the spectacles), you can place the IR LED. If only a single IR LED is used with a single Wiimote, you will not be able to obtain the orientation or the 3D position of the head.

An issue for tracking with the use of IR is that when in outdoors or uncontrolled environments, potentially there will be stray IR sources from sun lights and lamps.

For a beginner's guide, I would suggest you to get the Coding4Fun book written by Dan Fernandez and Brian Peek
Coding4fun: 10 .Net Programming Projects for Wiimote, Youtube, World of ...

Regards,
Boon Jin
« Last Edit: January 12, 2010, 09:03:51 PM by boonjin »

Smoothboard
Wii Whiteboard/Wiimote Whiteboard with annotation features and collaborate with multiple iPads and Android Tablets!

Smoothboard for Mac
Using a Mac? Now you can annotate on PowerPoint or Keynote slideshows!

BoonJin[/url


Offline etheist

  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Reply #3 on: January 15, 2010, 08:57:03 PM
Thanks so much, you both have helped out tremendously already! When the project is done I'll submit a video of the working system.

Thanks again!