public class LynxAnalogInputController extends LynxController
LynxController.PretendLynxModule
Modifier and Type | Field and Description |
---|---|
static int |
apiPortFirst |
static int |
apiPortLast |
static java.lang.String |
TAG |
context, hardwareDeviceHealth, isEngaged, isHardwareInitialized, isHooked, registeredCallbacks
tag
Constructor and Description |
---|
LynxAnalogInputController(android.content.Context context,
LynxModule module) |
Modifier and Type | Method and Description |
---|---|
double |
getAnalogInputVoltage(int port) |
java.lang.String |
getDeviceName() |
double |
getMaxAnalogInputVoltage() |
SerialNumber |
getSerialNumber() |
protected java.lang.String |
getTag() |
adjustHookingToMatchEngagement, close, disengage, doHook, doUnhook, engage, finishConstruction, floatHardware, forgetLastKnown, getArmingState, getConnectionInfo, getHealthStatus, getHealthStatusOverride, getManufacturer, getModule, getVersion, hook, initializeHardware, isArmed, isEngaged, moduleNowArmedOrPretending, moduleNowDisarmed, onModuleStateChange, registerCallback, resetDeviceConfigurationForOpMode, setHealthStatus, setHealthyIfArmed, unhook, unregisterCallback
handleException, handleSpecificException, handleSpecificException
public static final java.lang.String TAG
public static final int apiPortFirst
public static final int apiPortLast
public LynxAnalogInputController(android.content.Context context, LynxModule module) throws RobotCoreException, java.lang.InterruptedException
RobotCoreException
java.lang.InterruptedException
protected java.lang.String getTag()
getTag
in class LynxController
public java.lang.String getDeviceName()
getDeviceName
in class LynxController
public SerialNumber getSerialNumber()
getSerialNumber
in class LynxController
public double getAnalogInputVoltage(int port)
public double getMaxAnalogInputVoltage()