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.
IndexProcessing DevelopmentLibraries,  Tool Development › wrj4P5, WiiRemote P5 Library - Alpha
Pages: 1 ... 3 4 5 6 7 ... 16
wrj4P5, WiiRemote P5 Library - Alpha (Read 93298 times)
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #60 - Jan 26th, 2008, 4:57pm
 
Hi Classiclll.

JRE is 1.6
BlueCove  2.0.2
WiiremoteJ v1.2
Wrj4P5 alpha-004

The problem with bluesoleil on wiili.org is fixed with the WIDCOMM driver. Now i try it, but it seems a bit complicatet...
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #61 - Jan 26th, 2008, 5:50pm
 
YEEHAW, i did it!

it works!
i deinstall bluesoleil and install the Widcomm driver.

I use this:
http://www.dev-hack.com/pafiledb/index.php?act=view&id=2

Thank you Classiclll
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #62 - Jan 27th, 2008, 2:45am
 
thank you for your feedback, kspksp.
i hope you enjoy.
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #63 - Jan 27th, 2008, 10:03pm
 
Hi Classiclll,

I hope everything is ok for you.

I am back at experimenting with the wiimote. There is something that I don't get. I can't manage to know the position of the wiimote. The 'senced' property only gives a value from -1 to 1. You can't tell if you are on the top or bottom, as they have the same value.

top to right --> 0.0 to -1.0
bottom to right --> 0.0 to -1.0

Also in your documentation you talk about vel and pos but   when I try to use them (wii.rimokon.vel.x) processing tell me that:

Semantic Error: No accessible field named "vel" was found in type "lll.wrj4P5.WiiRimokon".

Is there a way to know the wiimote position, like roll or pitch? In simpler word how do you know how the wiimote is positioned.

A part from that I still have my resolution limitation, can't have a size biger than 600x600 if I don't want it to be slow. But something great, now I don't have to press 1&2 to disconnect the wiimote before closing, wich was making me to reboot to make bluecove work again. That makes thing a lot easier.

bye.
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #64 - Jan 28th, 2008, 3:29pm
 
hi TM.

TM wrote on Jan 27th, 2008, 10:03pm:
I can't manage to know the position of the wiimote. The 'senced' property only gives a value from -1 to 1.  You can't tell if you are on the top or bottom, as they have the same value.

top to right --> 0.0 to -1.0
bottom to right --> 0.0 to -1.0

is your interest some mapping from the remote's state to the 2D location
i'm trying to estimate the 3D position of the remote without IRs. but i have not gotten any good result.
('sensed' is also avairable, now, ... TM)

TM wrote on Jan 27th, 2008, 10:03pm:
Also in your documentation you talk about vel and pos but   when I try to use them (wii.rimokon.vel.x) processing tell me that:

Semantic Error: No accessible field named "vel" was found in type "lll.wrj4P5.WiiRimokon".

so i can't impliment the vel of a rimokon, yet. (still private)

TM wrote on Jan 27th, 2008, 10:03pm:
Is there a way to know the wiimote position, like roll or pitch In simpler word how do you know how the wiimote is positioned.

