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
viniciolindo



Joined: 21 Jun 2007
Posts: 20

Digg It
PostPosted: Sun Sep 09, 2007 4:55 pm    Post subject:

ok i'm trying to use your library but I don't find a method to get rotation of wiimote... in wiiremoteJ called pitch and roll
can you help me Question
Back to top
View user's profile Send private message
Classiclll



Joined: 10 Feb 2007
Posts: 92
Location: Japan

Digg It
PostPosted: Mon Sep 10, 2007 10:40 am    Post subject:

Quote:
java.io.IOException: Descrittore di file errato

is above Italian?
sorry i have not encounterd the "Bad file descriptor" exception.
i have no idea.

Quote:
I don't find a method to get rotation of wiimote... in wiiremoteJ called pitch and roll

i know the class PositionInfo offers pitch and roll, but i don't know how to get this instance.
i'm trying to get the 3D attitude of a WiiRemote for another aim....but this seems not for you, and will take some time.

sorry

.....(is Cha0s here?)
_________________
Classiclll
Back to top
View user's profile Send private message Visit poster's website
viniciolindo



Joined: 21 Jun 2007
Posts: 20

Digg It
PostPosted: Mon Sep 10, 2007 1:46 pm    Post subject:

can I help you to develop this library?
why you don't know how get that instance?
i'have some time to try.. can you explain me your problem?
thank's
Back to top
View user's profile Send private message
Classiclll



Joined: 10 Feb 2007
Posts: 92
Location: Japan

Digg It
PostPosted: Mon Sep 10, 2007 2:08 pm    Post subject:

if you need roll & pitch, let
roll = asin(wii.rimokon.x), pitch = asin(wii.rimokon.y)
as mentioned in
http://www.wiili.org/index.php/Motion_analysis

i think the PositionInfo instance must be gotten via a WiiRemote instance or a WiiRemoteEvent, but there is no method to get it in Cha0s's JavaDoc.

if you can test his sample, would you try to get a proper instance of PositionInfo?
_________________
Classiclll
Back to top
View user's profile Send private message Visit poster's website
viniciolindo



Joined: 21 Jun 2007
Posts: 20

Digg It
PostPosted: Mon Sep 10, 2007 2:36 pm    Post subject:

thank's a lot
your help was very big hand for me
I understand that java for me is still too difficult!! Very Happy Wink
but why if pitch and roll is so simple to calculate in wiiremoteJ there is a separate class?
Back to top
View user's profile Send private message
Classiclll



Joined: 10 Feb 2007
Posts: 92
Location: Japan

Digg It
PostPosted: Mon Sep 10, 2007 2:52 pm    Post subject:

because the PositionInfo has position, that can be obtained by integrating twice the acceleration over time, i think.
also i'm trying to get the velocity and position in a 3D space.
_________________
Classiclll
Back to top
View user's profile Send private message Visit poster's website
Classiclll



Joined: 10 Feb 2007
Posts: 92
Location: Japan

Digg It
PostPosted: Wed Sep 26, 2007 1:42 am    Post subject:

Hi all
i must be hospitalized in one or two weeks.
pls wait for my reply till being out of hospital.

if you have a problem on connecting, pls visit
http://www.wiili.org/forum/wiiremotej-tips-t2815.html
_________________
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 3 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