sk.robotics.rlcs.agents.beh
Class FollowAgent

java.lang.Object
  extended by sk.robotics.rlcs.agentspace.Agent
      extended by sk.robotics.rlcs.agents.beh.FollowAgent
All Implemented Interfaces:
java.lang.Runnable

public class FollowAgent
extends Agent

Agent which moves a robot towards another robot. It just copies position of one robot to destination of another one. ApproachAgent (with optional AvoidAgent) should be used to realize the actual movement.


Nested Class Summary
static class FollowAgent.Cfg
           
 
Nested classes/interfaces inherited from class sk.robotics.rlcs.agentspace.Agent
Agent.AgentThread, Agent.Hidden, Agent.ThreadCreator, Agent.WorkerThreadGroup
 
Field Summary
 
Fields inherited from class sk.robotics.rlcs.agentspace.Agent
logTimeFormat, space, thread, workerThreads
 
Constructor Summary
FollowAgent(FollowAgent.Cfg cfg)
           
 
Method Summary
protected  void senseSelectAct()
           
 
Methods inherited from class sk.robotics.rlcs.agentspace.Agent
cleanup, exit, getConfig, getIdleTime, getWorkerThreadGroup, isAlive, kill, log, log, log, log, log, run, senseSelectAct, setLogLevel, setPeriodicTrigger, setPeriodicTrigger, sleep, start, startup, toString, trigger, trigger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FollowAgent

public FollowAgent(FollowAgent.Cfg cfg)
Method Detail

senseSelectAct

protected void senseSelectAct()
Overrides:
senseSelectAct in class Agent