com.qualcomm.robotcore.hardware

## Interface OrientationSensor

- All Known Subinterfaces:
    IntegratingGyroscope

      public interface OrientationSensor

  `OrientationSensor` provides access to sensors which measure absolute orientation

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Orientation` | `getAngularOrientation(AxesReference reference, AxesOrder order, AngleUnit angleUnit)` Returns the absolute orientation of the sensor as a set three angles.
    `java.util.Set<Axis>` | `getAngularOrientationAxes()` Returns the axes on which the sensor measures angular orientation.

- - ### Method Detail

    - #### getAngularOrientationAxes

          java.util.Set<Axis> getAngularOrientationAxes()

      Returns the axes on which the sensor measures angular orientation.
      Returns:
        the axes on which the sensor measures angular orientation.

    - #### getAngularOrientation

          Orientation getAngularOrientation(AxesReference reference,
                                            AxesOrder order,
                                            AngleUnit angleUnit)

      Returns the absolute orientation of the sensor as a set three angles. Axes on which absolute orientation is not measured are reported as zero.
      Parameters:
        `reference` - the axes reference in which the result will be expressed
        `order` - the axes order in which the result will be expressed
        `angleUnit` - the angle units in which the result will be expressed
      Returns:
        the absolute orientation of the sensor
      See Also:
        `Orientation`