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 ... 14 15 16 
wrj4P5, WiiRemote P5 Library - Alpha (Read 93300 times)
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #225 - Nov 28th, 2009, 10:05pm
 
great! so now i have no more errors in processing. but no results since i get

BlueCove version 2.1.0 on bluesoleil
trying to find a wii

while this is happening, should i have connected to my hardware already using bluesoleil? or not connect? and also do i press "1 + 2" together so that the wii looks for a computer?

thanks again for all your help
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #226 - Nov 28th, 2009, 10:15pm
 
to add to the above:

press 1+2 together so wiimote is flashing and i run the code and still saying:

BlueCove version 2.1.0 on bluesoleil
trying to find a wii
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #227 - Nov 28th, 2009, 11:19pm
 
bluesoleil doesn't support the L2CAP (BT protocol, WiiremoteJ uses).
pls use a dongle with the WIDCOMM stack on Win.
see
http://code.google.com/p/bluecove/wiki/stacks
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #228 - Nov 29th, 2009, 9:17am
 
i feel like i am so close...

i uninstalled bluesoleil and installed latest widcomm drivers. when i run the code i get:

BlueCove version 2.1.0 on winsock
trying to find a wii

i was reading on the link you gave me that

"If multiple stacks are detected they are selected in following order: "winsock", "widcomm", "bluesoleil". Since BlueCove v2.0.1 "bluecove.stack.first" will alter the order of stack selection. "

How do i make it so that widcomm is select first?

thanks again, you have been so helpful
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #229 - Nov 29th, 2009, 11:08pm
 
set flags -Dbluecove.stack.first=widcomm
for your Java application start
and the following link may help you
http://esync.de/projects/etom/faq
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #230 - Jan 17th, 2010, 2:59am
 
Hello classic!
How is it going I finally finished the research paper. The sketch that works with the wii didn't turn out like I wanted to... I finally did it only with accelerometers and not with the IRleds, because as you said it has a strong limitation of usage. But there's something that still do not like me too much and I don't know if there's a sollution.

When you rotate the WiiRemote it results like both a rotation and a movement in the X axis, and if the object follows these values it moves horizontally when in fact it should only rotate.

Also I have problems with the object when is controlled by the WiiRemote. In the impacts beetwen objects these objects actually cross each other.

However, I don't want to bother you about the small problems I'm still having but simply to thank you for your support. I have aknowledge you in my research paper. You can read it but you won't probably understand much, because it's in Catalan... : http://www.scribd.com/doc/25017231/Disseny-i-implementacio-d-un-sistema-interact...

And also I have added the sketch that works with the keyboard and mouse, see if you like it. You will probably understand why I wanted to use the WiiRemote: http://www.openprocessing.org/visuals/?visualID=6761

So thanks again for your support.
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #231 - Jan 19th, 2010, 8:00pm
 
hi SuGu14
SuGu14 wrote on Jan 17th, 2010, 2:59am:
How is it going I finally finished the research paper. The sketch that works with the wii didn't turn out like I wanted to... I finally did it only with accelerometers and not with the IRleds, because as you said it has a strong limitation of usage. But there's something that still do not like me too much and I don't know if there's a sollution.

ok, i'm working on the WMP inplimentation. it will take not a short time.
the accelometer value is moveing_force+gravity_force. so it is very sensitive to detect precise move. wiiremokon has the stablePith() and stableRoll() that returns the pitch and roll estimation in the gentle move.
SuGu14 wrote on Jan 17th, 2010, 2:59am:
Also I have problems with the object when is controlled by the WiiRemote. In the impacts beetwen objects these objects actually cross each other.

that may be from the asynchronized(threaded) button event. these event processing methods will run concurrently with draw() process.

anyway, i'm grad to hear your publication.
these feedback is always my fun, even if in Catalan...

thank you!
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #232 - Jan 20th, 2010, 2:50pm
 
Dear All,

I've got following setup:
- Belkin F8T012 bluetooth dongle
- Ubuntu 9.10
- AvetanaBluetooth lib compiled from sourceforge.net/projects/avetanabt/files/ (avetanabt-20070719.tgz)
- WiiRemote v1.6 , world-of-cha0s.hostrocket.com/WiiRemoteJ/
- Wrj4P5, Loc and l4P5 , sourceforge.jp/projects/wrj4p5/releases/
- BlueZ, libbluetooth3, libbluetooth-dev, bluetooth 4.51-0ubuntu2

I first confirmed that the hardware works fine by running WmGUI successfully ( allmyapps.com/app/ubuntu-9.04/wmgui ).

