Author Topic: Can I make any assumption on the IR tracked dots list order ?  (Read 5684 times)

Offline KeepKool

  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
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.



Offline KeepKool

  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
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.