We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › processing and Wii Controller!
Page Index Toggle Pages: 1
processing and Wii Controller! (Read 2560 times)
processing and Wii Controller!
Feb 10th, 2009, 1:13am
 
Hi there.
I am working on an installation and after a research I've made I'll propably use the Wii remote controller as an interface of interaction.
One main aim of the project is as the user points the wii remote and moves it in x,y and z axis to get feedback of the position of it in the room.
As I saw I can use a Wiii Sensor bar (1or more) and the wrj4P5, WiiRemote P5 Library.
My question is, will the library return me values of the x,y,z ayis as they change while the user moves the wii remote form left to right or from bottom to top?
Thanks in advance!
Re: processing and Wii Controller!
Reply #1 - Feb 10th, 2009, 3:42am
 
hi nikolasgr

my previous work is detecting 2d position of an irLed on a screen by the translation from a a quadrilateral to a rectangle with one remote.
like jonney lee's low cost whiteboard
http://www.geocities.jp/classiclll_newweb/JonnyLeesBoardEmulator/applet/index.html

i'm working a project detecting the 3d position of an irLed by the traiangular analysis of two remotes.
like
http://www.youtube.com/watch?gl=JP&hl=ja&v=CT6aQN-lwmo

it is easy to analyse with the known position of two remotes.
but, it is rather hard to estimate/caliblate the position of two remotes.
the first sketch will be published in a few weeks.
the second sketch will be published ina 4 or more weeks.

is my project useful for you?
Re: processing and Wii Controller!
Reply #2 - Feb 11th, 2009, 4:59am
 
Hi again!

Yes I got many new information that will help me with my project.
The basic aim is to move the wii controller or a led in the finger and to have the exact position of it in x,y and z ayis. That means on the horizontal and on the vertical dimension.
I found it very interesting to install two wii remotes and just to move a led in the room and track it. Can I  somehow get the exact position of the led in the space in relation to the (0,0) point of the horizontal (x) and vertical (z) axis?
I need to now the angle between the(0,0)in both xy and z axis and the led(or wii remote).
I just made my own wii sensor bar and I own a wii controller too. I can not find the library "wrj4P5", that makes possible the connection between wii remote and processing anywhere for download.
And are any examples available where I can make some experiments and see how it works?
Thanks!
Re: processing and Wii Controller!
Reply #3 - Feb 11th, 2009, 7:09am
 
nikolasgr wrote on Feb 11th, 2009, 4:59am:
The basic aim is to move the wii controller or a led in the finger and to have the exact position of it in x,y and z ayis. That means on the horizontal and on the vertical dimension.
i don't know the exactness you need is.
the ircamera of a remote has 1024x768 precision. it will be correspond to exactness, and it's focal distance, view angular, too.
my project has not so much interest on the exactness. but some experimentation may give you the value of these parameters.

nikolasgr wrote on Feb 11th, 2009, 4:59am:
Can I  somehow get the exact position of the led in the space in relation to the (0,0) point of the horizontal (x) and vertical (z) axis
I need to now the angle between the(0,0)in both xy and z axis and the led(or wii remote).
yes you can get (x,y,z) on the orthogonal coordination, and you can set the origin at arbitrary location in a room space with the ordinary translation and scaling.
btw. does your "angle" mean the angle between the irLed's location vector and each axis  if so, of course yes.

nikolasgr wrote on Feb 11th, 2009, 4:59am:
I can not find the library "wrj4P5", that makes possible the connection between wii remote and processing anywhere for download.
And are any examples available where I can make some experiments and see how it works
i'm sorry for no request to the P5 team for publishing my lib, and i'll do after some preparations.
currently, you can download and/or read reference from
http://sourceforge.jp/projects/wrj4p5/

for the install process, the following was published with some english native guy.
http://www.brockcraft.com/category/wiimote-work/

not only wrj4p5 but my all sketches, the following are my scrap yard.
http://www.geocities.jp/classiclll_newweb/

and finally
the following is my (japanese) blog page mentioning this topic.
http://blogs.yahoo.co.jp/classiclll_jp/53179001.html

i hope these are help for you.
Re: processing and Wii Controller!
Reply #4 - Feb 12th, 2009, 8:23pm
 
Really Thanks a lot for your answer!
I willl check them out and I will make a post again...

Re: processing and Wii Controller!
Reply #5 - Feb 28th, 2009, 4:40am
 
nikolasgr
i'm in a trouble with two remotes usage on P5 1.0+.
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=os_libraries_tools;action=display;num=1186928645;start=183#183

pls wait for a while.
Re: processing and Wii Controller!
Reply #6 - May 5th, 2009, 10:14pm
 
hi nikolasgr
sorry for late. (are you here?)

although intermediate result, the 3D real pointer is here
http://www.geocities.jp/classiclll_newweb/realIR3D/applet/index.html

this sketch needs the newest libs, wrj4P5, Loc, l4p5
https://sourceforge.jp/projects/wrj4p5

next, i will try to estimate the attitudes of two remotes by some refference position.
Page Index Toggle Pages: 1