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.DifferentialWheelsAbstractImpl から継承されたメソッド | 
curve, curveLeft, curveRight, drive, getLeftWheelPower, getRightWheelPower, getRotationSpeed, getSpeed, getStatus, goBackward, goForward, onFree, setRotationSpeed, setSpeed, setStatus, spin, spinLeft, spinRight, stopWheels | 
 
 
 
| クラス java.lang.Object から継承されたメソッド | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
 
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/