|
|||||||||
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.MovementAgent
public class MovementAgent
Agent for sending movement commands to robots. There should be one instance of this agent for each robot controlled by RLCS. It reads desired movement from space, and sends corresponding command to the robot. This agent also checks for collisions, and stops the robot, if commend read from space would cause one.
Nested Class Summary | |
---|---|
static class |
MovementAgent.Cfg
|
Nested classes/interfaces inherited from class sk.robotics.rlcs.agentspace.Agent |
---|
Agent.AgentThread, Agent.Hidden, Agent.ThreadCreator, Agent.WorkerThreadGroup |
Field Summary | |
---|---|
protected MovementAgent.Cfg |
cfg
|
Fields inherited from class sk.robotics.rlcs.agentspace.Agent |
---|
logTimeFormat, space, thread, workerThreads |
Constructor Summary | |
---|---|
MovementAgent(MovementAgent.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 |
Field Detail |
---|
protected final MovementAgent.Cfg cfg
Constructor Detail |
---|
public MovementAgent(MovementAgent.Cfg cfg)
Method Detail |
---|
protected void senseSelectAct()
senseSelectAct
in class Agent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |