The Wii is out in France, so I could test the wiimote and especially the connection to a PC.
My sensor bar works pretty well although I have some tuning to do to improve it.
I tested the motion detection on an old well fun games: Mario Kart 64.
So I wrote a script for GlovePIE order to control the kart with the Wiimote (like a steering wheel).
Here is a video I made (Note: The brightness is a bit dirty on the first race of the video, we see a little better on the second race):
Google Video Link: http://video.google.fr/videoplay?docid=8045286269079287118
And the script to put in GlovePIE:
Up = Wiimote.Up Down = Left = Wiimote.Down
Wiimote.Left Wiimote.Right Right = A = B = Wiimote.A
Wiimote.B One = Two = Wiimote.One Wiimote.Two
Home Wiimote.Home
= Minus = Equals = Wiimote.Minus
Wiimote.Plus if Wiimote.A Then
Wiimote.Rumble = true else
Wiimote.Rumble
= false end if if
Wiimote.RawForceZ> -1 Then = Left Right = true = false Wiimote.Led1
else
Left Right = false = false = false
Wiimote.Led1
Wiimote.Led4 = false end if
0 comments:
Post a Comment