|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PositionRange>
com.kuka.roboticsAPI.controllerModel.sunrise.positionMastering.PositionRange
public enum PositionRange
Defines the different possible position range states.
| Enum Constant Summary | |
|---|---|
MASTERING_RANGE
Drive is located at the alignment element. |
|
NEGATIVE_BARRIER
Drive stands in the negative barrier. |
|
NEGATIVE_RANGE
Drive is located in the area defined by the mathematically negative direction of rotation and the alignment element. |
|
POSITIVE_BARRIER
Drive stands in the positive barrier. |
|
POSITIVE_RANGE
Drive is located in the area defined by the mathematically positive direction of rotation and the alignment element. |
|
UNKNOWN_RANGE
Current range is unknown. => It is necessary to move the axis in order to determine the current position range. |
|
| Method Summary | |
|---|---|
static PositionRange |
getNextNegativeRange(PositionRange currentPositionRange)
Returns the next range in negative turning direction. |
static PositionRange |
getNextPositiveRange(PositionRange currentPositionRange)
Returns the next range in positive turning direction. |
int |
getStateId()
|
static PositionRange |
valueOf(int state)
Returns the PositionRange representation of the position range state given as integer. |
static int |
valueOf(PositionRange positionRange)
Return the int representation of the given PositionRange. |
static PositionRange |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PositionRange[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PositionRange POSITIVE_BARRIER
public static final PositionRange POSITIVE_RANGE
public static final PositionRange MASTERING_RANGE
public static final PositionRange NEGATIVE_RANGE
public static final PositionRange NEGATIVE_BARRIER
public static final PositionRange UNKNOWN_RANGE
| Method Detail |
|---|
public static PositionRange[] values()
for (PositionRange c : PositionRange.values()) System.out.println(c);
public static PositionRange valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
public static PositionRange valueOf(int state)
throws PositionRangeException
state - the position range state given as integer.
PositionRangeException - if the state could not be mapped to a rangepublic static int valueOf(PositionRange positionRange)
int representation of the given PositionRange.
positionRange - The given PositionRange.
int representation of the given PositionRange.public static PositionRange getNextPositiveRange(PositionRange currentPositionRange)
POSITIVE_BARRIER.
currentPositionRange - The current PositionRange.
PositionRange#PositiveBarrier.public static PositionRange getNextNegativeRange(PositionRange currentPositionRange)
NEGATIVE_BARRIER.
currentPositionRange - The current PositionRange.
PositionRange#NegativeBarrier.public int getStateId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||