if you want the 2D mapping, i can set up the mappings implimented in WiiremoteJ into Wrj4P5. (roll/pitch to 2D, IR_Spot to 2D, joystick to 2D, etc.)
but i think you can impliment the similar functinality on P5.
on the other hand, for 3D mapping, please wait for a while.
(but i can't promise the completion)
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #65 - Jan 28th, 2008, 4:13pm
 
Ha ok,

Didn't understood everything but I will wait then. What I wanted to know is how to know where you are on the x axe. So I was not talking about the position in 3D space but how far you are on the X axe. Like right or left side, battery side or buttons side.

I thought that roll and pitch were used for this, at least in Glovepie and in the wiiremotej.jar documentation.

Anyway, thanks for your time and I will manage until your future release.

Thanks again.
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #66 - Feb 3rd, 2008, 3:15pm
 
TM

if you need the value of roll and/or pitch, followings give a good estimation under the stable condition.
 roll = asin(x of acceleration)
 pitch = asin(y of acceleration)
see
http://www.wiili.org/index.php/Motion_analysis#Tilt_Position_Sensing

but if you do a bat swing, they have large error to be roll/pitch.
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #67 - Feb 3rd, 2008, 4:08pm
 
Thanks!
I going to read this and try asin.
Thanks a lot.
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #68 - Feb 12th, 2008, 4:30pm
 
Guys, I Installed wrj4P5 on my Mac (Intel), and it fails in a curious way.

When I try to start the application, it says "Compiler error", and redirects me to the Processing Bugs page. It happens every time I try to run anything that includes wrj4P5.

Anyone had a similar problem?
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #69 - Feb 16th, 2008, 1:14am
 
hi merlin.the

what jre version do you use?
use latest builtin jre for apple.
WiiremoteJ needs jre 1.5+.

see magpieindustries's post and followings
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=os_libraries_tools;action=display;num=1186928645;start=15
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #70 - Feb 26th, 2008, 6:51pm
 
hello
I'm trying to use wrj4P5 on a computer under xp
java 1.6
bluecove-2.0.2.jar
Loc.jar
wrj4P5.jar
WiiRemoteJ v1.2

I've tryied both with bluesoleil and WidComm , the result is the same :
with the exemple sketch
http://www.geocities.jp/classiclll_newweb/Acceleration/applet/index.html

there are no erors, but the sketch stay at the "trying to find a wii" stage, even I push the 1 and 2 buttons, or the red  syncro button.

in widCom, the wii is registred, but appears alternatively connected or not.
in bluesoleil, wii is totaly recognised; I'd tried both with and without connecting the mouse service in bluesoleil...

the result is everytime the same.

maybe the problem is coming from my bluetooth dongle ?
it's an usb Cambridge Silicon Radio (logilink)

thanks
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #71 - Feb 27th, 2008, 5:00pm
 
hi driko

bluecove+bluesoleil might have some trouble, see
http://www.wiili.org/forum/does-anyone-have-success-with-bluecove-and-blue-soleil-t3597.html

or try avetana(14days free)


on the other hand, bluecove+widcomm might run well, try WiiremoteJ v1.3
http://www.wiili.org/forum/wiiremotej-13-released-t3588.html

..... or another dongle .... sorry no idea.
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #72 - Mar 2nd, 2008, 3:02pm
 
WiiRemoteJ 1.3 is released from Cha0s !
http://www.wiili.org/forum/wiiremotej-13-released-t3588.html

- fixed some bugs
- allow for users to create "fake" WiiRemotes for testing things
   (for writing an event-generating program)
- allows user-customizable IR sensitivity settings

and all sample sketches of Wrj4P5 are run well.
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #73 - Mar 9th, 2008, 1:55pm
 
new sample sketch
(mapping a cyclic-quadrilateral to a rectangle.)

the logic emulation of Jonny Cung Lee's lowcost Whiteboard
http://www.geocities.jp/classiclll_newweb/JonnyLeesBoardEmulator/applet/index.html

it is not a sample of Wrj4P5.
but, when i have made my two irPens, i will get a lowcost multi touch screen.

*when you start this applet, image the cyclic quadrilateral on your camera.
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #74 - Mar 17th, 2008, 5:35pm
 
Hi,

I like your experiments, I watched also videos from Johnny Cung Lee`s page and they are very interesting.

I would like to experiment with Wii and Processing, and I have question:
Which hardware I need to buy? I havent Wii console, and I want to buy only hardware for experiments, like Wii remote or controller.
Does it need batteries? or some docking? Do I need infrared panel?
I would like to experiment with Johnny Lee`s projects in processing enviroment.

Thank you,
stones
Pages: 1 ... 3 4 5 6 7 ... 16