next up previous contents
Next: Using Clientlib: An Example Up: Clientlib API Previous: The Class   Contents

The Class

Sample represents a distance measurement sample with respect to a beacon.

public long time;
public double dist;

time is the hardware time stamp of the measurement generated by the Cricket device.
dist is the measured distance (default unit=centimeters, unless changed by the Serial Port API described in Section 2.2).

Michel Goraczko 2004-12-02