BowlerKernel
|
Private Attributes | |
AnalogInputChannel | channel |
Additional Inherited Members | |
![]() | |
void | setPosition (double val) |
void | setTargetValue (double val) |
The Class AnalogRotoryLink.
Definition at line 11 of file AnalogRotoryLink.java.
com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.AnalogRotoryLink | ( | AnalogInputChannel | c, |
LinkConfiguration | conf | ||
) |
Instantiates a new analog rotory link.
c | the c |
conf | the conf |
Definition at line 22 of file AnalogRotoryLink.java.
References com.neuronrobotics.sdk.addons.kinematics.AbstractLink.conf, and com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.setAnalogChannel().
void com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.cacheTargetValueDevice | ( | ) |
This method is called in order to take the target value and pass it to the implementation's target value This method should not alter the position of the implementations link If the implementation target does not handle chached values, this should be chached in code.
Reimplemented from com.neuronrobotics.sdk.addons.kinematics.AbstractLink.
Definition at line 31 of file AnalogRotoryLink.java.
void com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.flushAllDevice | ( | double | time | ) |
This method will force one link to update its position in the given time (seconds) This will also flush the host controller.
time | (seconds) for the position update to take |
Reimplemented from com.neuronrobotics.sdk.addons.kinematics.AbstractLink.
Definition at line 47 of file AnalogRotoryLink.java.
void com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.flushDevice | ( | double | time | ) |
This method will force one link to update its position in the given time (seconds).
time | (seconds) for the position update to take |
Reimplemented from com.neuronrobotics.sdk.addons.kinematics.AbstractLink.
Definition at line 39 of file AnalogRotoryLink.java.
AnalogInputChannel com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.getChannel | ( | ) |
Gets the channel.
Definition at line 78 of file AnalogRotoryLink.java.
References com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.channel.
Referenced by com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.getCurrentPosition(), and com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.onAnalogValueChange().
double com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.getCurrentPosition | ( | ) |
This method should return the current position of the link This method is expected to perform a communication with the device .
Reimplemented from com.neuronrobotics.sdk.addons.kinematics.AbstractLink.
Definition at line 55 of file AnalogRotoryLink.java.
References com.neuronrobotics.sdk.addons.kinematics.AbstractLink.fireLinkListener(), com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.getChannel(), and com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral.getValue().
void com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.onAnalogValueChange | ( | AnalogInputChannel | chan, |
double | value | ||
) |
IAnalogInputListener.
chan | the chan |
value | The value of the analog channel is sent to listeners |
Implements com.neuronrobotics.sdk.dyio.peripherals.IAnalogInputListener.
Definition at line 86 of file AnalogRotoryLink.java.
References com.neuronrobotics.sdk.addons.kinematics.AbstractLink.fireLinkListener(), and com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.getChannel().
void com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.setAnalogChannel | ( | AnalogInputChannel | channel | ) |
Sets the analog channel.
channel | the new analog channel |
Definition at line 66 of file AnalogRotoryLink.java.
References com.neuronrobotics.sdk.dyio.peripherals.AnalogInputChannel.addAnalogInputListener(), com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.channel, and com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral.configAdvancedAsyncNotEqual().
Referenced by com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.AnalogRotoryLink().
|
private |
The channel.
Definition at line 14 of file AnalogRotoryLink.java.
Referenced by com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.getChannel(), and com.neuronrobotics.sdk.addons.kinematics.AnalogRotoryLink.setAnalogChannel().