cz.cuni.amis.pogamut.udk.agent.navigation
Class UDKPathExecutorWithPlanner<PATH_ELEMENT extends cz.cuni.amis.pogamut.base3d.worldview.object.ILocated>

Package class diagram package UDKPathExecutorWithPlanner
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.agent.navigation.impl.AbstractPathExecutor<PATH_ELEMENT>
      extended by cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutor<PATH_ELEMENT>
          extended by cz.cuni.amis.pogamut.udk.agent.navigation.UDKPathExecutorWithPlanner<PATH_ELEMENT>
Type Parameters:
PATH_ELEMENT -
All Implemented Interfaces:
cz.cuni.amis.pogamut.base.agent.navigation.IPathExecutor<PATH_ELEMENT>, cz.cuni.amis.pogamut.base.agent.navigation.IPathExecutorHelper<PATH_ELEMENT>

public class UDKPathExecutorWithPlanner<PATH_ELEMENT extends cz.cuni.amis.pogamut.base3d.worldview.object.ILocated>
extends cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutor<PATH_ELEMENT>

TO BE IMPLEMENTED!!! TODO: FINISHE THE IMPLEMENTATION

Author:
Jimmy

Field Summary
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutor
mutex, pathElementIndex, pathFuture, previousPathElementIndex
 
Fields inherited from class cz.cuni.amis.pogamut.base.agent.navigation.impl.AbstractPathExecutor
log, state, stuckDetectors
 
Constructor Summary
UDKPathExecutorWithPlanner(UDKBot bot, cz.cuni.amis.pogamut.base.agent.navigation.IPathPlanner<PATH_ELEMENT> pathPlanner)
           
UDKPathExecutorWithPlanner(UDKBot bot, cz.cuni.amis.pogamut.base.agent.navigation.IPathPlanner<PATH_ELEMENT> pathPlanner, IUDKPathNavigator<PATH_ELEMENT> navigator)
           
UDKPathExecutorWithPlanner(UDKBot bot, cz.cuni.amis.pogamut.base.agent.navigation.IPathPlanner<PATH_ELEMENT> pathPlanner, IUDKPathNavigator<PATH_ELEMENT> navigator, Logger log)
           
 
Method Summary
protected  void eventEndMessage()
           
protected  void followPathImpl()
           
protected  void pathComputationFailedImpl()
           
protected  void pathComputedImpl()
          If the path is not zero-length, recalls IUDKPathNavigator.newPath(List) and set the path into the GB2004 via SetRoute.
protected  void stopped()
           
protected  void stuckImpl()
           
protected  void switchToAnotherPathElementImpl()
          Sets the path into the GB2004 via SetRoute whenever switch occurs and the rest of the path is greater than 32 path elements.
protected  void targetReachedImpl()
           
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutor
createState, followPath, getPathElementIndex, getPathFrom, getPathFuture, getPathTo, checkStuckDetectors, pathComputationFailed, pathComputed, preFollowPathImpl, prePathComputationFailed, prePathComputedImpl, preStuckImpl, preSwitchToAnotherPathElementImpl, preTargetReachedImpl, stop, stopImpl, stuck, switchToAnotherPathElement, targetReached
 
Methods inherited from class cz.cuni.amis.pogamut.base.agent.navigation.impl.AbstractPathExecutor
addStuckDetector, getLog, getPath, getPathElement, getState, inState, isExecuting, isPathUnavailable, isStuck, isTargetReached, notInState, removeAllStuckDetectors, removeStuckDetector, setLog, switchState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cz.cuni.amis.pogamut.base.agent.navigation.IPathExecutor
addStuckDetector, getLog, getPath, getPathElement, getState, inState, isExecuting, isPathUnavailable, isStuck, isTargetReached, notInState, removeAllStuckDetectors, removeStuckDetector
 

Constructor Detail

UDKPathExecutorWithPlanner

public UDKPathExecutorWithPlanner(UDKBot bot,
                                  cz.cuni.amis.pogamut.base.agent.navigation.IPathPlanner<PATH_ELEMENT> pathPlanner)

UDKPathExecutorWithPlanner

public UDKPathExecutorWithPlanner(UDKBot bot,
                                  cz.cuni.amis.pogamut.base.agent.navigation.IPathPlanner<PATH_ELEMENT> pathPlanner,
                                  IUDKPathNavigator<PATH_ELEMENT> navigator)

UDKPathExecutorWithPlanner

public UDKPathExecutorWithPlanner(UDKBot bot,
                                  cz.cuni.amis.pogamut.base.agent.navigation.IPathPlanner<PATH_ELEMENT> pathPlanner,
                                  IUDKPathNavigator<PATH_ELEMENT> navigator,
                                  Logger log)
Method Detail

stopped

protected void stopped()
Specified by:
stopped in class cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutor<PATH_ELEMENT extends cz.cuni.amis.pogamut.base3d.worldview.object.ILocated>

followPathImpl

protected void followPathImpl()
Specified by:
followPathImpl in class cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutor<PATH_ELEMENT extends cz.cuni.amis.pogamut.base3d.worldview.object.ILocated>

pathComputedImpl

protected void pathComputedImpl()
If the path is not zero-length, recalls IUDKPathNavigator.newPath(List) and set the path into the GB2004 via SetRoute.

Specified by:
pathComputedImpl in class cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutor<PATH_ELEMENT extends cz.cuni.amis.pogamut.base3d.worldview.object.ILocated>

pathComputationFailedImpl

protected void pathComputationFailedImpl()
Specified by:
pathComputationFailedImpl in class cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutor<PATH_ELEMENT extends cz.cuni.amis.pogamut.base3d.worldview.object.ILocated>

stuckImpl

protected void stuckImpl()
Specified by:
stuckImpl in class cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutor<PATH_ELEMENT extends cz.cuni.amis.pogamut.base3d.worldview.object.ILocated>

switchToAnotherPathElementImpl

protected void switchToAnotherPathElementImpl()
Sets the path into the GB2004 via SetRoute whenever switch occurs and the rest of the path is greater than 32 path elements.

Specified by:
switchToAnotherPathElementImpl in class cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutor<PATH_ELEMENT extends cz.cuni.amis.pogamut.base3d.worldview.object.ILocated>

targetReachedImpl

protected void targetReachedImpl()
Specified by:
targetReachedImpl in class cz.cuni.amis.pogamut.base.agent.navigation.impl.BasePathExecutor<PATH_ELEMENT extends cz.cuni.amis.pogamut.base3d.worldview.object.ILocated>

eventEndMessage

protected void eventEndMessage()


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.