simbad.demo
Class SingleAvoiderDemo.Robot

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

public class SingleAvoiderDemo.Robot
extends Agent


Field Summary
(package private)  RangeSensorBelt bumpers
           
(package private)  javax.vecmath.Point3d coords
           
(package private)  javax.vecmath.Point3d prev
           
(package private)  RangeSensorBelt sonars
           
(package private)  boolean stop
           
(package private)  javax.media.j3d.Transform3D t3d
           
 
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
SingleAvoiderDemo.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

coords

javax.vecmath.Point3d coords

prev

javax.vecmath.Point3d prev

t3d

javax.media.j3d.Transform3D t3d

sonars

RangeSensorBelt sonars

bumpers

RangeSensorBelt bumpers

stop

boolean stop
Constructor Detail

SingleAvoiderDemo.Robot

public SingleAvoiderDemo.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