jp.digitalmuseum.mr.entity
クラス MindstormsNXT.OutputState

java.lang.Object
  上位を拡張 jp.digitalmuseum.mr.entity.MindstormsNXT.OutputState
すべての実装されたインタフェース:
java.io.Serializable
含まれているクラス:
MindstormsNXT

public static class MindstormsNXT.OutputState
extends java.lang.Object
implements java.io.Serializable
Container for holding the output state values.
関連項目:
直列化された形式

フィールドの概要
 int blockTachoCount
          Current position relative to last programmed movement.
 int mode
          Mode.
 int port
          Output port [0 to 2].
 byte powerSetpoint
          Power [-100 to 100].
 int regulationMode
          Regulation mode.
 int rotationCount
          Current position relative to last reset of the rotation sensor for this motor.
 int runState
          MOTOR_RUN_STATE_*
 byte status
          Status of GET_OUTPUT_STATE command.
 int tachoCount
          Internal count.
 long tachoLimit
          Current limit on a movement in progress, if any.
 byte turnRatio
          Turn rate [-100 to 100].
 
コンストラクタの概要
MindstormsNXT.OutputState()
           
MindstormsNXT.OutputState(int port)
           
 
メソッドの概要
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
フィールドの詳細

status

public byte status
Status of GET_OUTPUT_STATE command.

port

public int port
Output port [0 to 2].

powerSetpoint

public byte powerSetpoint
Power [-100 to 100].

mode

public int mode
Mode.

regulationMode

public int regulationMode
Regulation mode.

turnRatio

public byte turnRatio
Turn rate [-100 to 100].

runState

public int runState
MOTOR_RUN_STATE_*

tachoLimit

public long tachoLimit
Current limit on a movement in progress, if any.

tachoCount

public int tachoCount
Internal count. Number of counts since last reset of the motor counter.

blockTachoCount

public int blockTachoCount
Current position relative to last programmed movement.

rotationCount

public int rotationCount
Current position relative to last reset of the rotation sensor for this motor.
コンストラクタの詳細

MindstormsNXT.OutputState

public MindstormsNXT.OutputState(int port)

MindstormsNXT.OutputState

public MindstormsNXT.OutputState()


Copyright by Jun KATO (arc@dmz) at https://mr.digitalmuseum.jp/