|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPositionMastering
This interface offers functions for the mastering functionality.
| Method Summary | |
|---|---|
void |
activateNotchDetection(int jointIndex)
Activate the recording of the mastering device and the recognition of the mastering notch (resetIpoHome and activateIpoHome). |
com.kuka.roboticsAPI.deviceModel.MasteringCheckResult |
checkMastering(int jointIndex,
String toolId,
com.kuka.roboticsAPI.deviceModel.MasteringMethod masteringMethod,
int mamesOffsetSign)
Checks the mastering and tool offset. |
Map<Integer,int[]> |
getCoupledJoints()
Returns for each joint an array with the corresponding coupled joints. |
com.kuka.roboticsAPI.deviceModel.MasteringDeviceState |
getMasteringDeviceState()
Returns the state of the mastering device, i.e. if it is connected to the controller and if it has detected contact, i.e. the axis is in the mastering range |
PositionMasteringInfo |
getMasteringInfo(String toolId)
Returns the current complete state of the position mastering for all axes. |
boolean[] |
getMasteringStates()
Returns the current states of position mastering for the all axes/joints. |
PositionRange |
getPositionRangeState(int jointIndex)
Returns the current position range state. |
boolean |
isNotchDetected(int jointIndex)
Checks if the mastering notch has been detected. |
com.kuka.roboticsAPI.deviceModel.ToolOffsetValidity |
learnToolOffset(int jointIndex,
String toolId,
com.kuka.roboticsAPI.deviceModel.MasteringMethod masteringMethod,
int mamesOffsetSign)
Learns the tool offset and saves it under the given tool identifier if the returned toolOffsetValidity is not illegal (0). |
void |
masterPosition(int jointIndex,
String toolId,
com.kuka.roboticsAPI.deviceModel.MasteringMethod masteringMethod,
int mamesOffsetSign)
Performs the position mastering of the given axis. |
void |
resetNotchDetection(int jointIndex)
Resets the recording of the mastering device (resetIpoHome). |
void |
saveOnDevice()
Save the mastering data (encoder references and tool offsets) on the device. |
void |
setPosition(int jointIndex,
String toolId,
double newMotorPosition,
double newEncoderReference)
Sets the motor position and encoder reference values. |
void |
setStandardPositionControllerRequest(int jointIndex,
boolean isStandardPositionControllerRequested)
Sets the request for the standard position controller. |
ToolOffsetMemoryStatus |
setToolIds(String[] toolIds)
Receives a list with the toolIds of all configured tools, removes all entries in the cal file which are not contained in the received list, and returns the current and maximal possible number of tools with tool offsets in the cal file. |
void |
setToolOffset(int jointIndex,
String toolId,
double newToolOffset)
Sets the tool offset. |
void |
unmasterPosition(int jointIndex)
Invalidates the position of the given axis/joint. |
| Method Detail |
|---|
Map<Integer,int[]> getCoupledJoints()
PositionMasteringInfo getMasteringInfo(String toolId)
toolId - the tool identifier ["NO_TOOL"|UUID], may be null (=="NO_TOOL")
boolean[] getMasteringStates()
void unmasterPosition(int jointIndex)
jointIndex - zero based index of the axis/joint
PositionRange getPositionRangeState(int jointIndex)
throws PositionRangeException
jointIndex - zero based index of the axis/joint
PositionRangeException - if something went wrongcom.kuka.roboticsAPI.deviceModel.MasteringDeviceState getMasteringDeviceState()
void setStandardPositionControllerRequest(int jointIndex,
boolean isStandardPositionControllerRequested)
jointIndex - zero based index of the axis/jointisStandardPositionControllerRequested - flag signaling the request for the standard position controllervoid resetNotchDetection(int jointIndex)
jointIndex - zero based index of the axis/jointvoid activateNotchDetection(int jointIndex)
jointIndex - zero based index of the axis/jointboolean isNotchDetected(int jointIndex)
jointIndex - zero based index of the axis/joint
true if the mastering position was found, otherwise false.ToolOffsetMemoryStatus setToolIds(String[] toolIds)
toolIds - an array with current tool ids
void masterPosition(int jointIndex,
String toolId,
com.kuka.roboticsAPI.deviceModel.MasteringMethod masteringMethod,
int mamesOffsetSign)
jointIndex - zero based index of the axis/jointtoolId - tool identifier ["NO_TOOL"|UUID], may be null (=="NO_TOOL")masteringMethod - the used methodmamesOffsetSign - the mames offset sign
com.kuka.roboticsAPI.deviceModel.ToolOffsetValidity learnToolOffset(int jointIndex,
String toolId,
com.kuka.roboticsAPI.deviceModel.MasteringMethod masteringMethod,
int mamesOffsetSign)
jointIndex - zero based index of the axis/jointtoolId - tool identifier [UUID]masteringMethod - the used methodmamesOffsetSign - the mames offset sign
com.kuka.roboticsAPI.deviceModel.MasteringCheckResult checkMastering(int jointIndex,
String toolId,
com.kuka.roboticsAPI.deviceModel.MasteringMethod masteringMethod,
int mamesOffsetSign)
jointIndex - zero based index of the axis/jointtoolId - tool identifier ["NO_TOOL"|UUID], may be null (=="NO_TOOL")masteringMethod - the used methodmamesOffsetSign - the mames offset sign
void setPosition(int jointIndex,
String toolId,
double newMotorPosition,
double newEncoderReference)
jointIndex - zero based index of the axis/jointtoolId - tool identifier ["NO_TOOL"|UUID], may be null (=="NO_TOOL")newMotorPosition - the new motor positionnewEncoderReference - the new encoder reference
void setToolOffset(int jointIndex,
String toolId,
double newToolOffset)
jointIndex - zero based index of the axis/jointtoolId - tool identifier [UUID]newToolOffset - the new tool offsetvoid saveOnDevice()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||