|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.mapping.MappingToken<SunriseExecutionContainer>
com.kuka.roboticsAPI.controllerModel.sunrise.mapping.SunriseMappingToken
public class SunriseMappingToken
The mapping information is a supporting class for a mapping process of a robotics API command into a Sunrise-specific command.
| Constructor Summary | |
|---|---|
SunriseMappingToken(SunriseExecutionContainer container,
DeviceMappingSnapshot deviceMappingSnapshot)
Creates a new instance of the mapping information. |
|
| Method Summary | |
|---|---|
void |
addFirstPrimitive(Primitive prim)
Adds the given primitive as first element to the list of primitives. |
void |
addPrimitive(Primitive prim)
Adds the given primitive to the list of primitives. |
void |
addSprAsFirstPrimitive(SPR spr,
boolean setAsCurrentSPR)
Convenience method (backwards compatibility): Adds the given SPR in the front of the list of primitives. |
void |
addSprAsPrimitive(SPR spr)
Convenience method (backwards compatibility): Adds the given SPR to the list of primitives. |
com.kuka.common.params.ParameterSet |
getCombinedParameters(com.kuka.common.params.IParameterSet objectToMapParameter)
Get parameter set combined from parameters of the object to map, default command parameters and default robot parameters. |
Device |
getCurrentDevice()
Gets the current device for the current mapping process. |
SPR |
getCurrentSPR()
Gets the current SPR for the current mapping process. |
ObjectFrame |
getDefaultMotionFrame()
Gets the defaultMotionFrame data field. |
DeviceMappingSnapshot |
getDeviceMappingSnapshot()
|
Primitive |
getLastPrimitive()
Gets the last mapped primitive. |
LoadData |
getLoadData()
Gets the load data for the current robot. |
List<Primitive> |
getPrimitives()
Gets the primitives for the container. |
int |
getTriggerCounter()
|
RobotObserver |
getUniqueRobotObserverInstance(Robot robot,
SPR spr)
Gets a unique robot observer instance for one complete mapping process. |
void |
setCurrentDevice(Device currentDevice)
Sets the current device for the current mapping process and calculates the load data. |
void |
setCurrentSPR(SPR spr)
Sets the current SPR for the current mapping process. |
void |
setDefaultMotionFrame(ObjectFrame defaultMotionFrame)
Sets the defaultMotionFrame data field. |
void |
setTriggerCounter(int triggerCounter)
|
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.mapping.MappingToken |
|---|
getContainer, getDefaultParams, getObjectToMap, getOriginalCommand, getTag, setObjectToMap, setTag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SunriseMappingToken(SunriseExecutionContainer container,
DeviceMappingSnapshot deviceMappingSnapshot)
container - The container which holds the command that should be mapped.deviceMappingSnapshot - The mapping snapshot of the currently used device| Method Detail |
|---|
public List<Primitive> getPrimitives()
public Primitive getLastPrimitive()
public void addSprAsPrimitive(SPR spr)
spr - The spr which should be added.
public void addSprAsFirstPrimitive(SPR spr,
boolean setAsCurrentSPR)
spr - The spr which should be added.setAsCurrentSPR - set the SPR as current SPR?public void addPrimitive(Primitive prim)
prim - The primitive which should be added.public void addFirstPrimitive(Primitive prim)
prim - The primitive which should be added.public SPR getCurrentSPR()
setCurrentSPR(SPR).
public void setCurrentSPR(SPR spr)
spr - The SPR for the current mapping process.public Device getCurrentDevice()
public com.kuka.common.params.ParameterSet getCombinedParameters(com.kuka.common.params.IParameterSet objectToMapParameter)
objectToMapParameter - parameter set of the object to map.
public void setCurrentDevice(Device currentDevice)
currentDevice - The current device for the current mapping process.public void setDefaultMotionFrame(ObjectFrame defaultMotionFrame)
defaultMotionFrame - The defaultMotionFrame.public ObjectFrame getDefaultMotionFrame()
public LoadData getLoadData()
public RobotObserver getUniqueRobotObserverInstance(Robot robot,
SPR spr)
robot - The robot which should be observed.spr - The parent spr.
public DeviceMappingSnapshot getDeviceMappingSnapshot()
public int getTriggerCounter()
public void setTriggerCounter(int triggerCounter)
triggerCounter - the trigger counter used for indexing the trigger DFEs within
1 motion
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||