|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.conditionModel.AbstractCondition
com.kuka.roboticsAPI.conditionModel.FrameDistanceCondition
public class FrameDistanceCondition
A Frame Distance Condition is a Condition which allows the monitoring of the cartesian distance between two given.
The distance is compared to a given threshold value. The Condition is true when the cartesian distance
is below the threshold.
| Constructor Summary | |
|---|---|
FrameDistanceCondition(AbstractFrame frameA,
AbstractFrame frameB,
double distanceThreshold)
Creates a new instance of the Frame Distance Condition. |
|
| Method Summary | |
|---|---|
Controller |
getController()
Return the controller referred to by this condition. |
double |
getDistanceTreshold()
Gets the distance threshold value. |
AbstractFrame |
getFixedFrame()
Gets the frame for the fixed point. |
AbstractFrame |
getFrameA()
Gets frameA which is used in the condition to measure the distance to. |
AbstractFrame |
getFrameB()
Gets frameB which is used in the condition to measure the distance to. |
AbstractFrame |
getMovingFrame()
Gets the frame for the moving point. |
Robot |
getRobotAttachedToMovingFrame()
Gets the robot attached to the Moving frame. |
String |
toString()
|
| Methods inherited from class com.kuka.roboticsAPI.conditionModel.AbstractCondition |
|---|
and, invert, or, xor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FrameDistanceCondition(AbstractFrame frameA,
AbstractFrame frameB,
double distanceThreshold)
Operation: This condition measures the cartesian distance between the two given frames. The Condition is
true, when the distance is below the given threshold.
frameA - One of the AbstractFrames between which the distance is evaluated. Must not be null.frameB - One of the AbstractFrames between which the distance is evaluated. Must not be null.distanceThreshold - The distance threshold value in [mm]. If the measured distance between frameA and frameB is below
this threshold value then the condition is evaluated as true. Must be greater than zero.
IllegalArgumentException - If an invalid argument is given
com.kuka.common.exceptions.NotSupportedException - If a dynamic frame other than a flange descendant is given| Method Detail |
|---|
public AbstractFrame getFrameA()
public AbstractFrame getFrameB()
public AbstractFrame getMovingFrame()
IllegalStateException - If there is no frame attached to a robot flange or both frames are attached to a robot flange (both
are moving frames).public AbstractFrame getFixedFrame()
IllegalStateException - If there is no frame attached to a robot flange or both frames are attached to a robot flange (both
are moving frames).public Robot getRobotAttachedToMovingFrame()
IllegalStateException - If there is no frame attached to a robot flange or both frames are attached to a robot flange (both
are moving frames).public double getDistanceTreshold()
public String toString()
toString in class Objectpublic Controller getController()
AbstractCondition
getController in class AbstractCondition
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||