sk.robotics.rlcs.agents.sim
Class ImageLoaderSimAgent.Cfg

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

public static class ImageLoaderSimAgent.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 blockImage
          Name of block where to store the image.
 java.lang.String blockPositions
          Name of block where to store collection of turtle positions.
 java.lang.Integer imageHeight
          Height of the image to draw.
 java.lang.Integer imageWidth
          Width of the image to draw.
 java.lang.String simdHost
          Host name or IP address where ImgGen runs.
 int simdPort
          TCP port on which ImgGen is listening.
 java.lang.Integer timer2PeriodMs
          Period for second timer, in milliseconds.
 
Fields inherited from class sk.robotics.rlcs.agentspace.Agent.Cfg
enabled, id, logLevel, timerPeriodMs, triggers
 
Constructor Summary
ImageLoaderSimAgent.Cfg()
           
 
Method Summary
 
Methods inherited from class sk.robotics.rlcs.agentspace.Agent.Cfg
createAgent, equals, getHiddenFields, hideFields, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

simdHost

public java.lang.String simdHost
Host name or IP address where ImgGen runs. Not set means localhost.


simdPort

public int simdPort
TCP port on which ImgGen is listening.


imageWidth

public java.lang.Integer imageWidth
Width of the image to draw. Either this or height will be decreased as needed to match the simated desk aspect ratio.


imageHeight

public java.lang.Integer imageHeight
Height of the image to draw. Either this or width will be decreased as needed to match the simated desk aspect ratio.


blockImage

public java.lang.String blockImage
Name of block where to store the image.

Block access:
write
Stored type:
java.awt.image.BufferedImage

blockPositions

public java.lang.String blockPositions
Name of block where to store collection of turtle positions.

Block access:
write
Stored type:
java.util.Collection<sk.robotics.rlcs.data.Position>

timer2PeriodMs

public java.lang.Integer timer2PeriodMs
Period for second timer, in milliseconds. On the standard timer, with id 0x01, the image is generated. On this timer, with id 0x02, the positions are generated.

Constructor Detail

ImageLoaderSimAgent.Cfg

public ImageLoaderSimAgent.Cfg()