BowlerKernel
|
Private Attributes | |
AnalogInputChannel | channel |
Additional Inherited Members | |
![]() | |
void | setPosition (double val) |
void | setTargetValue (double val) |
The Class AnalogPrismaticLink.
Definition at line 11 of file AnalogPrismaticLink.java.
com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.AnalogPrismaticLink | ( | AnalogInputChannel | c, |
LinkConfiguration | conf | ||
) |
Instantiates a new analog prismatic link.
c | the c |
conf | the conf |
Definition at line 22 of file AnalogPrismaticLink.java.
References com.neuronrobotics.sdk.addons.kinematics.AbstractLink.conf, and com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.setAnalogChannel().
void com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.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 32 of file AnalogPrismaticLink.java.
void com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.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 48 of file AnalogPrismaticLink.java.
void com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.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 40 of file AnalogPrismaticLink.java.
AnalogInputChannel com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.getChannel | ( | ) |
Gets the channel.
Definition at line 79 of file AnalogPrismaticLink.java.
References com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.channel.
Referenced by com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.getCurrentPosition(), and com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.onAnalogValueChange().
double com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.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 56 of file AnalogPrismaticLink.java.
References com.neuronrobotics.sdk.addons.kinematics.AbstractLink.fireLinkListener(), com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.getChannel(), and com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral.getValue().
void com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.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 87 of file AnalogPrismaticLink.java.
References com.neuronrobotics.sdk.addons.kinematics.AbstractLink.fireLinkListener(), and com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.getChannel().
void com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.setAnalogChannel | ( | AnalogInputChannel | channel | ) |
Sets the analog channel.
channel | the new analog channel |
Definition at line 67 of file AnalogPrismaticLink.java.
References com.neuronrobotics.sdk.dyio.peripherals.AnalogInputChannel.addAnalogInputListener(), com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.channel, and com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral.configAdvancedAsyncNotEqual().
Referenced by com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.AnalogPrismaticLink().
|
private |
The channel.
Definition at line 14 of file AnalogPrismaticLink.java.
Referenced by com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.getChannel(), and com.neuronrobotics.sdk.addons.kinematics.AnalogPrismaticLink.setAnalogChannel().