Results 1 to 2 of 2

Thread: IRs out of bounds

  1. #1


    I'm reading the first two IR LED's from Osculator and with this two LED's I calculate the average and use this average as a cursor point. My problem is when I move the wii mote horitzontally and one of this IR's arrive to it's bound (0 or 1) this jumps again to a random point x in the screen. May be is because I'm only using 2 LED points? There's any way to know that this point is out of it's bounds? Like send/read -1 or something on the X pos. On the Y axis seems to work fine.



  2. #2

    Hi Aleix,

    The size parameter of a IR point is 0 when the point is not available.

    Tip: In the Wiimote drawer, if you check "IR" instead of "Raw IR" you will get a ready to use x/y virtual cursor, so you won't need any further calculations..



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts