com.kuka.roboticsAPI.controllerModel.sunrise.conditions
Enum ErrStateDrivesCondition.ErrStateDrives

java.lang.Object
  extended by java.lang.Enum<ErrStateDrivesCondition.ErrStateDrives>
      extended by com.kuka.roboticsAPI.controllerModel.sunrise.conditions.ErrStateDrivesCondition.ErrStateDrives
All Implemented Interfaces:
Serializable, Comparable<ErrStateDrivesCondition.ErrStateDrives>
Enclosing class:
ErrStateDrivesCondition

public static enum ErrStateDrivesCondition.ErrStateDrives
extends Enum<ErrStateDrivesCondition.ErrStateDrives>

Defines the different possible error states.

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.

Enum Constant Summary
Error
          At least one drive has an error.
NoError
          Drives are okay.
Warning
          Robot should stop path maintaining (in cartesian space).
WarningHigh
          Robot should stop path maintaining (in cartesian space) as fast as possible.
WarningLow
          Drives have realized an unusual state but no stop is necessary.
 
Method Summary
 int sunriseValue()
          Return the int representation of the given ErrStateDrives.
static ErrStateDrivesCondition.ErrStateDrives valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ErrStateDrivesCondition.ErrStateDrives[] 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

NoError

public static final ErrStateDrivesCondition.ErrStateDrives NoError
Drives are okay.


Error

public static final ErrStateDrivesCondition.ErrStateDrives Error
At least one drive has an error. The robot should already have been stopped by the drives themselves stopped.


WarningHigh

public static final ErrStateDrivesCondition.ErrStateDrives WarningHigh
Robot should stop path maintaining (in cartesian space) as fast as possible.


Warning

public static final ErrStateDrivesCondition.ErrStateDrives Warning
Robot should stop path maintaining (in cartesian space).


WarningLow

public static final ErrStateDrivesCondition.ErrStateDrives WarningLow
Drives have realized an unusual state but no stop is necessary.

Method Detail

values

public static ErrStateDrivesCondition.ErrStateDrives[] 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 (ErrStateDrivesCondition.ErrStateDrives c : ErrStateDrivesCondition.ErrStateDrives.values())
    System.out.println(c);

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

valueOf

public static ErrStateDrivesCondition.ErrStateDrives 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

sunriseValue

public int sunriseValue()
Return the int representation of the given ErrStateDrives.

Returns:
Returns int representation of the given ErrStateDrives.
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.