|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.api.SPRComponent
com.kuka.roboticsAPI.controllerModel.sunrise.api.Module
com.kuka.roboticsAPI.controllerModel.sunrise.predefinedCompounds.SplineMotionModule
public class SplineMotionModule
Module for spline motions.
| Nested Class Summary | |
|---|---|
static interface |
SplineMotionModule.ISegmentInfoListener
An interface describing the structure of a segment info listener. |
| Field Summary | |
|---|---|
static String |
MODULE_INSTANCENAME
Instance name of the module. |
static String |
MODULE_NAME
Name of the module. |
| Constructor Summary | |
|---|---|
SplineMotionModule(Robot device,
SunriseMappingToken info,
com.kuka.common.params.ParameterSet commandParams,
IMotion motion,
AbstractFrame taskFrame)
Creates an instance of this class. |
|
| Method Summary | |
|---|---|
void |
add(SplineMotionModule.ISegmentInfoListener listener)
Adds a segment info listener to the segment info listener list. |
void |
addPathTriggerDFEParameter(String parameterValue,
String dfeName)
Adds a parameter that defines a DFE for Triggers. |
void |
addResetParameter(boolean reset)
Sets the parameter to reset motion on path. |
MotionEvents.MotionEvent |
checkModuleEvent(Message message)
Checks if the specified message contains an event for this module and determines which event this is. |
OutPort |
getActiveIpoIdOut()
|
OutPort |
getAxCmdOut()
|
InPort |
getAxCmdT1mIn()
|
InPort |
getAxSpeedMsrIn()
|
InPort |
getBaseIn()
Return the Base InPort. |
InPort |
getCartNullSpaceCmdT1mIn()
Return the cartNullSpaceCmdT1m InPort. |
InPort |
getCartNullSpaceMsrIn()
Return the cartNullSpaceMsr InPort. |
OutPort |
getCartPosCmdOut()
|
InPort |
getCartPosFrmCmdT1mIn()
Return the cartPosFrmCmdT1m InPort. |
InPort |
getCartPosFrmMsrIn()
|
long |
getCurrentlyPlannedMotionID()
|
OutPort |
getIpoStoppedOut()
|
OutPort |
getLoadOut()
|
OutPort |
getMotionFinishedOut()
|
long |
getMotionID()
|
OutPort |
getOverrideActOut()
|
InPort |
getOverrideCmdIn()
|
OutPort |
getPathTriggersOut()
|
int |
getQueueLength()
|
OutPort |
getSActOut()
|
InPort |
getStopMotionRequestIn()
|
OutPort |
getStopMotionRequestOut()
|
OutPort |
getTActOut()
|
OutPort |
getToolOut()
|
boolean |
hasSameDataAs(Object obj)
|
void |
onAsyncEvent(Message msg)
Called when a compound event was received. |
protected void |
onFinished()
Called when the SPR in which this compound is added, is finished. |
void |
onSPRStateChangedSync(SPRState newState)
The reset and first motion flags must not be set, when we re-send the paused active SPRs at resume. |
void |
remove(SplineMotionModule.ISegmentInfoListener listener)
Removes a segment info listener from the segment info listener list. |
protected void |
removeResetFlags()
Removes the Reset and IsFirstMotion flags. |
void |
setCurrentlyPlannedMotionID(long id)
|
void |
setQueueLength(int queueLength)
|
String |
toString()
|
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.Module |
|---|
getComponentType, getComponentVersion |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.api.SPRComponent |
|---|
addInPort, addInPort, addOutPort, addOutPort, addParameter, getChecksum, getExpressionSegmentString, getInPort, getInPorts, getInstanceName, getName, getOutPort, getOutPorts, getParameter, getParameterList, getSPR, onInitialize, onSerialization, onSPRStateChanged, setInstanceName, setName, tryGetParameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String MODULE_NAME
public static final String MODULE_INSTANCENAME
| Constructor Detail |
|---|
public SplineMotionModule(Robot device,
SunriseMappingToken info,
com.kuka.common.params.ParameterSet commandParams,
IMotion motion,
AbstractFrame taskFrame)
device - robot for this Motioninfo - Mapping Tokenmotion - the motioncommandParams - Command parameterstaskFrame - Task frame for current motion| Method Detail |
|---|
public int getQueueLength()
public void setQueueLength(int queueLength)
queueLength - the planner queue length to be set.public long getCurrentlyPlannedMotionID()
public void setCurrentlyPlannedMotionID(long id)
id - the motion IDprotected void onFinished()
SPRComponent
onFinished in class SPRComponentpublic void onAsyncEvent(Message msg)
SPRComponent
onAsyncEvent in class SPRComponentmsg - Message containing compound eventpublic void onSPRStateChangedSync(SPRState newState)
onSPRStateChangedSync in class SPRComponentnewState - The new state of the SPR.public OutPort getLoadOut()
public OutPort getAxCmdOut()
getAxCmdOut in interface OverrideMappingHelperpublic OutPort getCartPosCmdOut()
public OutPort getToolOut()
public OutPort getMotionFinishedOut()
public OutPort getOverrideActOut()
getOverrideActOut in interface OverrideMappingHelperpublic OutPort getSActOut()
public OutPort getTActOut()
public OutPort getActiveIpoIdOut()
public OutPort getIpoStoppedOut()
public OutPort getStopMotionRequestOut()
public InPort getBaseIn()
public InPort getCartPosFrmCmdT1mIn()
public InPort getCartPosFrmMsrIn()
public InPort getCartNullSpaceCmdT1mIn()
public InPort getCartNullSpaceMsrIn()
public OutPort getPathTriggersOut()
public InPort getAxCmdT1mIn()
public InPort getAxSpeedMsrIn()
public InPort getOverrideCmdIn()
getOverrideCmdIn in interface OverrideMappingHelperpublic InPort getStopMotionRequestIn()
public long getMotionID()
public MotionEvents.MotionEvent checkModuleEvent(Message message)
message - message to check for the event
public void add(SplineMotionModule.ISegmentInfoListener listener)
listener - The listener which should be added.public void remove(SplineMotionModule.ISegmentInfoListener listener)
listener - The listener which should be removed.public void addResetParameter(boolean reset)
reset - true to reset the interpolation
public void addPathTriggerDFEParameter(String parameterValue,
String dfeName)
parameterValue - value of the parameterdfeName - name of the DFEpublic boolean hasSameDataAs(Object obj)
hasSameDataAs in interface com.kuka.common.IDataEquatablehasSameDataAs in class SPRComponentprotected void removeResetFlags()
public String toString()
SPRComponent
toString in class SPRComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||