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