|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.mapping.FrameGraphHelper
public final class FrameGraphHelper
Helper class to parameterize and map the sunriseFrameGraph.
| Method Summary | |
|---|---|
static void |
checkExactlyOneDynamicFrame(AbstractFrame dynamicFrame)
Checks that there is no more than one dynamic frame on the path to scenegraph root. |
static void |
checkTaskFrameInWorld(AbstractFrame taskFrame,
Robot robot)
Checks that the task frame is not connected to a robot flange. |
static ISunriseSensorModuleConfig |
checkTransformationProvider(AbstractFrame dynamicFrame)
Checks whether a dynamic frame has an active transformation provider of type ISunriseSensorModuleConfig. |
static AbstractFrame |
searchTaskFrame(AbstractFrame targetFrame)
Search the (possibly dynamic) task frame for the motion interpolation in the configured scenegraph. |
static FrameDefinitionList |
targetFrameMapping(FrameDefinitionList frameGraph,
SunriseMappingToken info,
Robot robot,
AbstractFrame taskFrame,
AbstractFrame targetFrame)
Configures the frame graph so that the transformation from robot root to robot flange for a given target frame can be computed. |
static void |
taskFrameMapping(FrameDefinitionList frameGraph,
SunriseMappingToken info,
Robot robot,
DeviceMappingResult robotPorts,
AbstractFrame taskFrame)
Configures the frame to be used for interpolation on a (possibly dynamic) task frame. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ISunriseSensorModuleConfig checkTransformationProvider(AbstractFrame dynamicFrame)
dynamicFrame - the dynamic frame whose transformation provider should be checked
IllegalArgumentException - if the transformation provider is of wrong type
IllegalStateException - if the transformation provider is not active
public static void checkTaskFrameInWorld(AbstractFrame taskFrame,
Robot robot)
taskFrame - the task frame that should be checkedrobot - the robot instance
IllegalArgumentException - if the task frame is a child of robot flangepublic static void checkExactlyOneDynamicFrame(AbstractFrame dynamicFrame)
dynamicFrame - the dynamic frame that should be checked
IllegalArgumentException - if the given frame is not dynamic
IllegalArgumentException - if more than one frame on the path to scenegraph root is dynamic
public static FrameDefinitionList targetFrameMapping(FrameDefinitionList frameGraph,
SunriseMappingToken info,
Robot robot,
AbstractFrame taskFrame,
AbstractFrame targetFrame)
frameGraph - the frame definitionsinfo - the sunrise mapping tokenrobot - the robottaskFrame - the task frame (reference CS for interpolation)targetFrame - the target frame
public static void taskFrameMapping(FrameDefinitionList frameGraph,
SunriseMappingToken info,
Robot robot,
DeviceMappingResult robotPorts,
AbstractFrame taskFrame)
frameGraph - the frame definitionsinfo - the sunrise mapping tokenrobot - the robotrobotPorts - the robot portstaskFrame - the task frame (reference CS for interpolation)public static AbstractFrame searchTaskFrame(AbstractFrame targetFrame)
targetFrame - the target frame
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||