BowlerKernel
|
Private Attributes | |
PIDChannel | channel |
Additional Inherited Members | |
![]() | |
void | setPosition (double val) |
void | setTargetValue (double val) |
The Class PidPrismaticLink.
Definition at line 12 of file PidPrismaticLink.java.
com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.PidPrismaticLink | ( | PIDChannel | c, |
LinkConfiguration | conf, | ||
boolean | b | ||
) |
Instantiates a new pid prismatic link.
c | the c |
conf | the conf |
b |
Definition at line 24 of file PidPrismaticLink.java.
References com.neuronrobotics.sdk.addons.kinematics.AbstractLink.conf, com.neuronrobotics.sdk.addons.kinematics.LinkConfiguration.setDeviceTheoreticalMax(), com.neuronrobotics.sdk.addons.kinematics.LinkConfiguration.setDeviceTheoreticalMin(), com.neuronrobotics.sdk.addons.kinematics.LinkConfiguration.setPauseEvents(), and com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.setPIDChannel().
void com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.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 42 of file PidPrismaticLink.java.
References com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.channel, com.neuronrobotics.sdk.addons.kinematics.AbstractLink.getTargetValue(), and com.neuronrobotics.sdk.pid.PIDChannel.setCachedTargetValue().
void com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.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 59 of file PidPrismaticLink.java.
References com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.channel, com.neuronrobotics.sdk.addons.kinematics.AbstractLink.fireLinkListener(), com.neuronrobotics.sdk.namespace.bcs.pid.IPidControlNamespace.flushPIDChannels(), com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.getCurrentPosition(), and com.neuronrobotics.sdk.pid.PIDChannel.getPid().
void com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.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 50 of file PidPrismaticLink.java.
References com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.channel, com.neuronrobotics.sdk.addons.kinematics.AbstractLink.fireLinkListener(), com.neuronrobotics.sdk.pid.PIDChannel.flush(), and com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.getCurrentPosition().
double com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.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 69 of file PidPrismaticLink.java.
References com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.channel, and com.neuronrobotics.sdk.pid.PIDChannel.GetPIDPosition().
Referenced by com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.flushAllDevice(), and com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.flushDevice().
PIDChannel com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.getPIDChannel | ( | ) |
Gets the PID channel.
Definition at line 100 of file PidPrismaticLink.java.
References com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.channel.
void com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.setPIDChannel | ( | PIDChannel | channel | ) |
Sets the PID channel.
channel | the new PID channel |
Definition at line 79 of file PidPrismaticLink.java.
References com.neuronrobotics.sdk.pid.PIDChannel.addPIDEventListener(), com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.channel, com.neuronrobotics.sdk.addons.kinematics.AbstractLink.fireLinkListener(), and com.neuronrobotics.sdk.pid.PIDEvent.getValue().
Referenced by com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.PidPrismaticLink().
|
private |
The channel.
Definition at line 15 of file PidPrismaticLink.java.
Referenced by com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.cacheTargetValueDevice(), com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.flushAllDevice(), com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.flushDevice(), com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.getCurrentPosition(), com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.getPIDChannel(), and com.neuronrobotics.sdk.addons.kinematics.PidPrismaticLink.setPIDChannel().