## jrobots.utils
Class SonarTrace

    java.lang.Object
      jrobots.utils.SonarTrace

All Implemented Interfaces:
  java.io.Serializable, java.lang.Cloneable

    public class SonarTrace

extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

Data structure as produced by the echolocation device.

The given location is not exact. A measure for precision is included.

See Also:
  `location`, `timestamp`, `standardDeviation`, Serialized Form

Field Summary
`static double` | `LIFE_SPAN` Duration that a sonar trace stays visible.
`Vector` | `location` position estimate of sonar finding [m].
`double` | `standardDeviation` precision estimate for this sonar finding [m].
`double` | `timestamp` time of sonar finding [s].

Constructor Summary
`SonarTrace(double timestamp, Vector location, double standardDeviation)` Creates sonar trace data.

Method Summary

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### LIFE_SPAN

    public static final double LIFE_SPAN

  Duration that a sonar trace stays visible.

  See Also:
    Constant Field Values

### location

    public final Vector location

  position estimate of sonar finding [m]. May be imprecise.

### standardDeviation

    public final double standardDeviation

  precision estimate for this sonar finding [m].

### timestamp

    public final double timestamp

  time of sonar finding [s]. The time is measured since the begin of the match.

Constructor Detail

### SonarTrace

    public SonarTrace(double timestamp,
                      Vector location,
                      double standardDeviation)

  Creates sonar trace data. All fields are immutable after construction.

  Parameters:
    `timestamp` -
    `location` -
    `standardDeviation` -