org.commonreality.sensors.motor.interpolator
Interface IInterpolator

All Known Implementing Classes:
BasicInterpolator

public interface IInterpolator


Method Summary
 void abort(IAgentObject agent, MovementCommand command)
           
 void start(IAgentObject agent, MovementCommand command)
           
 double update(double currentTime)
          update all the pending movements.
 

Method Detail

start

void start(IAgentObject agent,
           MovementCommand command)

abort

void abort(IAgentObject agent,
           MovementCommand command)

update

double update(double currentTime)
update all the pending movements. the value returned is the time of the next start/complete of the earliest event. It will return NaN if there are no events pending

Parameters:
currentTime -
Returns: