Howto:Wii Remote Head Tracking: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(+rel: Head tracking; Minor cleanup)
Line 1: Line 1:
So, I would like to do head tracking with a Wii Remote and flightgear. Today I bought a Wii Lego Remote for $29.99 from Walmart.
So, I would like to do '''head tracking with a Wii Remote''' and flightgear. Today I bought a Wii Lego Remote for $29.99 from Walmart.
Tomorrow I will buy two High-Output Infrared LEDs catalog #276-143 from Radio Shack. Right now this page is just a blog tracking my progress.
Tomorrow I will buy two High-Output Infrared LEDs catalog #276-143 from Radio Shack.


= Hardware Required =
{{note|Right now this page is just a blog tracking my progress.}}
 
== Hardware Required ==
* Wii Remote $29.99
* Wii Remote $29.99
* High-Output Infrared LEDs catalog #276-143 from Radio Shack $2.20x2 $4.40
* High-Output Infrared LEDs catalog #276-143 from Radio Shack $2.20x2 $4.40
Line 8: Line 10:
* Some LED flashlight glasses ~$20
* Some LED flashlight glasses ~$20


= Software Required =
== Software Required ==
I decided to start with linux-track. I pulled the SVN head sources, but had ./configure errors until I updated my gobjc package to 4.6. Apparently 4.2 either was not sufficient or had bit-rotted away. There was a problem with recursive includes in linux-track-read-only/src/tests/webcam_driver_test.c. I had to install the following debian packages libbluetooth-dev libbluetooth3 libcwiid-dev libcwiid1
I decided to start with linux-track. I pulled the SVN head sources, but had ./configure errors until I updated my gobjc package to 4.6. Apparently 4.2 either was not sufficient or had bit-rotted away. There was a problem with recursive includes in linux-track-read-only/src/tests/webcam_driver_test.c. I had to install the following debian packages libbluetooth-dev libbluetooth3 libcwiid-dev libcwiid1


Line 14: Line 16:


$ LD_LIBRARY_PATH=src/.libs/ ./src/qt_gui/ltr_gui
$ LD_LIBRARY_PATH=src/.libs/ ./src/qt_gui/ltr_gui


* http://code.google.com/p/linux-track/
* http://code.google.com/p/linux-track/
Line 25: Line 26:


Or
Or
*https://github.com/ralph-glass/headtrack
 
*https://github.com/ralph-glass/headtrack
* https://github.com/ralph-glass/headtrack
* https://github.com/ralph-glass/headtrack


Or
Or
*http://www.gidenstam.org/FlightGear/HeadTracking/
 
* http://www.gidenstam.org/FlightGear/HeadTracking/
 
== Related content ==
* [[Head tracking]]


[[Category:Software]]
[[Category:Software]]

Revision as of 19:27, 30 May 2016

So, I would like to do head tracking with a Wii Remote and flightgear. Today I bought a Wii Lego Remote for $29.99 from Walmart. Tomorrow I will buy two High-Output Infrared LEDs catalog #276-143 from Radio Shack.

Note  Right now this page is just a blog tracking my progress.

Hardware Required

  • Wii Remote $29.99
  • High-Output Infrared LEDs catalog #276-143 from Radio Shack $2.20x2 $4.40
  • A blue tooth USB dongle ~$20
  • Some LED flashlight glasses ~$20

Software Required

I decided to start with linux-track. I pulled the SVN head sources, but had ./configure errors until I updated my gobjc package to 4.6. Apparently 4.2 either was not sufficient or had bit-rotted away. There was a problem with recursive includes in linux-track-read-only/src/tests/webcam_driver_test.c. I had to install the following debian packages libbluetooth-dev libbluetooth3 libcwiid-dev libcwiid1

First launch required LD_LIBRARY_PATH since it uses shared libraries. For some silly reason they put them in a hidden directory.

$ LD_LIBRARY_PATH=src/.libs/ ./src/qt_gui/ltr_gui

But there are also a few other projects to consider:

Or

Or

Related content