sk.robotics.rlcs.agents.robot
Class IdentifyAgent

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

public class IdentifyAgent
extends Agent

Agent for identifying a robot in the detection data acquired from image recognition.

If we have exclusive connection to the robot, this agent turns the robot to recognize it in the detection data. If we don't have exclusive access to the robot, it is still possible to identify it, but it has to be the only one remaining unidentified robot on the table.

Once the robot is identified, this agent tries to track its position by comparing actual position with positions of detected robots. For this to work, OdometryAgent is used in cooperation.


Nested Class Summary
static class IdentifyAgent.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
IdentifyAgent(IdentifyAgent.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

IdentifyAgent

public IdentifyAgent(IdentifyAgent.Cfg cfg)
Method Detail

senseSelectAct

protected void senseSelectAct()
Overrides:
senseSelectAct in class Agent