org.commonreality.sensors.motor.interpolator
Class InterpolatorEvent
java.lang.Object
org.commonreality.sensors.motor.interpolator.InterpolatorEvent
public class InterpolatorEvent
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterpolatorEvent
public InterpolatorEvent(MovementCommand command,
double startTime,
double endTime)
getStartTime
public double getStartTime()
getEndTime
public double getEndTime()
getCommand
public MovementCommand getCommand()
update
public final void update(double currentTime)
- returns a collection of delta trackers for all the efferents that have been
updated
- Parameters:
currentTime -
getLastUpdateTime
public double getLastUpdateTime()
abort
public final void abort()
- flag this as needing to be aborted
hasAborted
public boolean hasAborted()
hasStarted
public boolean hasStarted()
hasCompleted
public boolean hasCompleted()