|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.positionMastering.PositionMasteringInfo
public class PositionMasteringInfo
Container info object for mastering information.
| Constructor Summary | |
|---|---|
PositionMasteringInfo(String toolId,
int jointNumber,
boolean[] masteringStates,
boolean[] hasEncoderReferences,
boolean[] hasToolOffsets)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
areAllJointsMastered()
Checks whether all joints are currently mastered. |
boolean[] |
getHasEncoderReferences()
Returns the encoder reference states for all joints. |
boolean[] |
getHasToolOffsets()
Returns the tool offset states for all joints. |
int |
getJointNumber()
Get joint number. |
boolean |
getMasteringState(int jointIndex)
The mastering state of the given joint. |
boolean[] |
getMasteringStates()
Returns the mastering states for all joints. |
String |
getToolId()
Returns the tool id used to get the mastering info. |
boolean |
hasEncoderReferences(int jointIndex)
The encoder reference state of the given joint. |
boolean |
hasToolOffset(int jointIndex)
The tool offset state of the given joint. |
boolean |
isWithTool()
Checks whether the mastering info has been retrieved with tool. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PositionMasteringInfo(String toolId,
int jointNumber,
boolean[] masteringStates,
boolean[] hasEncoderReferences,
boolean[] hasToolOffsets)
toolId - the ID of the tooljointNumber - the number of jointsmasteringStates - the mastering stateshasEncoderReferences - the encoder reference stateshasToolOffsets - the tool offset states| Method Detail |
|---|
public int getJointNumber()
public boolean getMasteringState(int jointIndex)
jointIndex - the index of the joint
true if the joint is masteredpublic boolean hasEncoderReferences(int jointIndex)
jointIndex - the index of the joint
true if the joint's encoder reference is knownpublic boolean hasToolOffset(int jointIndex)
jointIndex - the index of the joint
true if the joint's tool offset is knownpublic boolean[] getMasteringStates()
public boolean[] getHasEncoderReferences()
public boolean[] getHasToolOffsets()
public String getToolId()
public boolean isWithTool()
true if info has been retrieved with tool, false otherwisepublic boolean areAllJointsMastered()
true if all joints are mastered, false otherwisepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||