simbad.sim
Class KinematicModel

java.lang.Object
  extended by simbad.sim.KinematicModel
Direct Known Subclasses:
DefaultKinematic, DifferentialKinematic

public abstract class KinematicModel
extends java.lang.Object

This is the base class for all agent's kinematic. A Kinematic performs the translation and rotation of the agent under the control of specific parameter.


Constructor Summary
KinematicModel()
           
 
Method Summary
protected abstract  void reset()
          Resets all control parameters to their initial values.
protected abstract  java.lang.String toString(java.text.DecimalFormat format)
          Returns string representation of the kinematicModel
protected abstract  void update(double elapsedSecond, javax.media.j3d.Transform3D rotation, javax.vecmath.Vector3d instantTranslation, javax.vecmath.Vector3d instantRotation)
          Compute instant translation and rotation vectors .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KinematicModel

public KinematicModel()
Method Detail

update

protected abstract void update(double elapsedSecond,
                               javax.media.j3d.Transform3D rotation,
                               javax.vecmath.Vector3d instantTranslation,
                               javax.vecmath.Vector3d instantRotation)
Compute instant translation and rotation vectors .

Parameters:
elapsedSecond - time elapsed
rotation - current rotation
instantTranslation - to store translation
instantRotation - to store rotation

reset

protected abstract void reset()
Resets all control parameters to their initial values.


toString

protected abstract java.lang.String toString(java.text.DecimalFormat format)
Returns string representation of the kinematicModel