motej
Class CalibrationDataReport

java.lang.Object
  extended by motej.CalibrationDataReport

public class CalibrationDataReport
extends Object

Calibration data for the onboard accelerometer (as stored in the Wiimote's memory, starting at address 0x16 and repeated at 0x20).

Author:
Volker Fritzsch

Constructor Summary
CalibrationDataReport(int zeroX, int zeroY, int zeroZ, int gravityX, int gravityY, int gravityZ)
           
 
Method Summary
 int getGravityX()
          Calibrated force of gravity for the accelerometers X axis.
 int getGravityY()
          Calibrated force of gravity for the accelerometers Y axis.
 int getGravityZ()
          Calibrated force of gravity for the accelerometers Z axis.
 int getZeroX()
          Calibrated zero offsets for the accelerometers X axis.
 int getZeroY()
          Calibrated zero offsets for the accelerometers Y axis.
 int getZeroZ()
          Calibrated zero offsets for the accelerometers Z axis.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CalibrationDataReport

public CalibrationDataReport(int zeroX,
                             int zeroY,
                             int zeroZ,
                             int gravityX,
                             int gravityY,
                             int gravityZ)
Method Detail

getGravityX

public int getGravityX()
Calibrated force of gravity for the accelerometers X axis.

Returns:
the force of gravity X axis

getGravityY

public int getGravityY()
Calibrated force of gravity for the accelerometers Y axis.

Returns:
the force of gravity Y axis

getGravityZ

public int getGravityZ()
Calibrated force of gravity for the accelerometers Z axis.

Returns:
the force of gravity Z axis

getZeroX

public int getZeroX()
Calibrated zero offsets for the accelerometers X axis.

Returns:
zero offset X axis

getZeroY

public int getZeroY()
Calibrated zero offsets for the accelerometers Y axis.

Returns:
zero offset Y axis

getZeroZ

public int getZeroZ()
Calibrated zero offsets for the accelerometers Z axis.

Returns:
zero offset Z axis

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2009 Volker Fritzsch. All Rights Reserved.