com.kuka.roboticsAPI.controllerModel.sunrise
Enum MotionEvents.MotionEvent

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

public static enum MotionEvents.MotionEvent
extends Enum<MotionEvents.MotionEvent>

Event that comes from motion (ipo) modules.

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
MOTION_BCO_INVALID
          Motion can't be started because robot is not on path (not in start position) and BCO motion is required.
MOTION_ERROR
          Motion detected an error during execution.
MOTION_INFO
          Motion is fine, just gave some information.
NO_EVENT
          Not a motion event.
 
Method Summary
static MotionEvents.MotionEvent valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MotionEvents.MotionEvent[] 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

NO_EVENT

public static final MotionEvents.MotionEvent NO_EVENT
Not a motion event.


MOTION_BCO_INVALID

public static final MotionEvents.MotionEvent MOTION_BCO_INVALID
Motion can't be started because robot is not on path (not in start position) and BCO motion is required.


MOTION_ERROR

public static final MotionEvents.MotionEvent MOTION_ERROR
Motion detected an error during execution.


MOTION_INFO

public static final MotionEvents.MotionEvent MOTION_INFO
Motion is fine, just gave some information.

Method Detail

values

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

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

valueOf

public static MotionEvents.MotionEvent 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


Copyright © 2019. All rights reserved.