com.qualcomm.robotcore.hardware

## Class IrSeekerSensor.IrSeekerIndividualSensor

- java.lang.Object
- - com.qualcomm.robotcore.hardware.IrSeekerSensor.IrSeekerIndividualSensor

- Enclosing interface:
    IrSeekerSensor

      public static class IrSeekerSensor.IrSeekerIndividualSensor
      extends java.lang.Object

  IR Sensor attached to an IR Seeker

  Get the angle of this sensor, along with signal strength

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `IrSeekerIndividualSensor()` Constructor
    `IrSeekerIndividualSensor(double angle, double strength)` Constructor

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `getSensorAngle()` Get the angle at which this sensor is mounted
    `double` | `getSensorStrength()` Get the strength of the IR signal detected by this sensor
    `java.lang.String` | `toString()`

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

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

- - ### Constructor Detail

    - #### IrSeekerIndividualSensor

          public IrSeekerIndividualSensor()

      Constructor

    - #### IrSeekerIndividualSensor

          public IrSeekerIndividualSensor(double angle,
                                          double strength)

      Constructor

  - ### Method Detail

    - #### getSensorAngle

          public double getSensorAngle()

      Get the angle at which this sensor is mounted
      Returns:
        sensor angle

    - #### getSensorStrength

          public double getSensorStrength()

      Get the strength of the IR signal detected by this sensor
      Returns:
        IR strength, scaled from 0 to 1

    - #### toString

          public java.lang.String toString()

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