sk.robotics.rlcs.agents.robot
Class IdentifyAgent
java.lang.Object
sk.robotics.rlcs.agentspace.Agent
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.
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 |
IdentifyAgent
public IdentifyAgent(IdentifyAgent.Cfg cfg)
senseSelectAct
protected void senseSelectAct()
- Overrides:
senseSelectAct
in class Agent