Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.wpi.first.wpilibj.communication
Class AICalibration

    java.lang.Object
      edu.wpi.first.wpilibj.communication.AICalibration

    public class AICalibration

extends Object

Class for calibrating the analog inputs.

Author:
  jhersh

Constructor Summary
`AICalibration()`

Method Summary
`static long` | `getLSBWeight(int aiSystemIndex, int channel)` Get the weight of the least significant bit.
`static int` | `getOffset(int aiSystemIndex, int channel)` Get the offset.

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

Constructor Detail

### AICalibration

    public AICalibration()

Method Detail

### getLSBWeight

    public static long getLSBWeight(int aiSystemIndex,
                                    int channel)

  Get the weight of the least significant bit.

  Parameters:
    `aiSystemIndex` - The system index.
    `channel` - The analog channel.
  Returns:
    The LSB weight.

### getOffset

    public static int getOffset(int aiSystemIndex,
                                int channel)

  Get the offset.

  Parameters:
    `aiSystemIndex` - The system index.
    `channel` - The analog channel.
  Returns:
    The offset.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

"
For updated information see the Java FRC site
"