org.firstinspires.ftc.robotcore.external.navigation

## Class Position

- java.lang.Object
- - org.firstinspires.ftc.robotcore.external.navigation.Position

-     public class Position
      extends java.lang.Object

  Instances of `Position` represent a three-dimensional distance in a particular distance unit.
  See Also:
    `Acceleration`, `Position`

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `long` | `acquisitionTime` the time on the System.nanoTime() clock at which the data was acquired.
    `DistanceUnit` | `unit`
    `double` | `x`
    `double` | `y`
    `double` | `z`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Position()`
    `Position(DistanceUnit unit, double x, double y, double z, long acquisitionTime)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `toString()`
    `Position` | `toUnit(DistanceUnit distanceUnit)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### unit

          public DistanceUnit unit

    - #### x

          public double x

    - #### y

          public double y

    - #### z

          public double z

    - #### acquisitionTime

          public long acquisitionTime

      the time on the System.nanoTime() clock at which the data was acquired. If no timestamp is associated with this particular set of data, this value is zero.

  - ### Constructor Detail

    - #### Position

          public Position()

    - #### Position

          public Position(DistanceUnit unit,
                          double x,
                          double y,
                          double z,
                          long acquisitionTime)

  - ### Method Detail

    - #### toUnit

          public Position toUnit(DistanceUnit distanceUnit)

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`