sk.robotics.rlcs.agents.beh
Class PathAgent.Cfg

java.lang.Object
  extended by sk.robotics.rlcs.agentspace.Agent.Cfg
      extended by sk.robotics.rlcs.agents.beh.PathAgent.Cfg
Enclosing class:
PathAgent

public static class PathAgent.Cfg
extends Agent.Cfg


Nested Class Summary
 
Nested classes/interfaces inherited from class sk.robotics.rlcs.agentspace.Agent.Cfg
Agent.Cfg.Limited, Agent.Cfg.NoDefault, Agent.Cfg.Required, Agent.Cfg.Validator
 
Field Summary
 java.lang.String blockActualPos
          Name of block with actual position of the robot.
 java.lang.String blockDestination
          Name of block with current destination point of the robot.
 java.lang.Double destinationTolerance
          Tolerance for checking whether we are at destination point, in millimeters.
 java.lang.String path
          The predefined path.
 java.lang.Float priority
          Priority of writing destination points into space.
 
Fields inherited from class sk.robotics.rlcs.agentspace.Agent.Cfg
enabled, id, logLevel, timerPeriodMs, triggers
 
Constructor Summary
PathAgent.Cfg()
           
 
Method Summary
 void validate()
          Parses and validates the path, in addition to inherited validation.
 
Methods inherited from class sk.robotics.rlcs.agentspace.Agent.Cfg
createAgent, equals, getHiddenFields, hideFields
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

destinationTolerance

public java.lang.Double destinationTolerance
Tolerance for checking whether we are at destination point, in millimeters.


path

public java.lang.String path
The predefined path. Points delimited by spaces, commas, semicolons, or combinations. Points are number coordinates delimited by colons. Exapmle: 0:0 0:100 100:100 100:0.


priority

public java.lang.Float priority
Priority of writing destination points into space.


blockActualPos

public java.lang.String blockActualPos
Name of block with actual position of the robot. Used to check whether the robot is already at its current destination place.

Block access:
read
Stored type:
sk.robotics.rlcs.data.Position

blockDestination

public java.lang.String blockDestination
Name of block with current destination point of the robot.

Block access:
read/write
Stored type:
java.awt.geom.Point2D
Constructor Detail

PathAgent.Cfg

public PathAgent.Cfg()
Method Detail

validate

public void validate()
Parses and validates the path, in addition to inherited validation.

Overrides:
validate in class Agent.Cfg