Line 688:
Line 688:
20 represents turning at about 1 degree per second. So divide by 20 to get the degrees per second.
20 represents turning at about 1 degree per second. So divide by 20 to get the degrees per second.
β
At high speed (Low speed bit = 0) 20 represents turning at about 5 degree per second. So divide by 4 to get the degrees per second.
+
At high speed (Low speed bit = 0) raw values read are small with the same deg/s to reach higher values on top, so you must multiply it by 2000/440 (they are the max reference in the two modes in deg/s). Example: reading 8083 raw value, in slow/normal mode it is 1 deg/s in fast mode is 1*2000/440=4.5454 deg/s.
β
β
The gyros are slightly noisy, so you should assume any speed less than 0.5 degrees per second is actually zero, otherwise you will get lots of drift.
Yaw/Roll/Pitch fast/slow bits are 1 when the Wii Remote is rotating slowly (or not rotating at all), 0 when the Wii Remote is rotating fast.
Yaw/Roll/Pitch fast/slow bits are 1 when the Wii Remote is rotating slowly (or not rotating at all), 0 when the Wii Remote is rotating fast.