I then downloaded MyFirstWii example from geocities.jp/classiclll_newweb/ , put all the necessary libraries and tried to run it.

After pressing the run button, in the console I see

  avetanaBluetooth version 1.3.17
  trying to find a wii

,and the bluetooth dongle blinks. I press 1+2 buttons on a wii remote, and after few seconds the program holds with the following error message

Code:
Exception in thread "Thread-4" java.lang.UnsatisfiedLinkError: de.avetana.bluetooth.stack.BlueZ.cancelInquiry()V
at de.avetana.bluetooth.stack.BlueZ.cancelInquiry(Native Method)
at javax.bluetooth.DiscoveryAgent.cancelInquiry(DiscoveryAgent.java:265)
at wiiremotej.WiiDeviceDiscoverer.deviceDiscovered(WiiDeviceDiscoverer.java:89)
at javax.bluetooth.DiscoveryAgent.deviceDiscovered(DiscoveryAgent.java:284)
at de.avetana.bluetooth.stack.BlueZ.hciInquiry(Native Method)
at javax.bluetooth.DiscoveryAgent$1.run(DiscoveryAgent.java:208)
at edu.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Thread.java:619)


Any ideas what might be wrong ?

Those are the things I tried:
- use free evaluation of avetanaBluetooth.jar
- use BlueZ libraries (including renaming them to avetanaBluetooth.jar)
- use WiiRemote 1.5 / 1.6 / beta

Thanks,
* jcz
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #233 - Jan 20th, 2010, 2:51pm
 
Dear All,

I've got following setup:
- Belkin F8T012 bluetooth dongle
- Ubuntu 9.10
- AvetanaBluetooth lib compiled from sourceforge.net/projects/avetanabt/files/ (avetanabt-20070719.tgz)
- WiiRemote v1.6 , world-of-cha0s.hostrocket.com/WiiRemoteJ/
- Wrj4P5, Loc and l4P5 , sourceforge.jp/projects/wrj4p5/releases/
- BlueZ, libbluetooth3, libbluetooth-dev, bluetooth 4.51-0ubuntu2

I first confirmed that the hardware works fine by running WmGUI successfully ( allmyapps.com/app/ubuntu-9.04/wmgui ).

I then downloaded MyFirstWii example from geocities.jp/classiclll_newweb/ , put all the necessary libraries and tried to run it.

After pressing the run button, in the console I see

  avetanaBluetooth version 1.3.17
  trying to find a wii

,and the bluetooth dongle blinks. I press 1+2 buttons on a wii remote, and after few seconds the program holds with the following error message

Code:
Exception in thread "Thread-4" java.lang.UnsatisfiedLinkError: de.avetana.bluetooth.stack.BlueZ.cancelInquiry()V
at de.avetana.bluetooth.stack.BlueZ.cancelInquiry(Native Method)
at javax.bluetooth.DiscoveryAgent.cancelInquiry(DiscoveryAgent.java:265)
at wiiremotej.WiiDeviceDiscoverer.deviceDiscovered(WiiDeviceDiscoverer.java:89)
at javax.bluetooth.DiscoveryAgent.deviceDiscovered(DiscoveryAgent.java:284)
at de.avetana.bluetooth.stack.BlueZ.hciInquiry(Native Method)
at javax.bluetooth.DiscoveryAgent$1.run(DiscoveryAgent.java:208)
at edu.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
at java.lang.Thread.run(Thread.java:619)


Any ideas what might be wrong ?

Those are the things I tried:
- use free evaluation of avetanaBluetooth.jar
- use BlueZ libraries (including renaming them to avetanaBluetooth.jar)
- use WiiRemote 1.5 / 1.6 / beta

Thanks,
* jcz
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #234 - Jan 20th, 2010, 5:20pm
 
hi jcz
i have no linux pc, so not enough information.
i hope the following link help you, although ubuntu8+bluecove(not avetana)
http://www.mattvenn.net/2009/11/20/processing-wiimote-wrj4p5-graffiti/
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #235 - Jan 21st, 2010, 10:26am
 
Classiclll wrote on Jan 20th, 2010, 5:20pm:
hi jcz
i hope the following link help you, although ubuntu8+bluecove(not avetana)
mattvenn.net/2009/11/20/processing-wiimote-wrj4p5-graffiti/


yes ! That's it. It works like a charm. Thanks.
* jcz
Re: wrj4P5, WiiRemote P5 Library - Alpha
Reply #236 - Jan 22nd, 2010, 4:31am
 
i'm grad to hear that. hope you enjoy.
Pages: 1 ... 14 15 16