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

java.lang.Object
  上位を拡張 jp.digitalmuseum.mr.entity.ResourceAbstractImpl
      上位を拡張 jp.digitalmuseum.mr.entity.PhysicalResourceAbstractImpl
          上位を拡張 jp.digitalmuseum.mr.resource.DifferentialWheelsAbstractImpl
              上位を拡張 jp.digitalmuseum.mr.entity.MindstormsNXT.MindstormsNXTDifferentialWheels
すべての実装されたインタフェース:
java.io.Serializable, ExclusiveResource, Resource, DifferentialWheels, DifferentialWheelsController, Wheels, WheelsController
含まれているクラス:
MindstormsNXT

public static class MindstormsNXT.MindstormsNXTDifferentialWheels
extends DifferentialWheelsAbstractImpl
Differential wheels of LEGO Mindstorms NXT.
作成者:
Jun KATO
関連項目:
MindstormsNXT, 直列化された形式

入れ子のクラスの概要
 
インタフェース jp.digitalmuseum.mr.resource.Wheels から継承された入れ子のクラス/インタフェース
Wheels.Spin, Wheels.WheelsStatus
 
フィールドの概要
static int DEFAULT_ROTATION_SPEED
           
static int DEFAULT_SPEED
           
 
コンストラクタの概要
MindstormsNXT.MindstormsNXTDifferentialWheels(Connector connector)
           
MindstormsNXT.MindstormsNXTDifferentialWheels(MindstormsNXT mindstormsNXT)
           
 
メソッドの概要
protected  boolean doDrive(int leftPower, int rightPower)
           
protected  boolean doStopWheels()
           
 int getLeftWheelPort()
           
 int getRecommendedRotationSpeed()
          Get the recommended value for rotation speed.
 int getRecommendedSpeed()
          Get the recommended value for default speed.
 int getRightWheelPort()
           
protected  void initialize()
           
 void setLeftWheelPort(int leftWheelPort)
           
 void setRightWheelPort(int rightWheelPort)
           
 
クラス jp.digitalmuseum.mr.resource.DifferentialWheelsAbstractImpl から継承されたメソッド
curve, curveLeft, curveRight, drive, getLeftWheelPower, getRightWheelPower, getRotationSpeed, getSpeed, getStatus, goBackward, goForward, onFree, setRotationSpeed, setSpeed, setStatus, spin, spinLeft, spinRight, stopWheels
 
クラス jp.digitalmuseum.mr.entity.PhysicalResourceAbstractImpl から継承されたメソッド
getConnector, setConnector
 
クラス jp.digitalmuseum.mr.entity.ResourceAbstractImpl から継承されたメソッド
getConfigurationComponent, getReaders, getRobot, getWriter, isWritable, toString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース jp.digitalmuseum.mr.entity.ExclusiveResource から継承されたメソッド
getWriter, isWritable
 
インタフェース jp.digitalmuseum.mr.entity.Resource から継承されたメソッド
getConfigurationComponent, getReaders, getRobot
 
フィールドの詳細

DEFAULT_SPEED

public static final int DEFAULT_SPEED
関連項目:
定数フィールド値

DEFAULT_ROTATION_SPEED

public static final int DEFAULT_ROTATION_SPEED
関連項目:
定数フィールド値
コンストラクタの詳細

MindstormsNXT.MindstormsNXTDifferentialWheels

public MindstormsNXT.MindstormsNXTDifferentialWheels(MindstormsNXT mindstormsNXT)

MindstormsNXT.MindstormsNXTDifferentialWheels

public MindstormsNXT.MindstormsNXTDifferentialWheels(Connector connector)
メソッドの詳細

initialize

protected void initialize()
オーバーライド:
クラス DifferentialWheelsAbstractImpl 内の initialize

getLeftWheelPort

public int getLeftWheelPort()

setLeftWheelPort

public void setLeftWheelPort(int leftWheelPort)

getRightWheelPort

public int getRightWheelPort()

setRightWheelPort

public void setRightWheelPort(int rightWheelPort)

getRecommendedRotationSpeed

public int getRecommendedRotationSpeed()
インタフェース DifferentialWheels の記述:
Get the recommended value for rotation speed.

getRecommendedSpeed

public int getRecommendedSpeed()
インタフェース DifferentialWheels の記述:
Get the recommended value for default speed.

doDrive

protected boolean doDrive(int leftPower,
                          int rightPower)
定義:
クラス DifferentialWheelsAbstractImpl 内の doDrive

doStopWheels

protected boolean doStopWheels()
定義:
クラス DifferentialWheelsAbstractImpl 内の doStopWheels


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