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
,
直列化された形式
メソッドの概要 |
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 |
クラス 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
- 関連項目:
- 定数フィールド値
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/