com.kuka.roboticsAPI.deviceModel
Enum MasteringDeviceState

java.lang.Object
  extended by java.lang.Enum<MasteringDeviceState>
      extended by com.kuka.roboticsAPI.deviceModel.MasteringDeviceState
All Implemented Interfaces:
Serializable, Comparable<MasteringDeviceState>

public enum MasteringDeviceState
extends Enum<MasteringDeviceState>

States of the mastering device (EMD, MMD). This device can be: - the electronic mastering device (EMD), which is used to master industrial robots (e.g. Agilus). This device is external and is mounted to the gauge cartridges, which can be found on the surface of the robot. - the magnetic mastering device (MMD), which is used to master the LBR IIWA.


Enum Constant Summary
AXIS_IN_MASTERING_RANGE
          The mastering device is connected and detected the mastering range.
CONNECTED
          The mastering device is connected.
DISCONNECTED
          The mastering device is disconnected.
 
Method Summary
static MasteringDeviceState valueOf(int state)
          Returns the MasteringDeviceState representation of the mastering device state given as integer.
static MasteringDeviceState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MasteringDeviceState[] 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

DISCONNECTED

public static final MasteringDeviceState DISCONNECTED
The mastering device is disconnected.


CONNECTED

public static final MasteringDeviceState CONNECTED
The mastering device is connected.


AXIS_IN_MASTERING_RANGE

public static final MasteringDeviceState AXIS_IN_MASTERING_RANGE
The mastering device is connected and detected the mastering range.

Method Detail

values

public static MasteringDeviceState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MasteringDeviceState c : MasteringDeviceState.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MasteringDeviceState valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

valueOf

public static MasteringDeviceState valueOf(int state)
Returns the MasteringDeviceState representation of the mastering device state given as integer.

Parameters:
state - the mastering device state given as integer.
Returns:
MasteringDeviceState representation of the mastering device state given as integer.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.