Wiimote Project

General Wiimote and Technology => General Hardware Talk => Topic started by: KeepKool on July 07, 2008, 09:28:51 AM

Title: Can I make any assumption on the IR tracked dots list order ?
Post by: KeepKool on July 07, 2008, 09:28:51 AM
Does the way the list of the (up to 4) tracked IR dots is returned by the library/wiimote follows any logic ?
Can I make any assumption like :

-- the wiimote tries to track them like keeping first found first in the list ?
or
-- they get sorted from left to right then top to bottom in the camera image ?
or
-- they are sorted by decreasing size
or
-- cannot make any assumtion, can be totally random, with a potential flip every frame...

Does the library/wiimote have any internal state that makes it remember a previous found dot to assign it again the same order.
Title: Re: Can I make any assumption on the IR tracked dots list order ?
Post by: KeepKool on July 10, 2008, 12:25:32 PM
The wiimote seems to keep good track of the IR Dots. Even when moving or rotating very fast.
They don’t get mixed and keep quite well their ordering as raw output from the WIIMOTE.
The first DOT that appears gets position 0 , next 1 , next 2, next 3 .
If 2 appear simultaneously, one cannot make an assumption on their assignment.