icommand.nxt.comm
Class InputValues

java.lang.Object
  extended by icommand.nxt.comm.InputValues

public class InputValues
extends java.lang.Object

Version:
0.1 August 3, 2006
Author:
Brian Bagnall
See Also:
NXTCommand

Field Summary
 short calibratedValue
          Currently unused.
 int inputPort
           
 boolean isCalibrated
           
 int normalizedADValue
          The normalized value from the Analog to Digital (AD) converter.
 int rawADValue
          The raw value from the Analog to Digital (AD) converter.
 short scaledValue
          The scaled value starts working after the first call to the sensor.
 int sensorMode
           
 int sensorType
           
 boolean valid
          NXT indicates if it thinks the data is valid (based on previous data?)
 
Constructor Summary
InputValues()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inputPort

public int inputPort

valid

public boolean valid
NXT indicates if it thinks the data is valid (based on previous data?)


isCalibrated

public boolean isCalibrated

sensorType

public int sensorType

sensorMode

public int sensorMode

rawADValue

public int rawADValue
The raw value from the Analog to Digital (AD) converter.


normalizedADValue

public int normalizedADValue
The normalized value from the Analog to Digital (AD) converter. I really don't know for sure which values are normalized yet. 0 to 1023


scaledValue

public short scaledValue
The scaled value starts working after the first call to the sensor. The first value will be the raw value, but after that it produces scaled values. With the touch sensor, off scales to 0 and on scales to 1.


calibratedValue

public short calibratedValue
Currently unused.

Constructor Detail

InputValues

public InputValues()


Copyright 2006. All Rights Reserved.