|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.executionModel.ExecutionContainer
com.kuka.roboticsAPI.controllerModel.sunrise.SunriseExecutionContainer
com.kuka.roboticsAPI.controllerModel.sunrise.SunriseMotionExecutionContainer
public class SunriseMotionExecutionContainer
An ExecutionContainer for Sunrise MOTION controller commands, in
other words, this execution container should be used whenever a motion is
involved.
| Field Summary |
|---|
| Fields inherited from class com.kuka.roboticsAPI.executionModel.ExecutionContainer |
|---|
_containerTypeName |
| Constructor Summary | |
|---|---|
SunriseMotionExecutionContainer(MotionInstruction command,
ExecutorService eventWorker,
IContainerStateListener stateListener,
IMotionContainer motionContainer)
Creates a new instance of the execution container. |
|
| Method Summary | |
|---|---|
String |
getAttachedToolObjectMotionTcp()
Gets the motion TCP of the attached tool objects. |
MotionBatch |
getBatch()
Returns the motion batch, if the executed motion is part of a motion batch, otherwise null. |
MotionInstruction |
getCommand()
Gets the command which was executed within this container. |
IMotionContainer |
getMotionContainer()
Getter. |
long |
getMotionID()
Getter. |
RecoveryInformation |
getRecoveryInformation()
Collects all information needed for the recovery process and returns them as a RecoveryInformation object. |
protected void |
setFinishedState(Primitive eventPrim)
Sets the state of the container to finish depending on the primitive. |
void |
setMotionID(long motionID)
Setter. |
void |
setRecoveryPosAndControlMode(Primitive primitive,
JointPosition recoveryPosition,
IMotionControlMode mode)
Sets the recovery position for the container. |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.SunriseExecutionContainer |
|---|
findPrimitive, getAttachedToolObjects, getDeviceName, getMappingToken, setFiredStopCondition, setMappingToken, setState |
| Methods inherited from class com.kuka.roboticsAPI.executionModel.ExecutionContainer |
|---|
acquireResources, addStateListener, appendErrorMessage, await, await, cancel, getContext, getDefaultParams, getErrorMessage, getFiredBreakConditionInfo, getRuntimeData, getState, hasError, hasFired, isFinished, removeStateListener, setDefaultParams, setErrorMessage, throwContainerException, toString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SunriseMotionExecutionContainer(MotionInstruction command,
ExecutorService eventWorker,
IContainerStateListener stateListener,
IMotionContainer motionContainer)
command - the command for which this container will track the executioneventWorker - the ExecutorService that will be used to send out
events in a different thread. May be null, in this case no
events will be sent out.stateListener - a listener for container state eventsmotionContainer - the motion container containing this execution container| Method Detail |
|---|
public MotionInstruction getCommand()
ExecutionContainer
getCommand in interface ICommandContainergetCommand in class ExecutionContainerpublic MotionBatch getBatch()
public IMotionContainer getMotionContainer()
public void setMotionID(long motionID)
motionID - the motionIDpublic long getMotionID()
public String getAttachedToolObjectMotionTcp()
public RecoveryInformation getRecoveryInformation()
RecoveryInformation object.
public void setRecoveryPosAndControlMode(Primitive primitive,
JointPosition recoveryPosition,
IMotionControlMode mode)
primitive - Primitive which triggered the storage of the recovery data.recoveryPosition - which has to be setmode - control mode of the motionprotected void setFinishedState(Primitive eventPrim)
SunriseExecutionContainer
setFinishedState in class SunriseExecutionContainereventPrim - The primitive on which the state transition depends.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||