Author Topic: XY and possibly Z  (Read 9023 times)

Offline megapixel

  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
on: May 24, 2011, 04:50:16 AM
Working on my project to track an actor on stage.
But I need to get the program to output co-ordinates.
Any ideas?

Offline shakespeare1212

  • *
  • Posts: 97
  • Karma: +0/-0
  • The soul of Dr. Nuclear
    • View Profile
    • Whalebone IR and Software
Reply #1 on: May 26, 2011, 01:24:46 AM
If you are a programmer Download and install with Wiimotelib programming libraries. Find the sections of the code that grab the coodinates that you are looking for and report them, to... a file, a larger shell program that you write, or what have you. You probably want to let the program normalize them for you, that is let the calibration math happen and get the screen coordinates and not the raw coordinates. You may also need to erase a LOT of other code if you don't want the program to draw anything for you. Read through all of the interesting posts in the "programmer's den" here in this board.

Good luck.

James Mclain
Owner and Creator of
Whalebone IR and Software

or view and buy our products on ebay:   Search for IR pen or products by shakespeare1212.