 |
WiiLi.org a new revolution
|
| View previous topic :: View next topic |
| Author |
Message |
Jephthah
Joined: 29 Nov 2006 Posts: 16
Digg It |
Posted: Sun Dec 03, 2006 3:13 am Post subject: |
|
|
Darn. um... I doubt the acclerometer is broken. Hmmm... I'm stumped for the moment, I just used up all my ideas.
Have you tried restarting GlovePIE rather than just pressing stop and then run a second time?[/quote]
Yup. I've restarted it, etc.
I'm going to run by EBGames tomorrow (they have a wii) to see if it's broken. If so, I'll get it replaced. If not.... :/
Is there any chance that the wiimote's sending of force reports isn't getting initialized? I doubt you would've made that mistake as no one else has mentioned this problem, but I figured I should ask. |
|
| Back to top |
|
 |
CarlKenner Site Admin
Joined: 29 Nov 2006 Posts: 614
Digg It |
Posted: Sun Dec 03, 2006 3:24 am Post subject: |
|
|
| Jephthah wrote: | Darn. um... I doubt the acclerometer is broken. Hmmm... I'm stumped for the moment, I just used up all my ideas.
Have you tried restarting GlovePIE rather than just pressing stop and then run a second time? |
Yup. I've restarted it, etc.
I'm going to run by EBGames tomorrow (they have a wii) to see if it's broken. If so, I'll get it replaced. If not.... :/
Is there any chance that the wiimote's sending of force reports isn't getting initialized? I doubt you would've made that mistake as no one else has mentioned this problem, but I figured I should ask.[/quote]
Other people's comments suggested they had the forces working. I'll have to see if I can add some extra commands and things for testing.
Have you got other things working besides the forces?
For example, the script should also make the buttons control the matching keyboard keys. If you open up a program like notepad, can you type A,B,1,2,- and = using the wiimote buttons while the script is running? And the arrows should move the text cursor around.
And holding down shift should make it rumble. |
|
| Back to top |
|
 |
mombof
Joined: 03 Dec 2006 Posts: 1
Digg It |
Posted: Sun Dec 03, 2006 3:33 am Post subject: Kudos! Thanks for making this driver |
|
|
I'm just happy the project is moving. I can't believe you made it without a test device!
 |
|
| Back to top |
|
 |
joe912
Joined: 03 Dec 2006 Posts: 3
Digg It |
Posted: Sun Dec 03, 2006 3:36 am Post subject: |
|
|
| i have the same problem forces are stuck at 128 -128 128 but pressing 1 2 a b works and the arrow keys. but the led's constantly flash. this is awesome keep up the work!!! |
|
| Back to top |
|
 |
CarlKenner Site Admin
Joined: 29 Nov 2006 Posts: 614
Digg It |
Posted: Sun Dec 03, 2006 3:46 am Post subject: |
|
|
OK, I think I found the problem with it not running the second time.
I was accidentally calling Dev.CheckOut when I finished with it, when obviously I should be calling Dev.CheckIn when I'm returning something. duh
Now I'm fixing the LEDs so they can be set individually more easily, and then I'm adding a way of manually setting it to output on a particular "channel". |
|
| Back to top |
|
 |
squeakypants
Joined: 09 Nov 2006 Posts: 99
Digg It |
Posted: Sun Dec 03, 2006 4:28 am Post subject: |
|
|
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? |
|
| Back to top |
|
 |
joe912
Joined: 03 Dec 2006 Posts: 3
Digg It |
Posted: Sun Dec 03, 2006 4:35 am Post subject: |
|
|
i would love to test it but for some reason my debug window doesnt show the roatations only 128's i have tried it with 2 wiimotes and nothing for both of them.
any ideas to get this working? |
|
| Back to top |
|
 |
|
|
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
|