forked from abstrakraft/cwiid
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
ers81239 edited this page Sep 30, 2010
·
3 revisions
This is a forked repository. Have a look at
abstrakraft’s cwiid wiki
for more information.
I’m working modify cwiid to allow the wiimote to be a measurement platform for use in a high-school physics classroom.
Changelog:
- 9/30/10
- I have merged with bobbens’ repo to get up to date with other people’s work. As is, the logging feature works and has the following features:
*Better Calibration – Measurements are taken for 2 seconds and used as correction
*Dead Zone – You can configure (in the source) a threshold of acceleration below which acceleration is ignored (reduces noise)
***Smoothed output – You can configure a window of time in which to average the acceleration to make smoother curves.
To do: Make sure I’m handling dead time right. When the wiimote is low on batteries it reports less often. Right now the code has an interval at which it will assume that if there is no report, the wiimote isn’t moving. However, that interval is static (set in code) and the actual reporting interval is variable (seems to depend on the actual rate of movement of the mote). Nonetheless, my code is stupid and assumes that all reports are equally spaced in time.
*To do: There are notes in the code where I point out that I don’t understand how pitch and roll are working. That needs figured out.
- I have merged with bobbens’ repo to get up to date with other people’s work. As is, the logging feature works and has the following features:
- 4/28/10
- The GUI Acceleration numbers (for the wiimote only) are now floats instead of hex.
- There is a “Log” menu item that causes CSV logging to the STDOUT
Notes:
- The acceleration numbers appear to be in G’s
- There is a significant drift problem to be addressed.