|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.api.SPRComponent
com.kuka.roboticsAPI.controllerModel.sunrise.api.Module
com.kuka.roboticsAPI.controllerModel.sunrise.predefinedCompounds.FrameDistanceCalculator
public class FrameDistanceCalculator
Interface class for the Sunrise Frame Distance Calculator module in the RoboticsAPI. The module evaluates whether the calculated distance (the length of the input transformation matrix) is below a threshold value or not.
| Constructor Summary | |
|---|---|
FrameDistanceCalculator()
Creates a new instance. |
|
| Method Summary | |
|---|---|
OutPort |
getCurrentDistance()
The port that will contain a double value which is the current Euclidian distance between target and current position. |
InPort |
getCurrentFrameTrafo()
The port expecting a SerializableTransformationMatrix that
contains (Ori1 Pos1). |
InPort |
getCurrentOrientationTrafo()
The port expecting a SerializableTransformationMatrix that
contains (Ori1 Pos1). |
OutPort |
getIsNear()
The port that will contain a bool value which becomes true if the length of the currentFrameTrafo vector goes below the threshold value given during the initialization of the module. |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.Module |
|---|
getComponentType, getComponentVersion |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.SPRComponent |
|---|
addInPort, addInPort, addOutPort, addOutPort, addParameter, getChecksum, getExpressionSegmentString, getInPort, getInPorts, getInstanceName, getName, getOutPort, getOutPorts, getParameter, getParameterList, getSPR, hasSameDataAs, onAsyncEvent, onFinished, onInitialize, onSerialization, onSPRStateChanged, onSPRStateChangedSync, setInstanceName, setName, toString, tryGetParameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FrameDistanceCalculator()
| Method Detail |
|---|
public InPort getCurrentFrameTrafo()
SerializableTransformationMatrix that
contains (Ori1 Pos1).
public InPort getCurrentOrientationTrafo()
SerializableTransformationMatrix that
contains (Ori1 Pos1).
public OutPort getIsNear()
public OutPort getCurrentDistance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||