org.firstinspires.ftc.robotcore.external.navigation

## Class Temperature

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

-     public class Temperature
      extends java.lang.Object

  Instances of `Temperature` represent a temperature in a particular temperature scale.

- - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Temperature()`
    `Temperature(TempUnit unit, double temperature, long acquisitionTime)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Temperature` | `toUnit(TempUnit tempUnit)`

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

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

- - ### Field Detail

    - #### unit

          public TempUnit unit

    - #### temperature

          public double temperature

    - #### 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

    - #### Temperature

          public Temperature()

    - #### Temperature

          public Temperature(TempUnit unit,
                             double temperature,
                             long acquisitionTime)

  - ### Method Detail

    - #### toUnit

          public Temperature toUnit(TempUnit tempUnit)