|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.commandModel.Action<T>
com.kuka.roboticsAPI.motionModel.Motion<T>
com.kuka.roboticsAPI.motionModel.KROSMotion<T>
com.kuka.roboticsAPI.motionModel.RobotMotion<MotionBatch>
com.kuka.roboticsAPI.motionModel.MotionBatch
public class MotionBatch
Represents a list of motions that are executed one after another within a single motion sequence.
| Constructor Summary | |
|---|---|
MotionBatch(RobotMotion<?>... motions)
Creates a new motion batch. |
|
| Method Summary | |
|---|---|
void |
acquireResources(Device device)
Prepares the action. |
Collection<ICondition> |
getConditions()
Gets all conditions defined for this motion. |
protected List<IMotionOverlay> |
getMotionOverlaySupport()
Gets the motion overlay parameter. |
List<RobotMotion<?>> |
getMotions()
Gets the motions in the batch. |
protected List<ICondition> |
getSCSupport()
Gets the condition parameter. |
protected List<com.kuka.common.Pair<ICondition,ITriggerAction>> |
getTriggerSupport()
Gets the trigger parameter. |
boolean |
hasConditions()
Returns true if there are conditions defined for this
motion. |
boolean |
hasMotionOverlay()
Returns true if there are motion overlays defined for this
motion. |
void |
releaseResources(Device device)
Called when the instruction which is associated with the action is released. |
String |
toString()
|
| Methods inherited from class com.kuka.roboticsAPI.motionModel.KROSMotion |
|---|
addMotionOverlay, breakWhen, getMode, hasTrigger, isApplicableFor, setMode, triggerWhen |
| Methods inherited from class com.kuka.roboticsAPI.commandModel.Action |
|---|
addParameter, addParams, getParams, removeParameter, self |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.kuka.roboticsAPI.motionModel.IParameterizable |
|---|
getParams |
| Constructor Detail |
|---|
public MotionBatch(RobotMotion<?>... motions)
motions - The motions in the batch.| Method Detail |
|---|
public List<RobotMotion<?>> getMotions()
protected List<ICondition> getSCSupport()
KROSMotion
getSCSupport in class KROSMotion<MotionBatch>protected List<com.kuka.common.Pair<ICondition,ITriggerAction>> getTriggerSupport()
KROSMotion
getTriggerSupport in class KROSMotion<MotionBatch>protected List<IMotionOverlay> getMotionOverlaySupport()
KROSMotion
getMotionOverlaySupport in class KROSMotion<MotionBatch>public Collection<ICondition> getConditions()
KROSMotion
getConditions in interface IKROSMotiongetConditions in class KROSMotion<MotionBatch>public boolean hasConditions()
true if there are conditions defined for this
motion.
hasConditions in interface IKROSMotionhasConditions in class KROSMotion<MotionBatch>true if there are conditions set for this motion.public boolean hasMotionOverlay()
IKROSMotiontrue if there are motion overlays defined for this
motion.
hasMotionOverlay in interface IKROSMotionhasMotionOverlay in class KROSMotion<MotionBatch>true if there are motion overlays set for this
motion.public String toString()
toString in class Objectpublic void acquireResources(Device device)
KROSMotionAn action is part of an instruction, and the prepare method passes the device part of the instruction to the action so that it can determine if the device is appropriate for the action.
acquireResources in interface IActionacquireResources in class KROSMotion<MotionBatch>device - The device part of the instruction in which the action is
contained.public void releaseResources(Device device)
Action
releaseResources in interface IActionreleaseResources in class Action<MotionBatch>device - The device part of the instruction in which the action is
contained.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||