Example #1
0
 public WiimoteCalibration()
 {
     accelerationMagnitudes         = new TimeSeries(1024);
     nunchuckAccelerationMagnitudes = new TimeSeries(1024);
     nunchuckStick = new TimeSeries(256);
 }
Example #2
0
 private bool IsStickStationary(TimeSeries data)
 {
     return(data.Size > 10 && data.DurationStable(WiimoteStationaryDeltaEpsilon) > TimeSpan.FromMilliseconds(250));
 }
 public WiimoteCalibration()
 {
     accelerationMagnitudes = new TimeSeries(1024);
     nunchuckAccelerationMagnitudes = new TimeSeries(1024);
     nunchuckStick = new TimeSeries(256);
 }