|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsk.robotics.rlcs.agentspace.Agent
sk.robotics.rlcs.agents.robot.MoveAgentBase
sk.robotics.rlcs.agents.robot.ApproachAgent
public class ApproachAgent
Agent for moving a robot towards destination, stored in space. This agent turns the robot until it heads towards the destination point, and then moves it forward until it reaches the destination.
Nested Class Summary | |
---|---|
static class |
ApproachAgent.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.agents.robot.MoveAgentBase |
---|
cfg |
Fields inherited from class sk.robotics.rlcs.agentspace.Agent |
---|
logTimeFormat, space, thread, workerThreads |
Constructor Summary | |
---|---|
ApproachAgent(ApproachAgent.Cfg cfg)
|
Method Summary | |
---|---|
protected Movement |
selectMove(Position pos,
java.awt.geom.Point2D dest)
Abstract method for determining next movement command to send to the robot. |
Methods inherited from class sk.robotics.rlcs.agents.robot.MoveAgentBase |
---|
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 |
---|
public ApproachAgent(ApproachAgent.Cfg cfg)
Method Detail |
---|
protected Movement selectMove(Position pos, java.awt.geom.Point2D dest)
MoveAgentBase
selectMove
in class MoveAgentBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |