sk.robotics.rlcs.agents.robot
Class OdometryAgent

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

public class OdometryAgent
extends Agent

Agent for estimating robots position from odometry. Cooperates with IdentifyAgent to always have actual position of the robot as accurate as possible. Never resets odometry of the robot control object, so it is still usable by other agents as well.

Actual position is modified according to odometry only if no collision is detected, otherwise odometry is ignored.


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

OdometryAgent

public OdometryAgent(OdometryAgent.Cfg cfg)
Method Detail

senseSelectAct

protected void senseSelectAct()
Overrides:
senseSelectAct in class Agent