FAQ Wiki page commented on by ACbebop
- Hi,
I am trying to combine the wiiusej library with the terk library for the Icreate Robot to control the Icreate robot useing the wiimote. I have loaded it all into netbeans, unfortunately I continually get the same error
C:\wii\netbeans\netbeans\src\RobotClient\Wiicon.java:20: RobotClient.Wiicon is not abstract and does not override abstract method onClassicControllerRemovedEvent(wiiusej.wiiusejevents.wiiuseapievents.ClassicControllerRemovedEvent) in wiiusej.wiiusejevents.utils.WiimoteListener
I get the same error after loading the sample app up in netbeans. I am still new to java and event handling therein. My overall goal is essentially to drive the icreate using the same method as the cow racing game in wii play. If anyone can shed any light on this for me I would greatly appreciate it.
ACbebop@gmail.com
Hi,
I am trying to combine the wiiusej library with the terk library for the Icreate Robot to control the Icreate robot useing the wiimote. I have loaded it all into netbeans, unfortunately I continually get the same error
C:\wii\netbeans\netbeans\src\RobotClient\Wiicon.java:20: RobotClient.Wiicon is not abstract and does not override abstract method onClassicControllerRemovedEvent(wiiusej.wiiusejevents.wiiuseapievents.ClassicControllerRemovedEvent) in wiiusej.wiiusejevents.utils.WiimoteListener
I get the same error after loading the sample app up in netbeans. I am still new to java and event handling therein. My overall goal is essentially to drive the icreate using the same method as the cow racing game in wii play. If anyone can shed any light on this for me I would greatly appreciate it.
ACbebop@gmail.com
Nov 05, 2009
FAQ Wiki page commented on by guilhem.duche
- Hello,
as far as i know, wireless nunchuk have issues to be recognized. but this issue can only be solved at low level programming (bluetooth communication), which in wiiusej is handled by the wiiuse C API. I don't think that the author of wiiuse has solved this issue since no new version has come for a while ...
Therefore i can't do anything for you :/
cheers
guilhem
Hello,
as far as i know, wireless nunchuk have issues to be recognized. but this issue can only be solved at low level programming (bluetooth communication), which in wiiusej is handled by the wiiuse C API. I don't think that the author of wiiuse has solved this issue since no new version has come for a while ...
Therefore i can't do anything for you :/
cheers
guilhem
Nov 05, 2009
FAQ Wiki page commented on by pascalch...@updatepixels.net
- How to use a wireless Nunchuck with the lib.
It's seams to not be reconized at any input !
Regards
How to use a wireless Nunchuck with the lib.
It's seams to not be reconized at any input !
Regards
Oct 27, 2009
issue 2
(superfluous printf calls in wiiusej_WiiUseApi.c) commented on by pa.avouac
- I have made a mistake in my report, logs appears in "WiiuseJ 0.12b src.zip", not in
"wiiusej 0.12b.zip".
I have made a mistake in my report, logs appears in "WiiuseJ 0.12b src.zip", not in
"wiiusej 0.12b.zip".
Oct 26, 2009
issue 2
(superfluous printf calls in wiiusej_WiiUseApi.c) commented on by guilhem.duche
- sure they should be removed !!! (to be honest i dont even know they can still be there)
I'll do it in the next version (not planned yet because wiiuse has not evolved yet).
on the other hand as far as i remember, when i use wiiusej those printf print nothing
in the console.(i'll check)...
thank you for pointing ou this issue !
sure they should be removed !!! (to be honest i dont even know they can still be there)
I'll do it in the next version (not planned yet because wiiuse has not evolved yet).
on the other hand as far as i remember, when i use wiiusej those printf print nothing
in the console.(i'll check)...
thank you for pointing ou this issue !
Oct 26, 2009
issue 2
(superfluous printf calls in wiiusej_WiiUseApi.c) reported by pa.avouac
- In the "wiiusej 0.12b.zip" archive (available in the download section), the
sourcefile C/wiiusej_WiiUseApi.c contains few printf calls.
For exemple, line 410 :
printf("avant poll, nbMaxwiimotes : %i \n",nbMaxWiimotes);
I think these calls have to be removed from the sourcefile.
In the "wiiusej 0.12b.zip" archive (available in the download section), the
sourcefile C/wiiusej_WiiUseApi.c contains few printf calls.
For exemple, line 410 :
printf("avant poll, nbMaxwiimotes : %i \n",nbMaxWiimotes);
I think these calls have to be removed from the sourcefile.
Aug 03, 2009
FAQ Wiki page commented on by guilhem.duche
- first on your line you should get Wiimote[]
and here it seems the array returned is empty. wiiuse didn't find any wiimote.
are you sure you connected your wiimote to windows before launching your program ?
first on your line you should get Wiimote[]
and here it seems the array returned is empty. wiiuse didn't find any wiimote.
are you sure you connected your wiimote to windows before launching your program ?
Aug 03, 2009
FAQ Wiki page commented on by roy.rodrigo
- hi everyone...
i`m trying to use wiimote but i failed T.T
always get this error when i try to run the code found at SampleAppWiiuseJ project.
init:
deps-jar:
Compiling 1 source file to C:\Users\User\Desktop\SampleAppWiiuseJ\build\classes
compile-single:
run-single:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at sampleappwiiusej.MyClass.main(MyClass.java:58)
wiiuse v0.12 loaded.
By: Michael Laforest <thepara[at]gmail{dot}com>
http://wiiuse.nethttp://wiiuse.sf.net
Java Result: 1
the line is that:
Wiimote[] wiimotes = WiiUseApiManager.getWiimotes(1, true, WiiUseApiManager.WIIUSE_STACK_MS);
and i already try this one too:
Wiimote[] wiimotes = WiiUseApiManager.getWiimotes(1, true);
The dlls files can be found in the root project and the .jar lib was imported
i`m using win vista...miscrosoft win bluetooth stack
thx
hi everyone...
i`m trying to use wiimote but i failed T.T
always get this error when i try to run the code found at SampleAppWiiuseJ project.
init:
deps-jar:
Compiling 1 source file to C:\Users\User\Desktop\SampleAppWiiuseJ\build\classes
compile-single:
run-single:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
at sampleappwiiusej.MyClass.main(MyClass.java:58)
wiiuse v0.12 loaded.
By: Michael Laforest <thepara[at]gmail{dot}com>
http://wiiuse.nethttp://wiiuse.sf.net
Java Result: 1
the line is that:
Wiimote[] wiimotes = WiiUseApiManager.getWiimotes(1, true, WiiUseApiManager.WIIUSE_STACK_MS);
and i already try this one too:
Wiimote[] wiimotes = WiiUseApiManager.getWiimotes(1, true);
The dlls files can be found in the root project and the .jar lib was imported
i`m using win vista...miscrosoft win bluetooth stack
thx
Jan 18, 2009
libwiiuse.zip (LibWiiuse.so for linux and bluetooth 3.0. For ubuntu 8.10 an...) file uploaded by guilhem.duche
-
issue 1
(WiiUseApiManager bug) changed by guilhem.duche
- fixed released in the last release !
Status: Fixed
Owner: guilhem.duche
fixed released in the last release !
Status: Fixed
Owner: guilhem.duche
Sep 28, 2008
r192
(fixed the bug for java 1.5) committed by guilhem.duche
- fixed the bug for java 1.5
fixed the bug for java 1.5
Sep 18, 2008
issue 1
(WiiUseApiManager bug) commented on by jbrownbridge
- Glad I could help.
Jason
Glad I could help.
Jason
Sep 16, 2008
r191
(fix for disconnection of several wiimotes) committed by guilhem.duche
- fix for disconnection of several wiimotes
fix for disconnection of several wiimotes
Sep 16, 2008
issue 1
(WiiUseApiManager bug) commented on by guilhem.duche
- Hello,
this bug was annoying for several people. I tested your fix and it does work. Thanks
for you cooperation, cause i recently didn't have any time for wiiusej. I'll add the
fix to a next release that I'll probably make mainly for this fix.
cheers
ggt
Hello,
this bug was annoying for several people. I tested your fix and it does work. Thanks
for you cooperation, cause i recently didn't have any time for wiiusej. I'll add the
fix to a next release that I'll probably make mainly for this fix.
cheers
ggt
Sep 15, 2008
issue 1
(WiiUseApiManager bug) reported by jbrownbridge
- What steps will reproduce the problem?
1. Connect 2 wiimotes.
2. Disconnect each wiimote individually calling disconnect()
What is the expected output? What do you see instead?
Expected output is that the remote is disconnected, instead a
NullPointerException is thrown (see stack trace below).
What version of the product are you using? On what operating system?
v0.12 on Windows XP SP3
Please provide any additional information below.
Relevant Stack Trace:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at wiiusej.WiiUseApiManager.closeConnection(WiiUseApiManager.java:214)
at wiiusej.Wiimote.disconnect(Wiimote.java:77)
Recommended fix:
In File: WiiUseApiManager.java
214 : if (wiimotes[index].getId() == id) should be
if (wiimotes[index] != null && wiimotes[index].getId() == id)
as at line 218: wiimotes[index] = null, the element in the array is set to
null.
What steps will reproduce the problem?
1. Connect 2 wiimotes.
2. Disconnect each wiimote individually calling disconnect()
What is the expected output? What do you see instead?
Expected output is that the remote is disconnected, instead a
NullPointerException is thrown (see stack trace below).
What version of the product are you using? On what operating system?
v0.12 on Windows XP SP3
Please provide any additional information below.
Relevant Stack Trace:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at wiiusej.WiiUseApiManager.closeConnection(WiiUseApiManager.java:214)
at wiiusej.Wiimote.disconnect(Wiimote.java:77)
Recommended fix:
In File: WiiUseApiManager.java
214 : if (wiimotes[index].getId() == id) should be
if (wiimotes[index] != null && wiimotes[index].getId() == id)
as at line 218: wiimotes[index] = null, the element in the array is set to
null.
Jul 29, 2008
r190
(fix for guitar hero) committed by guilhem.duche
- fix for guitar hero