Wiimote Project » General Wiimote and Technology » Programmers Den » WiiMoteLib update for 4 IR sources
: [1]
   
: WiiMoteLib update for 4 IR sources  ( 9296 )
0 and 1 Guest are viewing this topic.
*
Karma: +3/-0
: 36
Offline Offline
« : January 28, 2008, 05:06:33 PM »

Hi all,

I've modified the WiimoteLib to support up to 4 points instead of the 2 IR dots the original library tracked.
Could be used for doing 6DOF headtracking like http://idav.ucdavis.edu/~okreylos/ResDev/Wiimote/index.html on windows :P
I attached the source..

The RawMidX/Y & MidX/Y as now done very ugly, that still needs to be modified.. sorry about that.. you could just delete the first 2 if's which does the 3 and 4 point avarage.. doesn't always work correctly when 1 of the ir leds go out of screen..


« : January 28, 2008, 05:18:52 PM Helza »
Guru
*
Karma: +11/-1
: 137
Offline Offline
« #1 : January 28, 2008, 05:08:31 PM »

wow great, gonna try it first thing tomorrow;)
*
Karma: +3/-0
: 36
Offline Offline
« #2 : January 29, 2008, 05:23:52 PM »

Lol, Brain Peek just released version 1.2.1 of the WiimoteLib, the change? he added 4 dot support :)
http://www.brianpeek.com/forums/t/783.aspx

download from codeplex: http://www.codeplex.com/WiimoteLib
Administrator
Site Admin
*
Karma: +18/-0
: 441
Offline Offline
« #3 : February 01, 2008, 12:31:54 PM »

Lol, Brain Peek just released version 1.2.1 of the WiimoteLib, the change? he added 4 dot support :)
http://www.brianpeek.com/forums/t/783.aspx

download from codeplex: http://www.codeplex.com/WiimoteLib


We like your version better :)

Dice

*
Karma: +3/-0
: 36
Offline Offline
« #4 : February 01, 2008, 01:09:55 PM »

 :D

Well its positive that he's working on it, hopefully the next release won't take that long :)
*
Karma: +3/-0
: 36
Offline Offline
« #5 : February 04, 2008, 02:31:59 AM »

I hacked together the wii test application to send TUIO messages.. but still having some problems
http://www.wiimoteproject.com/index.php?topic=288.0

although i suspect the tuio flash application (OSC server) to not follow the tuio specs..

*
Karma: +1/-0
: 20
Offline Offline
« #6 : February 04, 2008, 09:15:22 PM »

Thats quite nice, but your IR information is backwards either on x or y axis (I think anyway). When I move left it goes to the right, but when up it goes up. Is that supposed to be that way (seems right if were looking in a mirror I guess). Maybe I'm nuts. ramble ramble ramble.
*
Karma: +3/-0
: 36
Offline Offline
« #7 : February 05, 2008, 02:36:33 AM »

Do you mean the wiimotelib or my test application wiituio? ( :)
Because the 4 point should work without any problems. However you'll need to use the wiiwhiteboard software or other program which uses the calibration function to switch the points around.

Unless you place the camera behind the IR source instead of in front the axis will be inverted. Thats the great thing about Johnny lee's software, he has a neet little calibration function which doesn't care at what angle/upside down or whatever the points are ;)
 

: [1]
   
 
:  

Clicky Web Analytics