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 

Download Windows driver here.
Goto page Previous  1, 2, 3, 4, 5 ... 22, 23, 24  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Remote and Nunchuck
View previous topic :: View next topic  
Author Message
jaku



Joined: 03 Dec 2006
Posts: 9

Digg It
PostPosted: Sun Dec 03, 2006 4:36 am    Post subject:

squeakypants wrote:
Could someone test this code? If the remote isn't being moved, it should output (in the top right of the window) the 3 rotations!
Code:
debug = 'Roll: '+(((Wiimote.RawForceX - 7)/27)*90 + 180)+'; Yaw: '+(((Wiimote.RawForceY - 10)/27)*90 + 180)+'; Pitch: '+(((Wiimote.RawForceZ - 9.5)/27)*90 + 180)+';'


Obviously it's very simple. I want to see if it works correctly. They are in degrees, by the way, between 0 and 360. Please tell me if it works. I'm going to add some more to it to very basically factor out any extra movement. It won't be entirely accurate, but it's an idea I have that I want to test.

Carl: Does GlovePIE support variables? Also, could you contact me via IM or in the chat?


My remote doesn't move or update that so using that code it shows Roll: 583.33; Yaw: -280.00; Pitch: 575.00;
Back to top
View user's profile Send private message
squeakypants



Joined: 09 Nov 2006
Posts: 99

Digg It
PostPosted: Sun Dec 03, 2006 4:37 am    Post subject:

Hmm, join the chat so I can talk to you Wink

Carl: Also, in your manual there's nothing about absolute values.
Back to top
View user's profile Send private message AIM Address MSN Messenger
jaku



Joined: 03 Dec 2006
Posts: 9

Digg It
PostPosted: Sun Dec 03, 2006 4:38 am    Post subject:

wheres the chat at?
Back to top
View user's profile Send private message
LiquidIce



Joined: 22 Nov 2006
Posts: 36

Digg It
PostPosted: Sun Dec 03, 2006 5:01 am    Post subject:

Dude, you rock! I'm downloading it now to play, I can not believe you wrote this stuff without the hardware, that's pretty slick... Kudos to you!

The chat they are referring to is on IRC:

FreeNode (irc freenode.net)
channel: #wiili

see you there!
_________________
-LiquidIce

LiquidIce's Wii Hacks
http://wiihacks.blogspot.com
Back to top
View user's profile Send private message
l0ser



Joined: 27 Nov 2006
Posts: 1

Digg It
PostPosted: Sun Dec 03, 2006 5:39 am    Post subject:

squeakypants wrote:
Could someone test this code? If the remote isn't being moved, it should output (in the top right of the window) the 3 rotations!
Code:
debug = 'Roll: '+(((Wiimote.RawForceX - 7)/27)*90 + 180)+'; Yaw: '+(((Wiimote.RawForceY - 10)/27)*90 + 180)+'; Pitch: '+(((Wiimote.RawForceZ - 9.5)/27)*90 + 180)+';'


Obviously it's very simple. I want to see if it works correctly. They are in degrees, by the way, between 0 and 360. Please tell me if it works. I'm going to add some more to it to very basically factor out any extra movement. It won't be entirely accurate, but it's an idea I have that I want to test.

Carl: Does GlovePIE support variables? Also, could you contact me via IM or in the chat?


It does seem to work. I don't think it returns 90 degrees as being perpendicular to any familiar configuration of up, down, left or right, though.

Still playing with it, though.
Back to top
View user's profile Send private message
CarlKenner
Site Admin


Joined: 29 Nov 2006
Posts: 614

Digg It
PostPosted: Sun Dec 03, 2006 5:55 am    Post subject:

If you give me six months, I may be able to work out how to find this IRC thing.
Back to top
View user's profile Send private message Send e-mail
joe912



Joined: 03 Dec 2006
Posts: 3

Digg It
PostPosted: Sun Dec 03, 2006 6:04 am    Post subject:

just use the java link on the frontpage of wiili.org the link is chat

or click herehttp://www.wiili.org/irc/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> Wii Remote and Nunchuck All times are GMT
Goto page Previous  1, 2, 3, 4, 5 ... 22, 23, 24  Next
Page 4 of 24

 
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