| View previous topic :: View next topic |
| Author |
Message |
Classiclll
Joined: 10 Feb 2007 Posts: 85 Location: Japan
Digg It |
Posted: Fri Mar 28, 2008 6:47 pm Post subject: |
|
|
>turboconnard
irLights[] have take 0 to 1, or -1 for each axis.
i have not encounterd that value -0.504....
what is your OS, and BT stack?
if you can try the newest bluecove, pls try it and post the result. _________________ Classiclll |
|
| Back to top |
|
 |
turboconnard

Joined: 25 Mar 2008 Posts: 8
Digg It |
Posted: Wed Apr 02, 2008 5:39 pm Post subject: |
|
|
yo, Classiclll
I'm on ubuntu Gutsy Gibbon and I use AvetanaBT...
sorry for the lately answer I was'nt there... |
|
| Back to top |
|
 |
Classiclll
Joined: 10 Feb 2007 Posts: 85 Location: Japan
Digg It |
Posted: Thu Apr 03, 2008 1:42 pm Post subject: |
|
|
hi turboconnard.
i've not so many informations around LINUX environments.
have you try to run the WRLImpl.java, the sample of WiiremoteJ?
(removeing comments some codes of "public void IRInputReceived(WRIREvent evt)") _________________ Classiclll |
|
| Back to top |
|
 |
turboconnard

Joined: 25 Mar 2008 Posts: 8
Digg It |
Posted: Sun Apr 06, 2008 10:22 am Post subject: |
|
|
Hi Classiclll
I try the WRLImpl.java and it works fine...
I just have enormous lags if I try in a 800x600 resolution. If I press a button it can take 1 minute to have the callback in the console and the graph goes slowly with lag too.
My ubuntu run on a oldschool pc so I have to modify the WRLImpl.java to an 200x150 resolution and it works fine.
Here's the console output...
| Code: |
avetanaBluetooth version 1.3.17
6 avr. 2008 10:19:49 wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FIN: Found SGH-E860V (00124795DF55)
6 avr. 2008 10:19:50 wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FIN: SGH-E860V is NOT a WiiRemote.
6 avr. 2008 10:19:50 wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FIN: Found Nintendo RVL-CNT-01 (001DBC3B40B9)
6 avr. 2008 10:19:50 wiiremotej.WiiRemoteDiscoverer deviceDiscovered
FIN: Nintendo RVL-CNT-01 is a WiiRemote.
6 avr. 2008 10:19:51 wiiremotej.WiiRemote construct
INFO: btl2cap://001DBC3B40B9
6 avr. 2008 10:19:52 wiiremotej.WiiRemote calibrateAccelerometer
PLUS FIN: Calibrating accelerometer...
6 avr. 2008 10:19:52 wiiremotej.WiiRemote construct
PLUS FIN: Initialization complete.
Buffering audio file...
6 avr. 2008 10:19:52 wiiremotej.WiiRemote$1 run
LE PLUS FIN: Data write finished.
6 avr. 2008 10:19:52 wiiremotej.WiiRemote$1 run
LE PLUS FIN: Data write finished.
6 avr. 2008 10:19:52 wiiremotej.WiiRemote$1 run
LE PLUS FIN: Data write finished.
java.io.FileNotFoundException: Audio.au (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at com.sun.media.sound.WaveFileReader.getAudioInputStream(WaveFileReader.java:205)
at javax.sound.sampled.AudioSystem.getAudioInputStream(AudioSystem.java:1162)
at WRLImpl.main(WRLImpl.java:148)
X: 0.39002932551319647
Y: 0.455019556714472
X: 0.48191593352883677
Y: 0.4758800521512386
X: 0.4222873900293255
Y: 0.4511082138200782
X: 0.3313782991202346
Y: 0.42894393741851367
|
|
|
| Back to top |
|
 |
Classiclll
Joined: 10 Feb 2007 Posts: 85 Location: Japan
Digg It |
Posted: Sat Apr 12, 2008 4:12 am Post subject: |
|
|
hi turboconnard. sorry for late reply.
i think the problem is between your os and jsr82/java other than wrj4p5.
can you run the sketch on small screen (ex. 200x200)?
on my mac(10.4.11), the sketch runs well with the size 1024x768.
i can't give you any useful suggestion. sorry
can someone solve this problem? _________________ Classiclll |
|
| Back to top |
|
 |
Classiclll
Joined: 10 Feb 2007 Posts: 85 Location: Japan
Digg It |
|
| Back to top |
|
 |
aleixOnion
Joined: 27 May 2008 Posts: 1
Digg It |
Posted: Tue May 27, 2008 8:03 pm Post subject: |
|
|
Hi turboconnard,
try to initialize the wii object like this:
wii=new Wrj4P5(this).connect(Wrj4P5.EX);
//not wii=new Wrj4P5(this).connect(Wrj4P5.IR);
I had the same problem. |
|
| Back to top |
|
 |
|