jp.digitalmuseum.mr.entity
クラス NetTansor.NetTansorDriver

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

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

入れ子のクラスの概要
 
インタフェース jp.digitalmuseum.mr.resource.Wheels から継承された入れ子のクラス/インタフェース
Wheels.Spin, Wheels.WheelsStatus
 
フィールドの概要
static int DEFAULT_ROTATION_SPEED
           
static int DEFAULT_SPEED
           
 
コンストラクタの概要
NetTansor.NetTansorDriver(Connector connector)
           
NetTansor.NetTansorDriver(NetTansor netTansor)
           
 
メソッドの概要
protected  boolean doDrive(int leftPower, int rightPower)
           
protected  boolean doStopWheels()
           
 int getRecommendedRotationSpeed()
          Get the recommended value for rotation speed.
 int getRecommendedSpeed()
          Get the recommended value for default speed.
protected  void onFree()
          Called when disposing this resource.
Caution: This method should not be called outside this class.
 
クラス jp.digitalmuseum.mr.resource.DifferentialWheelsAbstractImpl から継承されたメソッド
curve, curveLeft, curveRight, drive, getLeftWheelPower, getRightWheelPower, getRotationSpeed, getSpeed, getStatus, goBackward, goForward, initialize, 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
関連項目:
定数フィールド値
コンストラクタの詳細

NetTansor.NetTansorDriver

public NetTansor.NetTansorDriver(NetTansor netTansor)

NetTansor.NetTansorDriver

public NetTansor.NetTansorDriver(Connector connector)
メソッドの詳細

onFree

protected void onFree()
クラス ResourceAbstractImpl の記述:
Called when disposing this resource.
Caution: This method should not be called outside this class.
オーバーライド:
クラス DifferentialWheelsAbstractImpl 内の onFree
関連項目:
ResourceAbstractImpl.free(Object)

getRecommendedSpeed

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

getRecommendedRotationSpeed

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

doStopWheels

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

doDrive

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


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