|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object jp.digitalmuseum.mr.entity.ResourceAbstractImpl jp.digitalmuseum.mr.entity.PhysicalResourceAbstractImpl jp.digitalmuseum.mr.entity.Noopy2.NoopyExtension jp.digitalmuseum.mr.entity.Noopy2.ServoMotorController
public static class Noopy2.ServoMotorController
コンストラクタの概要 | |
---|---|
Noopy2.ServoMotorController(Noopy2 noopy,
Noopy2.Port port)
|
メソッドの概要 | |
---|---|
void |
drive(int angle)
|
int |
getAngle()
|
int |
getSpeed()
|
protected void |
onFree()
Called when disposing this resource. Caution: This method should not be called outside this class. |
void |
setSpeed(int speed)
|
void |
stop()
|
クラス jp.digitalmuseum.mr.entity.Noopy2.NoopyExtension から継承されたメソッド |
---|
getPort, getPortNumber, getPortType, getRobot |
クラス jp.digitalmuseum.mr.entity.PhysicalResourceAbstractImpl から継承されたメソッド |
---|
getConnector, setConnector |
クラス jp.digitalmuseum.mr.entity.ResourceAbstractImpl から継承されたメソッド |
---|
getConfigurationComponent, getReaders, 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 |
コンストラクタの詳細 |
---|
public Noopy2.ServoMotorController(Noopy2 noopy, Noopy2.Port port)
メソッドの詳細 |
---|
protected void onFree()
ResourceAbstractImpl
の記述:ResourceAbstractImpl
内の onFree
ResourceAbstractImpl.free(Object)
public void drive(int angle)
public int getAngle()
public void stop()
public void setSpeed(int speed)
speed
- Speed (0-255)public int getSpeed()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |