com.kuka.nav.object.handling
Enum FindAndReachState

java.lang.Object
  extended by java.lang.Enum<FindAndReachState>
      extended by com.kuka.nav.object.handling.FindAndReachState
All Implemented Interfaces:
Serializable, Comparable<FindAndReachState>

public enum FindAndReachState
extends Enum<FindAndReachState>

Describes the state of this action.


Enum Constant Summary
APPROACH
          The robot is moving to the approach pose of the object.
APPROACH_ERROR
          Some error occurred moving to the approach pose of the object.
APPROACH_ERROR_TIMEOUT
          The approach pose of the object could not be reached in the given amount of time.
ERROR_LOST_TRACKED_OBJECT
          Lost tracked object .
FINAL_ACTION
          The robot is performing the final action.
FINAL_ACTION_ERROR
          Some error occurred performing the final action.
FINAL_ACTION_ERROR_TIMEOUT
          The final action could not be performed in the given amount of time.
FIND
          The skill is trying to find an object of the specified type.
FIND_ERROR
          Some error occurred finding an object.
FIND_ERROR_LOW_SCORE
          An object was found, but the score is to low.
FIND_ERROR_NO_OBJECT
          No object was found.
FINISHED
          The skill was finished successfully.
PREPARING_ACTION
          The robot is performing the preparing action.
PREPARING_ACTION_ERROR
          Some error occurred performing the preparing action.
PREPARING_ACTION_ERROR_TIMEOUT
          The preparing action could not be performed in the given amount of time.
REACH
          The robot is moving to the end pose.
REACH_ERROR
          Some error occurred moving to the end pose.
REACH_ERROR_TIMEOUT
          The end pose could not be reached in the given amount of time .
UNDEFINED
          The state is undefined.
 
Method Summary
static FindAndReachState fromId(Integer id)
          Returns a FindAndReachState matching the given id.
static FindAndReachState fromString(String name)
          Returns a FindAndReachState matching the given name.
 String toString()
           
static FindAndReachState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FindAndReachState[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNDEFINED

public static final FindAndReachState UNDEFINED
The state is undefined.


ERROR_LOST_TRACKED_OBJECT

public static final FindAndReachState ERROR_LOST_TRACKED_OBJECT
Lost tracked object .


PREPARING_ACTION

public static final FindAndReachState PREPARING_ACTION
The robot is performing the preparing action.


PREPARING_ACTION_ERROR

public static final FindAndReachState PREPARING_ACTION_ERROR
Some error occurred performing the preparing action.


PREPARING_ACTION_ERROR_TIMEOUT

public static final FindAndReachState PREPARING_ACTION_ERROR_TIMEOUT
The preparing action could not be performed in the given amount of time.


FIND

public static final FindAndReachState FIND
The skill is trying to find an object of the specified type.


FIND_ERROR

public static final FindAndReachState FIND_ERROR
Some error occurred finding an object.


FIND_ERROR_NO_OBJECT

public static final FindAndReachState FIND_ERROR_NO_OBJECT
No object was found.


FIND_ERROR_LOW_SCORE

public static final FindAndReachState FIND_ERROR_LOW_SCORE
An object was found, but the score is to low.


APPROACH

public static final FindAndReachState APPROACH
The robot is moving to the approach pose of the object.


APPROACH_ERROR

public static final FindAndReachState APPROACH_ERROR
Some error occurred moving to the approach pose of the object.


APPROACH_ERROR_TIMEOUT

public static final FindAndReachState APPROACH_ERROR_TIMEOUT
The approach pose of the object could not be reached in the given amount of time.


REACH

public static final FindAndReachState REACH
The robot is moving to the end pose.


REACH_ERROR

public static final FindAndReachState REACH_ERROR
Some error occurred moving to the end pose.


REACH_ERROR_TIMEOUT

public static final FindAndReachState REACH_ERROR_TIMEOUT
The end pose could not be reached in the given amount of time .


FINAL_ACTION

public static final FindAndReachState FINAL_ACTION
The robot is performing the final action.


FINAL_ACTION_ERROR

public static final FindAndReachState FINAL_ACTION_ERROR
Some error occurred performing the final action.


FINAL_ACTION_ERROR_TIMEOUT

public static final FindAndReachState FINAL_ACTION_ERROR_TIMEOUT
The final action could not be performed in the given amount of time.


FINISHED

public static final FindAndReachState FINISHED
The skill was finished successfully.

Method Detail

values

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

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

valueOf

public static FindAndReachState 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

toString

public String toString()
Overrides:
toString in class Enum<FindAndReachState>

fromId

public static FindAndReachState fromId(Integer id)
Returns a FindAndReachState matching the given id.

Parameters:
id - the id of the state.
Returns:
the corresponding FindAndReachState

fromString

public static FindAndReachState fromString(String name)
Returns a FindAndReachState matching the given name.

Parameters:
name - the name of the state.
Returns:
the corresponding FindAndReachState


Copyright © 2019. All rights reserved.