WiimoteLib v1.6 Released

Posted November 13, 2008 5:56 PM Categories: .NET | Coding4Fun | Wiimote | Hardware

image A new version of my managed Wiimote library for .NET has been released.  You can find version 1.6 up at CodePlex now.  The changes are as follows:

v1.6.0.0

  • Added "center of gravity" calculation to the Wii Fit Balance Board (thanks to Steven Battersby)
  • Structs are now marked [Serializable] (suggested by Caio)
  • Battery property is now a float containing the calculated percentage of battery remaining
  • BatteryRaw is the byte value that used to be stored in the Battery property
  • WiimoteTest app now reads extensions properly when inserted at startup
  • Exposed HID device path in new HIDDevicePath property on Wiimote object
  • Changed the time delay on writes to 50ms from 100ms...this should improve responsiveness of setting LEDs and rumble

I feel like I’m running out of things to implement and bugs to fix.  I know that’s not true.  So, I want to hear from the people using my library…

What features/bugs do you want to see added/fixed?  Please leave a comment here or contact me directly so I can create a master list.  Thanks!

Comments (4) -

fmcard
11/20/2008 8:09:51 AM #

Dear Brian,
I' tring to use your lib, but I'have a question?
what is the achievable acceleration resolution?
I'have seen that all the application using your dll achieve a resolution of about 0.04 of g, while for example with GlovePie we can achieve a resolution (noisy) of about 0.01 of g.
What is the real bits dynamic of the accelorometers?

thank you!

Brian Peek
Brian Peek
11/21/2008 5:14:27 AM #

@fmcard, in my lib, each axis gives 8 bits of resolution.  There is a 9th bit, and I've tried adding this additional resolution but, as you stated, it's a bit noisy and inaccurate, so I've stuck with the current implementation...

fmcard
11/21/2008 7:47:44 AM #

Thank you for the answer!
But there is still something that I can't understand: if we have about a 6g range (-3 to +3) per axis, with 8 bit resolutio, we would expect 6/256=0.02 and not 0.04 !
Can you help me to understand?

just onother question:
I'm trying to use your dll under MatLab, is there a way to trasform your dll in a COM?

thank you again for your kindness and wonderfull work!

Brian Peek
Brian Peek
1/31/2009 4:55:34 AM #

@fmcard:

Not sure I have an answer, but I do know that the resolution really is 9-bit, but the last bit isn't used.

As for COM, I believe others have tried but I'm not sure how successful they've been.  If you need a C++ lib, I'd try WiiYourself at http://wiiyourself.gl.tter.org/

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

My Info

  • View Brian Peek's profile on LinkedIn

Sponsored Ad

My Book

Sponsored Ad

Calendar

<<  May 2012  >>
MoTuWeThFrSaSu
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

View posts in large calendar