com.kuka.nav.fleet
Interface GraphMotionResult

All Superinterfaces:
com.kuka.command.IExecutionResult, com.kuka.nav.command.NavExecutionResult

public interface GraphMotionResult
extends com.kuka.nav.command.NavExecutionResult

Represents the result of a fleet motion.

Can be retrieved using methods GraphMotionContainerBase.getResult() and GraphMotionContainerBase.getResult() or GraphMotionContainer.awaitFinalized() and CoordinatedGraphMotionContainer.awaitFinalized() when container reaches its "finalized" state.


Method Summary
 GraphMotionExecutionException getError()
          Returns exception with which graph motion was finished if some error happened during its execution.
 boolean isCompleted()
          True if graph motion container was ended normally (without errors or was not canceled).
 boolean wasCanceled()
          True if graph motion container was cancelled by user before it was finished.
 
Methods inherited from interface com.kuka.nav.command.NavExecutionResult
hasError, hasTimedOut
 

Method Detail

wasCanceled

boolean wasCanceled()
True if graph motion container was cancelled by user before it was finished.

If this method returns true then isCompleted() will return false.

Specified by:
wasCanceled in interface com.kuka.command.IExecutionResult
Returns:
true if graph motion container was cancelled by user before it was finished.

isCompleted

boolean isCompleted()
True if graph motion container was ended normally (without errors or was not canceled).

Specified by:
isCompleted in interface com.kuka.command.IExecutionResult
Returns:
true if graph motion container was ended normally (without errors or was not canceled).

getError

GraphMotionExecutionException getError()
Returns exception with which graph motion was finished if some error happened during its execution.

Specified by:
getError in interface com.kuka.command.IExecutionResult
Returns:
Returns exception with which graph motion was finished if some error happened during its execution, or null if it was ended correctly.


Copyright © 2019. All rights reserved.