|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlejos.pc.comm.OutputState
public class OutputState
Container for holding the output state values.
NXTCommand
Field Summary | |
---|---|
int |
blockTachoCount
Current position relative to last programmed movement |
int |
mode
The motor mode - see NXTProtocol for enumeration |
int |
outputPort
The port number - range: 0 to 2 |
byte |
powerSetpoint
The power setting : -100 to 100 |
int |
regulationMode
The regulation mode - see NXTProtocol for enumeration |
int |
rotationCount
Current position relative to last reset of the rotation sensor for this motor) |
int |
runState
The run state - see NXTProtocol for enumeration |
byte |
status
Status of the NXTCommand.getOutputState command. |
int |
tachoCount
Internal count. |
long |
tachoLimit
Current limit on a movement in progress, if any |
byte |
turnRatio
The turn ratio: -100 to 100 |
Constructor Summary | |
---|---|
OutputState(int port)
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public byte status
public int outputPort
public byte powerSetpoint
public int mode
public int regulationMode
public byte turnRatio
public int runState
public long tachoLimit
public int tachoCount
public int blockTachoCount
public int rotationCount
Constructor Detail |
---|
public OutputState(int port)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |