public static final double CHANGE_THRESHOLD = .001;
private Accelerometer accelerometer;
private Vector accelerometerListeners;
public GRTAccelerometer(int channel, int pollTime, String id) {
accelerometer = new Accelerometer(channel);
setSleepTime(pollTime);
setState("Acceleration", 0.0);
accelerometerListeners = new Vector();
this.id = id;
}