simbad.demo
Class LightSearchDemo.Robot

java.lang.Object
  extended by simbad.sim.BaseObject
      extended by simbad.sim.SimpleAgent
          extended by simbad.sim.Agent
              extended by simbad.demo.LightSearchDemo.Robot
Enclosing class:
LightSearchDemo

 class LightSearchDemo.Robot
extends Agent


Field Summary
(package private)  LightSensor sensorLeft
           
(package private)  LightSensor sensorRight
           
 
Fields inherited from class simbad.sim.Agent
frameMeter, kinematicModel, motorsAngularAcceleration, motorsLinearAcceleration
 
Fields inherited from class simbad.sim.SimpleAgent
angularAcceleration, angularVelocity, body, collisionDistance, collisionRadius, dynamicFrictionCoefficient, height, instantRotation, instantTranslation, linearAcceleration, linearVelocity, mass, name, odometer, positionChanged, radius, staticFrictionCoefficient, t3d1, t3d2, t3d3, v1
 
Fields inherited from class simbad.sim.BaseObject
detachedFromSceneGraph, localBounds
 
Constructor Summary
LightSearchDemo.Robot(javax.vecmath.Vector3d position, java.lang.String name)
           
 
Method Summary
 void initBehavior()
          Initialize Agent's Behavior
 void performBehavior()
          Perform one step of Agent's Behavior
 
Methods inherited from class simbad.sim.Agent
asString, create3D, dispose, getAgentInspector, getKinematicModel, getOdometer, getRotationalVelocity, getTranslationalVelocity, getUIPanel, initPreBehavior, performPreBehavior, reset, resetPosition, setAgentInspector, setFrameMeterRate, setKinematicModel, setMotorsAcceleration, setRotationalVelocity, setTranslationalVelocity, setUIPanel
 
Methods inherited from class simbad.sim.SimpleAgent
addActuatorDevice, addSensorDevice, anOtherAgentIsVeryNear, checkCollision, clearVeryNear, collisionDetected, create, distanceToGround, getActuatorDevice, getActuatorList, getCoords, getCoords, getCounter, getHeight, getLifeTime, getMass, getName, getRadius, getSensorDevice, getSensorList, getVeryNearAgent, integratesPositionChange, integratesVelocities, interactionDetected, moveToPosition, moveToPosition, moveToStartPosition, resetDevices, resetPositionAt, setSimulator, updateActuators, updateCounters, updatePosition, updateSensors, veryNear
 
Methods inherited from class simbad.sim.BaseObject
addChild, attach, detach, getCanBeTraversed, getRotationTransform, getTranslationTransform, rotateY, setCanBeTraversed, setColor, setWorld, translateTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sensorLeft

LightSensor sensorLeft

sensorRight

LightSensor sensorRight
Constructor Detail

LightSearchDemo.Robot

public LightSearchDemo.Robot(javax.vecmath.Vector3d position,
                             java.lang.String name)
Method Detail

initBehavior

public void initBehavior()
Initialize Agent's Behavior

Overrides:
initBehavior in class Agent

performBehavior

public void performBehavior()
Perform one step of Agent's Behavior

Overrides:
performBehavior in class Agent