WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

wrj4P5, WiiRemote P5 Library - Alpha
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ
View previous topic :: View next topic  
Author Message
turboconnard



Joined: 25 Mar 2008
Posts: 8

Digg It
PostPosted: Wed May 28, 2008 9:59 am    Post subject:

Hi aleixOnion and Classiclll !

I've just made a "From Hardy to Wii" tutorial in french without using Wrj4P5...
On this tutorial I use a selfmade "CheapWiimote" Java Class. It only receives IRinput, acceleration and Buttons...

the tutorial (in french) is here http://www.turboconnard.com/b/?page_id=7

I'll try this new way to initialize the Wrj4P5 instance. Thanks for the answer !
Back to top
View user's profile Send private message
Classiclll



Joined: 10 Feb 2007
Posts: 93
Location: Japan

Digg It
PostPosted: Wed May 28, 2008 2:08 pm    Post subject:

hi aleixOnion, turboconnard
aleixOnion wrote:
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.

the option Wrj4P5.IR specifies IR information with size, but you can't use any extensions, nunchuk/classic controller/wiiguitar.
on the other hand, with Wrj4P5.EX, you can use an extension without ir-size.
i will examin around the IR setting for linux work.
thank you for your feedback.
_________________
Classiclll
Back to top
View user's profile Send private message Visit poster's website
turboconnard



Joined: 25 Mar 2008
Posts: 8

Digg It
PostPosted: Wed May 28, 2008 2:17 pm    Post subject:

Forum people encountering problems with the IRLight.getSize() method and I've also this "bug"

If I use the remote.setIRSensorEnabled(true, WRIREvent.EXTENDED); I loose the x and y of an IRlight and have weird size info...

With the WRIREvent.BASIC param, I have the correct x and y. The getSize() returns "-1" as expected...
Back to top
View user's profile Send private message
ma_d



Joined: 06 Aug 2008
Posts: 1

Digg It
PostPosted: Wed Aug 06, 2008 2:03 pm    Post subject: wiimote speaker sound

hi!

i'm trying to play some sounds through the wiimote speaker. i succeeded with a Sun/NeXt audio format, mono, 1794Hz, 8-bit signed PCM sound, but it's distorted when it's played. very distorted. i know that the sound format maybe is a 4-bit adpcm sound, but i can't get it work- (tried a 4-bit ms/ima adpcm wav file).

so.. does anyone have an idea about this? how can i convert normal sounds for the wiimote-speaker?

thanks!
Back to top
View user's profile Send private message
Classiclll



Joined: 10 Feb 2007
Posts: 93
Location: Japan

Digg It
PostPosted: Thu Aug 07, 2008 10:21 am    Post subject:

hi ma_d, thank you for your feedback. how about more discussion in the following ?
http://sourceforge.jp/forum/forum.php?forum_id=12520
_________________
Classiclll
Back to top
View user's profile Send private message Visit poster's website
Classiclll



Joined: 10 Feb 2007
Posts: 93
Location: Japan

Digg It
PostPosted: Thu Aug 07, 2008 10:45 am    Post subject:

1. Wrj4P5 alpha-006 - Balance Board support

because of some API change between WiiRemoteJ 1.4- and WiiRemoteJ 1.5+,
only the following combinations allowed (no sketch modification needed)

(1) Wrj4P5 alpha-005- and WiiremoteJ 1.4-
(2) Wrj4P5 alpha-006+ and WiiremoteJ 1.5+

*no test performed of Balance Bord functinalities, because of no board.

2. Loc beta-004 - new 3D staffs
* Rod : the model of 3D geometric line with geometric calculations.
* Tag : the model of 3D geometric plane with geometric calculations.
* Ship : the model of 3D geometric space with geometric calculations. (intermediate)
* Vfunc : the model of Vector functions, having root finder, extreme finder, parameter estimator.
* EqSys : the model of multi-valued nonlinear equation system, having solver
* Mat : the model of Matrix, with the linear equations solver (LUdecomp)
* Vec : the model of Vector, with the polynomial equation solver(DKA)

test applet for class Rod is http://www.geocities.jp/classiclll_newweb/RodTest/applet/index.html

test code with result (without drawings, text out only) is http://www.geocities.jp/classiclll_newweb/Tutrial/LocTest/index.html

* intended for easy-to-use, not for efficiency, numerical accuracy, nor robustness.
* this lib is independent from PApplet. so you can use it in a project out of the processing.

3. new package "l4P5 beta-001" - static methods collection
* draw a instance of Loc's 3D staffs for Processing/Proce55ing
* draw some texture mapped 3D primitives

documents are on wiki page of http://sourceforge.jp/projects/wrj4p5

Any feedback is appreciated.
_________________
Classiclll
Back to top
View user's profile Send private message Visit poster's website
Classiclll



Joined: 10 Feb 2007
Posts: 93
Location: Japan

Digg It
PostPosted: Fri Aug 08, 2008 6:58 am    Post subject:

just now, i have just modified the wrj4P5 alpha-006 to correct error.

please re-download if you previously downloaded. ... sorry.
_________________
Classiclll
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiremoteJ All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 8 of 9

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group