motejx.extensions.balanceboard
Class BalanceBoardEvent

java.lang.Object
  extended by motejx.extensions.balanceboard.BalanceBoardEvent

public class BalanceBoardEvent
extends Object

Author:
Kohei Matsumura, Volker Fritzsch

Constructor Summary
BalanceBoardEvent(BalanceBoard source, int topRight, int bottomRight, int topLeft, int bottomLeft)
           
 
Method Summary
 int getBottomLeft()
           
 int getBottomLeftInterpolated()
           
 int getBottomRight()
           
 int getBottomRightInterpolated()
           
 BalanceBoard getSource()
           
 int getTopLeft()
           
 int getTopLeftInterpolated()
           
 int getTopRight()
           
 int getTopRightInterpolated()
           
protected  int interpolate(BalanceBoardCalibrationData.Sensor sensor, int raw)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BalanceBoardEvent

public BalanceBoardEvent(BalanceBoard source,
                         int topRight,
                         int bottomRight,
                         int topLeft,
                         int bottomLeft)
Method Detail

getSource

public BalanceBoard getSource()

getTopRight

public int getTopRight()

getBottomRight

public int getBottomRight()

getTopLeft

public int getTopLeft()

getBottomLeft

public int getBottomLeft()

interpolate

protected int interpolate(BalanceBoardCalibrationData.Sensor sensor,
                          int raw)

getTopRightInterpolated

public int getTopRightInterpolated()

getBottomRightInterpolated

public int getBottomRightInterpolated()

getTopLeftInterpolated

public int getTopLeftInterpolated()

getBottomLeftInterpolated

public int getBottomLeftInterpolated()


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