com.kuka.nav.fleet
Enum GraphMotionState

java.lang.Object
  extended by java.lang.Enum<GraphMotionState>
      extended by com.kuka.nav.fleet.GraphMotionState
All Implemented Interfaces:
com.kuka.command.IExecutionState<GraphMotionState>, Serializable, Comparable<GraphMotionState>

public enum GraphMotionState
extends Enum<GraphMotionState>
implements com.kuka.command.IExecutionState<GraphMotionState>

This enum defines the possible execution states of a graph motion.


Enum Constant Summary
CREATED
          The graph motion has been created.
EXECUTING
          The graph motion is being executed and navigation motions are queued to the vehicle.
FINALIZED
          The graph motion has been finished and completely cleaned up.
FINISHED
          The graph motion has been finished (the vehicle will not move any more) but it has not been cleaned up (e.g., the vehicle has not been released by the fleet manager, yet).
PENDING
          Execution of the graph motion has been paused for tentative planning or re-planning and needs to be resumed by the application.
QUEUED
          The graph motion is queued for execution.
WAITING
          Execution of the graph motion cannot be continued until another vehicle has freed an area of conflict (e.g., an intersection).
 
Method Summary
 boolean isExecuting()
           
 boolean isFinalized()
           
 boolean isFinished()
           
 boolean isPending()
          Returns true if this state is PENDING.
 boolean isQueued()
           
static GraphMotionState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GraphMotionState[] 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
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Enum Constant Detail

CREATED

public static final GraphMotionState CREATED
The graph motion has been created.


PENDING

public static final GraphMotionState PENDING
Execution of the graph motion has been paused for tentative planning or re-planning and needs to be resumed by the application.


QUEUED

public static final GraphMotionState QUEUED
The graph motion is queued for execution.


EXECUTING

public static final GraphMotionState EXECUTING
The graph motion is being executed and navigation motions are queued to the vehicle.


WAITING

public static final GraphMotionState WAITING
Execution of the graph motion cannot be continued until another vehicle has freed an area of conflict (e.g., an intersection).


FINISHED

public static final GraphMotionState FINISHED
The graph motion has been finished (the vehicle will not move any more) but it has not been cleaned up (e.g., the vehicle has not been released by the fleet manager, yet).


FINALIZED

public static final GraphMotionState FINALIZED
The graph motion has been finished and completely cleaned up. The vehicle has been released by the fleet manager.

Method Detail

values

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

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

valueOf

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

isQueued

public boolean isQueued()
Specified by:
isQueued in interface com.kuka.command.IExecutionState<GraphMotionState>

isExecuting

public boolean isExecuting()
Specified by:
isExecuting in interface com.kuka.command.IExecutionState<GraphMotionState>

isFinished

public boolean isFinished()
Specified by:
isFinished in interface com.kuka.command.IExecutionState<GraphMotionState>

isFinalized

public boolean isFinalized()
Specified by:
isFinalized in interface com.kuka.command.IExecutionState<GraphMotionState>

isPending

public boolean isPending()
Returns true if this state is PENDING.

Returns:
true if this state is PENDING.


Copyright © 2019. All rights reserved.