|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.Primitive
com.kuka.roboticsAPI.controllerModel.sunrise.SprPrimitive
com.kuka.roboticsAPI.controllerModel.sunrise.MotionSprPrimitive
public class MotionSprPrimitive
Primitiv Klasse für die MotionSPR die für jede Bewegung einen eigenen SPR abbilden. Gegenstück zu MotionStackPrimitive für Einzel-SPR. Übernimmt das Compound-Eventhandling für Segmentevents.
| Constructor Summary | |
|---|---|
MotionSprPrimitive(SunriseExecutionContainer container,
SPR motionSPR)
Creates a new instance of this MotionSprPrimitive. |
|
| Method Summary | |
|---|---|
void |
addRuntimeData(SplineRuntimeData splineRuntimeData)
Adds the SplineRuntimeData, which handles the onCurrentSegmentChanged events. |
protected void |
handleSprCompoundEvent(SPR spr,
Message msg)
Called when one of the SPR compounds has thrown an event. |
boolean |
isIgnoreMotionSegmentEndSignal()
|
void |
setIgnoreMotionSegmentEndSignal(boolean ignoreSegmentEndSignal)
Set flag if container should be finished when motion SPR is finished instead of finishing when SEGMENT_END arrives, e.g. for "keep it shaking", i.e. wait until the shaking pattern has reached its final phase in JointSineImpedanceControlMode. |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.SprPrimitive |
|---|
cancel, canResumeAfterPause, getAllSprs, getSPR, handleSprStateChanged, toString, unregisterAllSprListener |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.Primitive |
|---|
addStateListener, createFiredConditionInfo, getContainer, getRedundancy, getState, mapSunriseStateToCommandState, registerAsSprListener, removeStateListener, setState, stateFromSpr, unregisterAsSprListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MotionSprPrimitive(SunriseExecutionContainer container,
SPR motionSPR)
container - the container that this primitive belongs tomotionSPR - the SPR that makes up this primitive| Method Detail |
|---|
protected void handleSprCompoundEvent(SPR spr,
Message msg)
Primitive
handleSprCompoundEvent in class Primitivespr - The SPR whose compound has thrown an event.msg - compound event message.public void addRuntimeData(SplineRuntimeData splineRuntimeData)
splineRuntimeData - the handlerpublic boolean isIgnoreMotionSegmentEndSignal()
public void setIgnoreMotionSegmentEndSignal(boolean ignoreSegmentEndSignal)
ignoreSegmentEndSignal - true if container should be finished when motion SPR is finished instead of finishing when SEGMENT_END
arrives.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||