|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.geometricModel.ToolUtilities
public final class ToolUtilities
Helper class which implements some additional methods that are needed on Tools and PhysicalObjects.
| Field Summary | |
|---|---|
static String |
ATTACHED_TOOL_OBJECT_NAME
The name of the application tool. |
| Method Summary | |
|---|---|
static void |
addChildFramesRec(PhysicalObject obj,
ObjectFrame parent,
List<ObjectFrame> children)
Adds all child frames to the specified physical object. |
static boolean |
compare(Tool tool1,
Tool tool2)
Compares two tools with each other. |
static Tool |
createApplicationTool(IControllerCommand controllerCommand)
Creates the application tool for the specified controller command. |
static Tool |
createDefaultApplicationTool()
Creates a default application tool (without child frames and load). |
static String |
getAttachedToolObjectMotionTcp(Tool tool)
Calculates a string that represents tool's default motion frame (smartHMI protocol compatibility). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ATTACHED_TOOL_OBJECT_NAME
| Method Detail |
|---|
public static boolean compare(Tool tool1,
Tool tool2)
tool1 - name of the first tool to comparetool2 - name of the second tool to compare
public static void addChildFramesRec(PhysicalObject obj,
ObjectFrame parent,
List<ObjectFrame> children)
obj - the physical object where the frames should be added to.parent - the parent frame for the child frames.children - the children to add.public static Tool createDefaultApplicationTool()
public static Tool createApplicationTool(IControllerCommand controllerCommand)
MotionInstruction,
if applicable.
controllerCommand - the controller command (can be null).
public static String getAttachedToolObjectMotionTcp(Tool tool)
tool - the application tool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||